-
Notifications
You must be signed in to change notification settings - Fork 812
Description
Describe the bug
When using USGS landuse data augmented with LCZ information by W2W, the LU_INDEX field in the wrfinput file is different from the one in the met_em file (cf. screenshots).
I think the reason for this is the following lines of code from 2018 (before LCZ were introduced):
https://github.com/wrf-model/WRF/blame/d66e442fccc04111067e29274c9f9eaccc3cef28/dyn_em/module_initialize_real.F#L3155-L3158
To Reproduce
Steps to reproduce the behavior:
- Use compiler and version 'any, I use gcc+openmpi and v4.3.3'
- Use namelist options 'use_wudapt_lcz=1, num_land_cat=41 and surface_input_source=3 (default)'
- Output is 'cf. Screenshots'
Expected behavior
I would expect the LCZ urban information not to be overwritten in the LU_INDEX field of the wrfinput file and to be the same as in the met_em file.
Especially since the LU_INDEX information is used as the IVGTYP field in phys/module_sf_noahmpdrv.F and for determining urban type and morphology in phys/module_sf_urban.F. This urban type then, determined from IVGTYP is then used in phys/module_sf_bep.F to get the urban parameters.

