Best Practices for namelist.wps Settings¶
See below the default namelist.wps file used for running the WRF Preprocessing system (WPS), which includes geogrid.exe, ungrib.exe, and metgrid.exe. Further below are namelist parameter descriptions and suggested practices, along with some additional options that could be useful.
In the below file, some parameters are domain-dependent and therefore expect a setting for each domain, and others only expect a single entry. The number of domains used is determined by max_dom, whose settings tells WPS how many domains to process. It will only read the entries for the number of columns that match max_dom.
Important
Do not remove information in additional columns and Do not add multiple settings for single setting parameters. Doing so will create a running error.
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2019-09-04_12:00:00','2019-09-04_12:00:00',
end_date = '2019-09-06_00:00:00','2019-09-04_12:00:00',
interval_seconds = 10800
/
&geogrid
parent_id = 1, 1,
parent_grid_ratio = 1, 3,
i_parent_start = 1, 53,
j_parent_start = 1, 25,
e_we = 150, 220,
e_sn = 130, 214,
geog_data_res = 'default','default',
dx = 15000,
dy = 15000,
map_proj = 'lambert',
ref_lat = 33.00,
ref_lon = -79.00,
truelat1 = 30.0,
truelat2 = 60.0,
stand_lon = -79.0,
geog_data_path = '/glade/work/wrfhelp/WPS_GEOG/'
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/
&metgrid
fg_name = 'FILE'
/
&geogrid Namelist Record¶
parameter name |
Description |
Notes & Best Practice(s) |
---|---|---|
parent_id |
The domain number (ID) of each domain’s parent |
The coarsest domain (d01) should be set to 1 |
parent_grid_ratio |
The nesting ratio relative to the domain’s parent |
parent_grid_ratio should be set to 1 for the coarsest domain (domain 01) |
i_parent_start |
The parent domain coordinates at the x and y (or i and j) location that overlaps the starting point for the nest in the i and j directions |
The start location for all domains is always in the lower left or SW corner of the domain |
e_we |
Each domain’s full west-east and south-north dimensions (or grid spaces) |
For nested domains e_we and e_sn must be one greater than an integer multiple of the nest’s parent_grid_ratio. This ensures that a nest always starts and ends on a parent grid point. (i.e., e_we=n*parent_grid_ratio+1 for some integer n) |
geog_data_res |
Resolution of input static geographical data to be used for geogrid.exe. The default setting uses MODIS IGBP 21-category data |
When using USGS static terrestrial data, instead of the default MODIS data, geog_data_res should be specified as: geog_data_res = ‘usgs_30s+default’, ‘usgs_30s+default’ |
dx |
Grid distance (or grid resolution) in the x and y directions |
This is given in meters for the Lambert, Polar, and Mercator projections, and in degrees for the ‘lat-lon’ projection |
map_proj |
A character string specifying the projection of the simulation domain; accepted projections are ‘lambert’, ‘polar’, ‘mercator’, and ‘lat-lon.’ |
All domains must use the same projection. |
ref_lat |
Real values specifying the latitude and longitude of a location whose (i,j) location in the simulation is known |
It is recommended that these are set to the center of the coarse domain - To change this, ref_x and ref_y must also be specified - see the WPS chapter of the WRF User’s Guide for more information. |
truelat1 |
A real value specifying the first true latitude for the Lambert conformal conic projection, or the true latitude for the polar stereographic projection, or the Mercator projection |
|
truelat2 |
A real value specifying the second true latitude for the Lambert conformal conic projection |
|
stand_lon |
A real value specifying the longitude that is parallel with the y-axis in conic and azimuthal projections |
If this longitude is set to the same value as ref_lon, the coarsest domain will be centered. |
geog_data_path |
A string that represents the location where the static geographical data is stored |
It is best to set this to the absolute path, as occasionally problems can occur when using relative paths or symbolic links. |
opt_geog_tbl_path |
A string representng the location where the desired GEOGRID.TBL is stored |
This is an optional parameter that can be useful when using shared compiled code. |
&ungrib Namelist Record¶
parameter name |
Description |
Notes & Best Practice(s) |
---|---|---|
out_format |
The file format of the intermediate file |
For WRF-ARW this should always be set to WPS |
prefix |
The prefix that will be assigned to intermediate files (produced from the ungrib.exe program) |
This can be left set to the default FILE or can be changed to any name preferred |
&metgrid Namelist Record¶
parameter name |
Description |
Notes & Best Practice(s) |
---|---|---|
fg_name |
The prefix of the intermediate files |
To combine multiple data sources, list all prefixes (e.g., fg_name = ‘FILE’,’SST’) |
constants_name |
A list of character strings specifying the path and full filename of ungribbed data files which are time-invariant |
The path may be relative or absolute |
opt_metgrid_tbl_path |
A string representing the location where the desired METGRID.TBL is stored |
This is an optional parameter that can be useful when using shared compiled code. |
opt_output_from_metgrid_path |
A string representing the location where metgrid output (met_em* files) should be stored |
This is an optional namelist parameter that can be useful when running in a shared directory, when permission settings do not allow writing to the WPS/ directory, of if sufficient storage is not available to write the files to the WPS/ directory. |