Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined WDR and direction logic for urban option 1 (#1689)
TYPE: bug fix KEYWORDS: urban model WDR undefined before use SOURCE: internal, reported by CWB, Taiwan DESCRIPTION OF CHANGES: Problem: WDR was used before being defined in urban model. This is a wind direction used in computing the urban roughness length for local surface flux calculations. Another problem was that logic for some directions was wrong in selecting the correct one of 4 frontal area directions. Solution: Uncomment WDR calculation (assumes grid is roughly y direction northwards) and correct direction if-tests. LIST OF MODIFIED FILES: M phys/module_sf_urban.F TESTS CONDUCTED: Compile only - recommend test for effect The Jenkins tests are all passing. RELEASE NOTE: minor fix for urban wind directions when using detailed urban morphology maps.
- Loading branch information