NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
181 stars 139 forks source link

Read ZSOIL8 from HYDRO_nlist if sys_cpl ne 1 #578

Open danrosen25 opened 3 years ago

danrosen25 commented 3 years ago

TYPE: bug fix

KEYWORDS: ZSOIL8, HYDRO_nlist, config

SOURCE: @danrosen25 NCAR

DESCRIPTION OF CHANGES: This fixes an issue where the user cannot specify the soil depths (a.k.a. soil layer thickness) in configuration files during coupled runs. If the sys_cpl type does not equal 1 the initialization routine will read ZSOIL8 from the HYDRO_nlist namelist in the hydro.namelist file. This may is not fully backwards compatible because previous coupling applications may have relied on hardcoded soil depths.

ISSUE: #571

TESTS CONDUCTED: I tested using sys_cpl=2 in a coupled LIS-WRFHYDRO application using NUOPC infrastructure.

Checklist