How to change water body completely in static data

This post was from a previous version of the WRF&MPAS-A Support Forum. Please do not add new replies here and if you would like the thread moved out of the Historical / Archive section then contact us, making sure to include the link of the thread to be moved.


New member
Hi WRF forum,
I changed all Water(17) to Croplands (12) and I have writed the new static data to the geogrid binary format.
By the way, I choosed IGBP-Modified MODIS 20-category Land Use Categories.
LANDMASK and LANDUSEF changed correspondingly.
But the GREENFRAC didn't change correspondingly in geogrid.exe.
It is still the default GREENFRAC.
In attachments, I added my LU_INDEX & GREENFRAC to express my problem more clearly.
Please tell me how to change water body completely.
Thank you!


    62.3 KB · Views: 871
    95.1 KB · Views: 871

Ming Chen

Staff member
I don't know what approach you used to change the land use point from water to cropland. But I suppose that you have information what grids are changed. You can change greenfrac from zero to the value you want to specify at this points. Note that greefrac is a 3D variable with the dimension of (nmonth, nlat, nlon), nmonth=12, nlat and nlon are the grid numbers in north-south and east-west direction.