-
Notifications
You must be signed in to change notification settings - Fork 46
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
Implementation of terrain grid with STF smoothing #1368
Comments
@ewquon I agree with your findings and will test this modification on the WOA problem to verify it generates an appropriate grid. |
I imagined you'd see a larger difference if you, say, doubled the height of the hill. |
See PR 1377 where correction was made. |
Fixed in #1807, including divide by 0 handling (encountered when STF smoothing is applied with flat terrain) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ERF/Source/Utils/TerrainMetrics.cpp
Lines 205 to 210 in 1b743c7
Appears to follow Eqns 11 and 9 from Klemp 2011 (https://journals.ametsoc.org/view/journals/mwre/139/7/mwr-d-10-05046.1.xml), respectively. However, line 205 is missing any dependence on the actual terrain, i.e., the maximum terrain height (max_h).
The text was updated successfully, but these errors were encountered: