25.12.2012 Views

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

WRF ARW User's Guide - MMM - UCAR

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WPS<br />

-rw-r--r-- 1 4745324 geo_em.d02.nc<br />

drwxr-xr-x 4 4096 geogrid<br />

lrwxrwxrwx 1 23 geogrid.exe -> geogrid/src/geogrid.exe<br />

-rw-r--r-- 1 11169 geogrid.log<br />

-rwxr-xr-x 1 1328 link_grib.csh<br />

drwxr-xr-x 3 4096 metgrid<br />

lrwxrwxrwx 1 23 metgrid.exe -> metgrid/src/metgrid.exe<br />

-rw-r--r-- 1 1094 namelist.wps<br />

-rw-r--r-- 1 1987 namelist.wps.all_options<br />

-rw-r--r-- 1 1075 namelist.wps.global<br />

-rw-r--r-- 1 652 namelist.wps.nmm<br />

-rw-r--r-- 1 4786 README<br />

drwxr-xr-x 4 4096 ungrib<br />

lrwxrwxrwx 1 21 ungrib.exe -> ungrib/src/ungrib.exe<br />

drwxr-xr-x 3 4096 util<br />

Step 2: Extracting meteorological fields from GRIB files with ungrib<br />

Having already downloaded meteorological data in GRIB format, the first step in<br />

extracting fields to the intermediate format involves editing the “share” and “ungrib”<br />

namelist records of the namelist.wps file – the same file that was edited to define the<br />

simulation domains. An example of the two namelist records is given below.<br />

&share<br />

wrf_core = '<strong>ARW</strong>',<br />

max_dom = 2,<br />

start_date = '2008-03-24_12:00:00','2008-03-24_12:00:00',<br />

end_date = '2008-03-24_18:00:00','2008-03-24_12:00:00',<br />

interval_seconds = 21600,<br />

io_form_geogrid = 2<br />

/<br />

&ungrib<br />

out_format = 'WPS',<br />

prefix = 'FILE'<br />

/<br />

In the “share” namelist record, the variables that are of relevance to ungrib are the<br />

starting and ending times of the coarse domain (start_date and end_date; alternatively,<br />

start_year, start_month, start_day, start_hour, end_year, end_month, end_day,<br />

and end_hour) and the interval between meteorological data files (interval_seconds).<br />

In the “ungrib” namelist record, the variable out_format is used to select the format of<br />

the intermediate data to be written by ungrib; the metgrid program can read any of the<br />

formats supported by ungrib, and thus, any of 'WPS', 'SI', and 'MM5' may be specified<br />

for out_format, although 'WPS' is recommended. Also in the "ungrib" namelist, the user<br />

may specify a path and prefix for the intermediate files with the prefix variable. For<br />

example, if prefix were set to 'ARGRMET', then the intermediate files created by ungrib<br />

would be named according to AGRMET:YYYY-MM-DD_HH, where YYYY-MM-DD_HH<br />

is the valid time of the data in the file.<br />

After suitably modifying the namelist.wps file, a Vtable must be supplied, and the GRIB<br />

files must be linked (or copied) to the filenames that are expected by ungrib. The WPS is<br />

<strong>WRF</strong>-<strong>ARW</strong> V3: User’s <strong>Guide</strong> 3-14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!