Ignore:
Timestamp:
Aug 31, 2021, 8:21:11 AM (3 years ago)
Author:
emillour
Message:

Generic GCM:
Fix in phyetat0, only call soil_settings if flag callsoil is true.
GM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/phyetat0_mod.F90

    r2299 r2557  
    2121                     inquire_dimension, inquire_dimension_length
    2222  use slab_ice_h, only: noceanmx
    23   use callkeys_mod, only: CLFvarying,surfalbedo,surfemis
     23  use callkeys_mod, only: CLFvarying,surfalbedo,surfemis, callsoil
    2424  use nonoro_gwd_ran_mod, only: du_nonoro_gwd, dv_nonoro_gwd, &
    2525                                east_gwstress, west_gwstress
     
    388388  ! Call to soil_settings, in order to read soil temperatures,
    389389  ! as well as thermal inertia and volumetric heat capacity
    390   call soil_settings(nid_start,ngrid,nsoil,tsurf,tsoil,indextime)
     390  if (callsoil) then
     391    call soil_settings(nid_start,ngrid,nsoil,tsurf,tsoil,indextime)
     392  endif
    391393endif ! of if (startphy_file)
    392394
Note: See TracChangeset for help on using the changeset viewer.