Hi all,
I am working to incorporate the POLARIS dataset into WRF-Hydro for high resolution soil moisture simulations. I would like to use all six layers from it instead of e.g. averaging multiple layers together or setting all layers to the top layer. So far I've modified the hydro and hrldas namelists, and modified the wrf_hydro_gis_preprocessor Python scripts and my own scripts appropriately to create six layer inputs. Despite these changes, the outputs in LDASOUT are still four layers.
I traced down the output behavior to hardcoded 4 layers in the ldas_output code and initLdasDict and modified those to use nsoil from the namelist and achieved some outputs. However, now additional issues pop up such as getting "WARNING (SSTEP): Negative smc adjustment" messages in the first timestep, despite having positive SMC for all layers in wrfinput. From what I can tell this is due to using -DSPATIAL_SOIL=1. My
soil_properties.nc does have all six layers in, but the code loading each property is:
do isoil = 1,4
...
end do
I've found other instances of the 4 layers hardcoded, e.g. loading DZS with count=(/4/).
Are there any other places where I will run into this?
Thanks and Happy New Year,
Max