Skip to content

Commit d96478d

Browse files
authored
Bug fix for overwriting of LCZ urban cells in LU_INDEX with default USGS urban category. (#2153)
TYPE: bug fix KEYWORDS: LCZ, USGS SOURCE: Lukas Pilz (Heidelberg University) DESCRIPTION OF CHANGES: Problem: As shown in #2152, for USGS data the wrfinput LU_INDEX field has major differences to the met_em LU_INDEX field. Cells in LU_INDEX which have LCZ categories (>30) were overwritten with the default USGS urban category (1) where FRC_URB2D > 0.5. Solution: Add a check similar to the MODIS case above. ISSUE: Fixes #2152 LIST OF MODIFIED FILES: M dyn_em/module_initialize_real.F TESTS CONDUCTED: 1. Did local tests, the only differences between wrfinput and met_em which remain are changing LU_INDEX 28 to 16, which is a water body redesignation as to my knowledge. 2. Jenkins tests have passed. RELEASE NOTE: Bug fix for wrfinput where LCZ urban cells in LU_INDEX were overwritten with default USGS urban category.
1 parent 6d1db68 commit d96478d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dyn_em/module_initialize_real.F

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3154,7 +3154,7 @@ SUBROUTINE init_domain_rk ( grid &
31543154
(grid%ivgtyp(i,j).NE.13 .AND. grid%ivgtyp(i,j).NE.24 .AND. grid%ivgtyp(i,j).NE.25 .AND. grid%ivgtyp(i,j).NE.26 .AND. grid%ivgtyp(i,j).LT.30)) grid%ivgtyp(i,j)=13
31553155
ELSE IF ( MMINLU == "USGS" ) THEN
31563156
IF ( grid%FRC_URB2D(i,j) .GE. 0.5 .AND. &
3157-
grid%ivgtyp(i,j).NE.1 ) grid%ivgtyp(i,j)=1
3157+
grid%ivgtyp(i,j).NE.1 .AND. grid%ivgtyp(i,j).LT.30) grid%ivgtyp(i,j)=1
31583158
ENDIF
31593159

31603160
IF ( grid%FRC_URB2D(i,j) == 0. ) THEN

0 commit comments

Comments
 (0)