Microphysics always initialized with hydrostatic=.true.
Opened this issue · 2 comments
When running without inline microphysics the GFS layer initializes the microphysics by creating a Statein
and then passing Statein(1)%dycore_hydrostatic
to gfdl_cld_mp_init
. The problem with this is that Statein%dycore_hydrostatic is set to
.true.` by default and isn't overwritten with the actual model configuration before initializing the microphysics:
SHiELD_physics/GFS_layer/GFS_driver.F90
Line 221 in b285c9d
SHiELD_physics/GFS_layer/GFS_typedefs.F90
Line 1361 in b285c9d
This causes the parameters such as c_air
to be set to their hydrostatic values instead of their nonhydrostatic values, and overrides do_sedi_w
with .false.
regardless of what is in the namelist.
I think this was fixed by #26.