-
Notifications
You must be signed in to change notification settings - Fork 320
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
Make Noah-MP-only static fields optional in the init_atmosphere core #1239
base: develop
Are you sure you want to change the base?
Make Noah-MP-only static fields optional in the init_atmosphere core #1239
Conversation
Prior to this commit, the soilcomp and soilcl{1,2,3,4} fields needed only by the Noah-MP scheme were required in all static files read by the init_atmosphere core. In cases where the Noah-MP scheme will not be used when running the atmosphere core, it would be desirable to not require these Noah-MP-only fields. This commit introduces a new namelist option and package in the init_atmosphere core to permit the use of static files that do not contain soilcomp and soilcl{1,2,3,4}. 1) The new config_noahmp_static namelist option in the &data_sources namelist group now determines whether the Noah-MP-only static fields will be allocated, read, computed, and written in the init_atmosphere core. This namelist option defaults to true, yielding the default behavior of the init_atmosphere_model program prior to this commit. 2) The new noahmp package, which is active if and only if config_noahmp_static is true, controls the allocation, reading, and writing of the Noah-MP-only static fields. 3) In the init_atm_static routine, which is called when config_static_interp is true, the soilcomp and soilcl{1,2,3,4} fields are computed only if config_noahmp_static is true.
The down point of adding the option config_noahmp_static is the need to recompute the static fields if we want to use the Noah-MP or Noah land surface schemes. What was the motivation for the PR? Thanks. |
@ldfowler58 There is at least one group that is using their own software (as I understand it) to produce static files, which they would then like to use with the We could make the new |
Tested this with the |
Thanks to abishek for testing the config_noahmp_static nml option. Can we rename the package noahmp to sf_noahmp_in for consistency with the package name in ./core_atmosphere/Registry.xml? As Michael knows, I am in the midst of reviewing the implementation of the EPA PX land surface scheme which requires additional static fields which are not needed with Noah or Noah-MP. I was wondering if we could, fro the get go, have a more generic way to do this so that we do not multiply the config_*_static options? For instance, we could have something like config_lsm_static = "sf_noahmp" or config_lsm_static = "sf_px" and move the relevant sourcecode using CASE(' ')? Would this make sense? Thanks. |
For the Regarding the generalization of static field selection, how would we specify that we want both Noah-MP and PX static fields? |
The "sf_" prefix refers to all the parameterizations dealing with surface processes (land surface schemes, surface layer schemes). I was simply advocating for consistency in the name of packages between those used in core_init_atmosphere and core_atmosphere. In response to "Regarding the generalization of static field selection, how would we specify that we want both Noah-MP and PX static fields?", and to date, the specific fields required to run Noah-MP (soilcomp, etc...) are not used in the PX-LSM. And vice versa, the specific fields required to run PX (soiltypef, lai12m, etc...) are not used in the Noah LSM. Just suggestions, of course. |
This PR introduces changes that make Noah-MP static fields optional in the
init_atmosphere
core.Previously, the
soilcomp
andsoilcl{1,2,3,4}
fields needed only by the Noah-MP scheme were required in all static files read by theinit_atmosphere
core. In cases where the Noah-MP scheme will not be used when running theatmosphere
core, it would be desirable to not require these Noah-MP-only fields.Now, a new namelist option and package in the
init_atmosphere
core permit the generation and the use of static files that do not containsoilcomp
andsoilcl{1,2,3,4}
.The new
config_noahmp_static
namelist option in the&data_sources
namelist group determines whether the Noah-MP-only static fields will be allocated, read, computed, and written in theinit_atmosphere
core. This namelist option defaults totrue
, yielding the default behavior of theinit_atmosphere_model
program prior to this commit.The new
noahmp
package, which is active if and only ifconfig_noahmp_static
istrue
, controls the allocation, reading, and writing of the Noah-MP-only static fields.In the
init_atm_static
routine, which is called whenconfig_static_interp
istrue
, thesoilcomp
andsoilcl{1,2,3,4}
fields are computed only ifconfig_noahmp_static
is true.