-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in computation of outputs SNOWENERGY and SOILENERGY for glacierized grid cells #140
Comments
You may refer https://github.com/NCAR/hrldas/blob/master/tutorial/Note4_Code_Development_GitHub_Pull_Request.ipynb to the develop or NCAR:release-v4.6-WRF branch. |
Thank you, Emily. Does this bug affect the default |
As it relates to an incorrect initialization and update of HCPCT in the driving module, I think it is independent of any of the optional treatments, however it only impacts the diagnostics SNOWENERGY and SOILENERGY in glacierized grid cells. |
In WRF v4.6.0, the heat capacity variable HCPCT is not initialized in module_sf_noahmpdrv.F, nor is it passed to/return from the call to noahmp_glacier in module_sf_noahmp_glacier.F. As a result, the computations for the output variables SNOWENERGY and SOILENERGY at L1380-1394 are not correct for glacierized grid cells, and simulations are not reproducible.
If you would like a PR, can you please let me know for which branch exactly? Thanks.
The text was updated successfully, but these errors were encountered: