Implementation of terrain grid with STF smoothing
Closed this issue · 5 comments
ewquon commented
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).
AMLattanzi commented
@ewquon I agree with your findings and will test this modification on the WOA problem to verify it generates an appropriate grid.
AMLattanzi commented
ewquon commented
I imagined you'd see a larger difference if you, say, doubled the height of the hill.
AMLattanzi commented
See PR 1377 where correction was made.