Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphysics always initialized with hydrostatic=.true. #20

Open
oelbert opened this issue Apr 28, 2023 · 2 comments
Open

Microphysics always initialized with hydrostatic=.true. #20

oelbert opened this issue Apr 28, 2023 · 2 comments

Comments

@oelbert
Copy link

oelbert commented Apr 28, 2023

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:

call gfdl_cld_mp_init (Model%input_nml_file, Init_parm%logunit, Statein(1)%dycore_hydrostatic)

Statein%dycore_hydrostatic = .true.

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.

@lharris4
Copy link
Contributor

lharris4 commented Apr 28, 2023 via email

@spencerkclark
Copy link
Member

I think this was fixed by #26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants