page header
 

Running gen_be utility

Reference

2010 summer tutorial

Source code

Get the pre-compiled code, if you want to .

/scratch01/tutuser00/2011WRF_tutorial/WRFDAV3/var/scripts/gen_be/gen_be_wrapper.ksh is the main script that will be used in this practice.

Gen_be consists of several stages. Quite a few executables and scripts are used for the whole process. They are listed below for your reference. These executables and scripts will be called subsequently by the main gen_be_wrapper.ksh.

Choice of your working directory

We recommend running each session in a separate directory, so that it will be easier to check for the necessary input files and look for what output files are created after a successful run.

We recommend you create ~/gen_be directory and enter there to be your working directory for this session.

Edit gen_be_wrapper.ksh

Copy gen_be_wrapper.ksh to be in your working directory.

> cd ~/gen_be

> cp /scratch01/tutuser00/2011WRF_tutorial/WRFDAV3/var/scripts/gen_be/gen_be_wrapper.ksh ./gen_be_wrapper.ksh

Pay special attention to the following settings:

export WRFVAR_DIR=/scratch01/tutuser00/2011WRF_tutorial/WRFDAV3

export START_DATE = 2007091500 # the first perturbation valid date
export END_DATE = 2007091700 # the last perturbation valid date
export NUM_LEVEL = 27 # e_vert -1
export BIN_TYPE = 5

export BE_METHOD=NMC
export FCST_RANGE=12
export FC_DIR =/scratch01/tutuser00/DA_Input_Data/gen_be
export RUN_DIR =/home/tutuser##/gen_be
export DOMAIN = 01
export FCST_RANGE1 = 24
export FCST_RANGE2 = 12
export INTERVAL = 12
export STRIDE = 1

Run gen_be_wrapper.ksh

> ./gen_be_wrapper.ksh

Check output

be.dat is the main output under working directory.

Check log files for each gen_be stage.

Don't know if you are successful ? see the reference log file

Other practice

If this was successful, continue to try more single ob tests using the be.dat you have created.

Advanced

  • Generate the backgroud error using cv_options=6, new in V3.3

    > cp /scratch01/tutuser00/2011WRF_tutorial/WRFDAV3/var/scripts/gen_be/wrapper_run_gen_mbe.ksh .

    Edit wrapper_run_gen_mbe.ksh based on gen_be_wrapper.ksh

    >./wrapper_run_gen_mbe.ksh

 


 
practical_page_header