NCAR / wrf_hydro_nwm_public

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

Don't reset LSM accumulations if `RSTRT_SWC` flag is set to 'no reset' #752

Closed rcabell closed 5 days ago

rcabell commented 4 months ago

TYPE: bug fix

KEYWORDS: NoahMP, accumulations, restarts

SOURCE: NCAR Internal

DESCRIPTION OF CHANGES: Previously, if the RSTRT_SWC flag was set to 0 in the hydro.namelist file, only Hydro accumulations were preserved, but LSM accumulations were still reset.

TESTS CONDUCTED:

Ran with and without fix, using Croton test case, with daily restarts. When comparing LDASOUT and RESTART files, accumulation field increase correctly for the following variables:

UGDRNOFF, ACCET, SFCRUNOFF, UDRUNOFF, ACCPRCP, ACCECAN, ACCEDIR, ACCETRAN

as expected, during the initial 24 hours, no differences occur.