-
Notifications
You must be signed in to change notification settings - Fork 680
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
Shortwave radiation balance at the wall missing reflected direct and diffuse radiation reflection from the wall terms. #2101
base: release-v4.6.1
Are you sure you want to change the base?
Conversation
…he wall radiation abalance
Could you also attach your pdf file (or snapshot) you sent to me that showing the equation and code difference? |
@cenlinhe I have attached the document. |
@chenghaow @tslin2 @xuelingbo This is the bug we discussed through emails in the last few days, please also review this proposed bug fix to see if it looks good to you when you have time. Thank you! We need multiple approvals from urban model experts. |
The regression test results:
|
The fix looks good to me, considering longwave included radiation reflection. |
@cenlinhe Would this bug fix be ready for 4.6.1 release? The release could be a few weeks away. |
yes, I think so. I will review and approve it next week. |
The fix looks good to me |
@cenlinhe Can you review this PR? |
Shortwave radiation_Single Layer.pdf
@cenlinhe
In this pull request, we corrected the shortwave radiation balance at the wall, particularly the reflected direct and diffuse radiation reaching the wall. A couple of terms that represent contribution from the reflected radiation from walls were absent in the code. We followed the formulations (equation 8 from Kusaka at. al. (2001))and corrected the shortwave radiation balance.
TYPE: Bug fix
KEYWORDS: Shortwave radiation balance, reflected radiation, shadowing effect, single-layer urban canopy model (SLUCM), direct and diffuse radiation.
SOURCE: Parag Joshi, Katia Lamer (Brookhaven National Laboratory)
DESCRIPTION OF CHANGES:
Problem: The single-layer urban canopy model missed a couple of terms that represent the direct and diffuse radiation reaching at a wall reflected from the other wall. It leads to an inaccurate calculation of the shortwave radiation at the walls.
Solution: Mathematical formulation by Kusaka et. al. (2001) was followed to verify the equations used in the SLUCM module in WRF. The equations are corrected.
ISSUE: For use when this PR closes an issue. Fixes #123
LIST OF MODIFIED FILES: module_sf_urban.F
TESTS CONDUCTED:
RELEASE NOTE: Contribution from the reflected direct and diffuse shortwave radiation from the wall was missing in the code. Present pull request fix the error which leads to underestimation of SWR at the wall.