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

Output from the ungrib program is always written in a simple binary format (either<br />

‘WPS’, ‘SI’, or ‘MM5’), so software for viewing NetCDF files will almost certainly be of<br />

no use. However, an NCAR Graphics-based utility, plotfmt, is supplied with the WPS<br />

source code. This utility produces contour plots of the fields found in an intermediateformat<br />

file. If the NCAR Graphics libraries are properly installed, the plotfmt program is<br />

automatically compiled, along with other utility programs, when WPS is built.<br />

WPS Utility Programs<br />

Besides the three main WPS programs – geogrid, ungrib, and metgrid – there are a<br />

number of utility programs that come with the WPS, and which are compiled in the util<br />

directory. These utilities may be used to examine data files, visualize the location of<br />

nested domains, compute pressure fields, and compute average surface temperature<br />

fields.<br />

A. avg_tsfc.exe<br />

The avg_tsfc.exe program computes a daily mean surface temperature given input files in<br />

the intermediate format. Based on the range of dates specified in the "share" namelist<br />

section of the namelist.wps file, and also considering the interval between intermediate<br />

files, avg_tsfc.exe will use as many complete days' worth of data as possible in<br />

computing the average, beginning at the starting date specified in the namelist. If a<br />

complete day's worth of data is not available, no output file will be written, and the<br />

program will halt as soon as this can be determined. Similarly, any intermediate files for<br />

dates that cannot be used as part of a complete 24-hour period are ignored; for example,<br />

if there are five intermediate files available at a six-hour interval, the last file would be<br />

ignored. The computed average field is written to a new file named TAVGSFC using the<br />

same intermediate format version as the input files. This daily mean surface temperature<br />

field can then be ingested by metgrid by specifying 'TAVGSFC' for the constants_name<br />

variable in the "metgrid" namelist section.<br />

B. mod_levs.exe<br />

The mod_levs.exe program is used to remove levels of data from intermediate format<br />

files. The levels which are to be kept are specified in new namelist record in the<br />

namelist.wps file:<br />

&mod_levs<br />

press_pa = 201300 , 200100 , 100000 ,<br />

95000 , 90000 ,<br />

85000 , 80000 ,<br />

75000 , 70000 ,<br />

65000 , 60000 ,<br />

55000 , 50000 ,<br />

45000 , 40000 ,<br />

35000 , 30000 ,<br />

25000 , 20000 ,<br />

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

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

Saved successfully!

Ooh no, something went wrong!