Single Domain Case - Real and WRF

Run the model (real.exe & wrf.exe)

1. Ensure you are in the WRF/ directory. For this case we are going to run in the test/em_real/ directory.

cd test/em_real

2. Link in the met_em files created with metgrid.exe

ln -sf ../../../WPS/met_em.d01.2016-10* .

3. Edit namelist.input
    Add the changes below to the namelist.input file.
    Note 1: As we are only interested in domain 1, you can ignore all values in other columns
    Note 2 : For detailed explanations of these variables, as well as suggestions for best practices, see the Best Practices WRF Namelist page, or Chapter 5 of the WRF User's Guide

run_days = 0,
run_hours = 48,
run_minutes = 0,
run_seconds = 0,
start_year = 2016,
start_month = 10,
start_day = 06,
start_hour = 00,
end_year = 2016,
end_month = 10,
end_day = 08,
end_hour = 00,
interval_seconds = 21600
input_from_file = .true.,
history_interval = 180,
frames_per_outfile = 1,
restart = .false.,
restart_interval = 1440,
time_step = 150,
max_dom = 1,
e_we = 91,
e_sn = 100,
e_vert = 45,
num_metgrid_levels = 32
dx = 27000,
dy = 27000,

Note the restart_interval setting above - we plan on doing a restart later, so we need to set up this run in anticipation of the restart. This will create extra restart output files, from which we can later restart the model.

4. Run real.exe (verify that the program ran correctly)
    Note: This will overwrite wrfinput_d01 and wrfbdy_d01 files you may have from previous runs,
    so save your old files somewhere else if you would like to keep them.

    Check that the following two files have been created

wrfinput_d01
wrfbdy_d01

    What is contained in these files?



wrfinput_d01
wrfbdy_d01


5. Run wrf.exe (verify that the program ran correctly)
    Check that the following files have been created

wrfout_d01_2016-10-06_00:00:00
wrfout_d01_2016-10-06_03:00:00
wrfout_d01_2016-10-06_06:00:00
wrfout_d01_2016-10-06_09:00:00
wrfout_d01_2016-10-06_12:00:00
wrfout_d01_2016-10-06_15:00:00
wrfout_d01_2016-10-06_18:00:00
wrfout_d01_2016-10-06_21:00:00
wrfout_d01_2016-10-07_00:00:00
wrfout_d01_2016-10-07_03:00:00
wrfout_d01_2016-10-07_06:00:00
wrfout_d01_2016-10-07_09:00:00
wrfout_d01_2016-10-07_12:00:00
wrfout_d01_2016-10-07_15:00:00
wrfout_d01_2016-10-07_18:00:00
wrfout_d01_2016-10-07_21:00:00
wrfout_d01_2016-10-08_00:00:00
wrfrst_d01_2016-10-07_00:00:00
wrfrst_d01_2016-10-08_00:00:00

The wrfout file will contain all the time periods for this run.
The wrfrst files will contain timed information for 07_00 and 08_00, so that the model could be restarted again from these points.



wrfout
wrfrst

 

6. Quick check of the contents of the wrfout file:

a. Use the ncdump utility:
    ncdump -h wrfout_d01_2016-10-06_00:00:00
    ncdump -v Times wrfout_d01_2016-10-06_00:00:00 (to see which forecast times are in the file)
    Note: run_hours was set to 48, so there should only be 48 hours of output
b. Use the ncview utility.


7. Use any of the supported graphical tools to display the model output.



Run another case study