You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update how fogdes identifies land use type (#2110)
TYPE: bug fix
KEYWORDS: grav_setting, LCZ
SOURCE: Adam Dury (WeatherQuest)
DESCRIPTION OF CHANGES:
Problem:
WRF crashes when grav_settling is greater than 0 and wudapt_lcz = 1 due to the historical code using hard coded values for land categories to detect which land use type is being used. This isn't the case now so
needed to update to use a variable with actual land use category type so the grav_settling code would work when wudapt_lcz was turned on and the nlcat wasnt the same for each land use type.
Solution:
Changed the if statements to use mminlu rather than nlcat so that the grav_settling option knows what land use dataset is being used. Corrected the error message to go into rsl.error files rather than rsl.out files
LIST OF MODIFIED FILES:
phys/module_sf_fogdes.f
phys/module_surface_driver.f
TESTS CONDUCTED:
1. Tested with wudapt_lcz on and off with all option of grav_settling.
2. The Jenkins tests are all passing.
RELEASE NOTE: Updated grav_settling code to better recognize the land use type so it doesn't crash. Also update the error message if it does crash to go into the rsl.error files rather than rsl.out files.
0 commit comments