Can I change landuse type codes?

Moderator: NCAR/MMM

Posts: 2433
Joined: Wed Feb 14, 2018 9:21 pm

Can I change landuse type codes?

Post by kwerner » Thu Aug 30, 2018 12:40 am

As an example, look n dyn_em/module_initialize_real.F, around line 1627. Change the line beginning with grid%, from:

! Land use assignment
DO j = jts, MIN(jde-1,jte)
DO i = its, MIN(ide-1,ite)
grid%lu_index(i,j) = grid%ivgtyp(i,j)


grid%ivgtyp(i,j) = grid%lu_index(i,j)

Then recompile the code (no need to do a 'clean -a' or reconfigure, since you are not altering the Registry file). Check wrfinput_d01 after running real.exe. It should not have any effect on other fields in the input file.


Return to “FAQ: Revision of Landuse Type/Terrain in WPS”