Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

How to change water body completely in static data

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


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
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.