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

supplied with Vtable files for many sources of meteorological data, and the appropriate<br />

Vtable may simply be symbolically linked to the file Vtable, which is the Vtable name<br />

expected by ungrib. For example, if the GRIB data are from the GFS model, this could be<br />

accomplished with<br />

> ln -s ungrib/Variable_Tables/Vtable.GFS Vtable<br />

The ungrib program will try to read GRIB files named GRIBFILE.AAA,<br />

GRIBFILE.AAB, …, GRIBFILE.ZZZ. In order to simplify the work of linking the GRIB<br />

files to these filenames, a shell script, link_grib.csh, is provided. The link_grib.csh script<br />

takes as a command-line argument a list of the GRIB files to be linked. For example, if<br />

the GRIB data were downloaded to the directory /data/gfs, the files could be linked with<br />

link_grib.csh as follows:<br />

> ls /data/gfs<br />

-rw-r--r-- 1 42728372 gfs_080324_12_00<br />

-rw-r--r-- 1 48218303 gfs_080324_12_06<br />

> ./link_grib.csh /data/gfs/gfs*<br />

After linking the GRIB files and Vtable, a listing of the WPS directory should look<br />

something like the following:<br />

> ls<br />

drwxr-xr-x 2 4096 arch<br />

-rwxr-xr-x 1 1672 clean<br />

-rwxr-xr-x 1 3510 compile<br />

-rw-r--r-- 1 85973 compile.output<br />

-rwxr-xr-x 1 4257 configure<br />

-rw-r--r-- 1 2486 configure.wps<br />

-rw-r--r-- 1 1957004 geo_em.d01.nc<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 />

lrwxrwxrwx 1 38 GRIBFILE.AAA -> /data/gfs/gfs_080324_12_00<br />

lrwxrwxrwx 1 38 GRIBFILE.AAB -> /data/gfs/gfs_080324_12_06<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 />

lrwxrwxrwx 1 33 Vtable -> ungrib/Variable_Tables/Vtable.GFS<br />

After editing the namelist.wps file and linking the appropriate Vtable and GRIB files, the<br />

ungrib.exe executable may be run to produce files of meteorological data in the<br />

intermediate format. Ungrib may be run by simply typing the following:<br />

> ./ungrib.exe >& ungrib.output<br />

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

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

Saved successfully!

Ooh no, something went wrong!