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.

<strong>WRF</strong>-VAR<br />

files should be arranged as follows: directory name is the forecast initial time, time info<br />

in the file name is the forecast valid time. 2008020512/wrfout_d01_2008-02-<br />

06_00:00:00 mean a 12-hour forecast valid at 2008020600 initialized at 2008020512.<br />

Example dataset for a test case (90 x 60 x 41 gridpoints) can be downloaded from<br />

http://www.mmm.ucar.edu/wrf/users/wrfda/download/testdata.html, untar the<br />

gen_be_forecasts_20080205.tar.gz, you will have:<br />

>ls $FC_DIR<br />

-rw-r--r-- 1 users 11556492 2008020512/wrfout_d01_2008-02-06_00:00:00<br />

-rw-r--r-- 1 users 11556492 2008020512/wrfout_d01_2008-02-06_12:00:00<br />

-rw-r--r-- 1 users 11556492 2008020600/wrfout_d01_2008-02-06_12:00:00<br />

-rw-r--r-- 1 users 11556492 2008020600/wrfout_d01_2008-02-07_00:00:00<br />

-rw-r--r-- 1 users 11556492 2008020612/wrfout_d01_2008-02-07_00:00:00<br />

-rw-r--r-- 1 users 11556492 2008020612/wrfout_d01_2008-02-07_12:00:00<br />

In the above example, only 1 day (12Z 05 Feb to 12Z 06 Feb. 2002) of forecasts, every<br />

12 hours are supplied to gen_be_wrapper to estimate forecast error covariance. It is only<br />

for demonstration. The minimum number of forecasts required depends on the application,<br />

number of grid points, etc. Month-long (or longer) datasets are typical for the<br />

NMC-method. Generally, at least 1-month dataset should be used.<br />

Under <strong>WRF</strong>DA/var/scripts/gen_be, gen_be_wrapper.ksh is used to generate the BE<br />

data, following variables need to be set to fit your case:<br />

export <strong>WRF</strong>VAR_DIR=/users/noname/work/code/trunk/phoenix_g95_opt/<strong>WRF</strong>DA<br />

export START_DATE=2008020612 # the first perturbation valid date<br />

export END_DATE=2008020700 # the last perturbation valid date<br />

export NUM_LEVELS=40 # e_vert - 1<br />

export BIN_TYPE=5<br />

export FC_DIR=/users/noname/work/exps/friendlies/expt/fc # where wrf forecasts are<br />

export RUN_DIR=/users/noname/work/exps/friendlies/gen_be${BIN_TYPE}<br />

Note: The START_DATE and END_DATE are perturbation valid dates. As show in the<br />

forecast list above, when you have 24-hour and 12-hour forecasts initialized at<br />

2008020512 through 2008020612, the first and final forecast difference valid dates are<br />

2008020612 and 2008020700 respectively.<br />

Note: The forecast dataset should be located in $FC_DIR. Then type:<br />

> gen_be_wrapper.ksh<br />

Once gen_be_wrapper.ksh runs completed, the be.dat can be found under $RUN_DIR<br />

directory.<br />

To get a clear idea about what are included in be.dat, the script<br />

gen_be_plot_wrapper.ksh may be used to plot various data in be.dat such as:<br />

<strong>WRF</strong>-<strong>ARW</strong> V3: User’s <strong>Guide</strong> 6-36

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

Saved successfully!

Ooh no, something went wrong!