# Presentation: 445856

## SOO/STRC WRF Environmental Modeling System

- Introduction to wrf_post.pl

- SOO/STRC WRF Environmental Modeling System

- Robert Rozumalski
- National SOO Science and Training Resource CoordinatorNOAA/NWS/OCWWS/Training Division/FDTB

## The WRF EMS Run-time Scripts

- The third of the three WRF EMS run-time scripts
- Outputs fields on 47 pressure levels including 2, 3, 5, 10, 20, 30, 50, 70, 75, 100 to 1000 every 25, and 1013 hpa
- Handles forecast files with up to 1-minute temporal frequency
- Processes multiple ARW core nested domains independently
- Produces output fields in GRIB 1, GRIB 2, BUFR, GEMPAK grid files, GEMPAK sounding files, BUFKIT, and GRADS formats
- Processed files can be selectively transferred to other locations via FTP, SFTP, COPY, SCP, or RCP

## The WRF EMS Run-time Scripts

- Options available for the NMM and ARW cores are controlled through the wrf_post configuration files
- Files located in <domain>/conf/wrf_post directory
**wrf_post.conf**	- Primary user options file for wrf_post.pl
**post_archive.conf**	- Forecast archiving options
**post_grads.conf****	**- GrADS format options
**post_gempak.conf** - GEMPAK format options
**post_grib.conf** 	- GRIB 1 & 2 format options
**post_bufr.conf** 	- BUFR format options

## The WRF EMS Run-time Scripts

- Master configuration file for the wrf_post.pl routine
- Defines the default format(s) for forecast files
- May be overridden by command line options

## The WRF EMS Run-time Scripts

- % wrf_post --help
- Displays the various command-line options and flags available
- % wrf_post --guide
- Displays much more detailed information of the user options

## The WRF EMS Run-time Scripts

- % wrf_post
- 	Use the default values specified in the wrf_post.conf file
- % wrf_post --grib1 --nogempak --grads --nobufkit –noarchive
- 	Turn on GRIB 1 and GrADS processing, turn off GEMPAK and BUFKIT processing, and turn off file archiving

- Usage:	% wrf_post [--options#1 ... --option#n]

## The WRF EMS Run-time Scripts

- % wrf_post --domain 2
- 	Use the default values specified in the wrf_post.conf file to process forecast files from domain #2 (nested domain #1) The primary parent grid  is domain #1.  Not using the “--domain” flag defaults to domain #1
- % wrf_post --domain 2 --nogempak --grads --nobufr
- 	Turn on GrADS processing, turn off GEMPAK and BUFR processing for domain #2. Use the default values in wrf_post.conf for all other post processing needs

- Usage:	% wrf_post –domain # [--options#1 ... --option#n]

## The WRF EMS Run-time Scripts

- For Example in wrf_post.conf:
- 	GEMPAK = MOAD, Nest1, Nest2, Nest3, ..., NestN
- Or
- 	GEMPAK = Yes, No, Yes, No
- 	The above example specifies that you want to convert forecast files from Mother of all Domains (MOAD) and nested domain #2 to GEMPAK format, but not nested domains #1 and #3.
- 	Passing the corresponding command line flag to wrf_post overrides the settings in this file.  So, passing "--domain 2 --gempak" will turn ON the gempak processing for domain #2 (nested domain #1).

## The WRF EMS Run-time Scripts

**Surface visibility**
**Composite radar reflectivity**
**PBL height**
**Surface wind gust**
**Ceiling height**
**Cloud top brightness temperature**
**Instantaneous dominant precipitation type (Rain, Snow, Ice Pellets, Sleet)**
**0-2000ft low level wind shear**
**Clear air turbulence**

## The WRF EMS Run-time Scripts

- Master control file is wrf_cntrl.parm.template
- Located in the wrf/data/conf/tables directory
- Copied to wrf_cntrl.parm during wrf_post

## The WRF EMS Run-time Scripts

- Each field output to GRIB files is defined by two lines in file
- (Field Description) Scale=(Scaling Value)
- L=(Series of output levels)
- 	Or
- 		(U WIND ON PRESS SFCS) SCAL=(-3.0)
- 		L=(11111 11111 11111 11111 11111 11111 11111 00000 00000)

## The WRF EMS Run-time Scripts

- 	(U WIND ON PRESS SFCS) SCAL=(-3.0)
- 	L=(11111 11111 11111 11111 11111 11111 11111 00000 00000)
- (MESINGER MEAN SLP) SCAL=(-3.0)
- L=(10000 00000 00000 00000 00000 00000 00000 00000 00000)

- The second line controls the output levels
- “1” to turn ON and “0” to turn “OFF” field at that level
- Lowest pressure level (leftmost “1|0”) to highest (right)
- Single level data, such as surface, is controlled by leftmost value
- Currently, there are 47 pressure levels so 47 “1” or “0”s
- Any additional values beyond 47 are ignored

## SOO/STRC WRF Environmental Modeling System

- Introduction to wrf_post.pl

- SOO/STRC WRF Environmental Modeling System

- The End