WRF - namelist.input

Below are some of the namelist variables that can be set. This is NOT a complete list.
You can find detailed explanations of these and other namelist.input parameters in Chapter 5 of the User's Guide.
 

- Familiarize yourself with the entries in the namelist.input file
- It may be a good idea to keep a copy of the original namelist.input file for future reference
- WRFV3/run/README.namelist contains descriptions of all the namelist variables, as well as variables that can be added to the namelist for special model setups
- The namelist.input file is used for both the real.exe and wrf.exe executables

In namelist.input, multiple columns are used for multiple domains.
If you use 3 columns, but set max_dom to 2, the last column will be ignored.
NOTE: Not all parameters have multiple columns

 

&time_control
run_days = 0,
run_hours = 12,
run_minutes = 0,
run_seconds = 0,
start_year = 2000, 2000, 2000,
start_month = 01, 01, 01,
start_day = 24, 24, 24,
start_hour = 12, 12, 12,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2000, 2000, 2000,
end_month = 01, 01, 01,
end_day = 25, 25, 25,
end_hour = 12, 12, 12,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 21600
input_from_file = .true.,.false.,.false.,
fine_input_stream = 0,0,0,
history_interval = 180, 60, 60,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
restart_interval = 5000,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 0
/

&domains
time_step = 180,
max_dom = 1,
s_we = 1, 1, 1,
e_we = 74, 112, 94,
s_sn = 1, 1, 1,
e_sn = 61, 97, 91,
s_vert = 1, 1, 1,
e_vert = 28, 28, 28,
num_metgrid_levels = 27
dx = 30000, 10000, 3333,
dy = 30000, 10000, 3333,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 31, 30,
j_parent_start = 1, 17, 30,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
/

&physics
mp_physics = 3, 3, 3,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 30, 30, 30,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 1, 1, 1,
num_soil_layers = 5,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 1, 1, 0,
cudt = 5, 5, 5,
/

&dynamics
w_damping = 0,
diff_opt = 1,
km_opt = 4,
diff_6th_opt = 0,
diff_6th_factor = 0.12,
base_temp = 290.
damp_opt = 0,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.2, 0.2, 0.2
khdif = 0, 0, 0,
kvdif = 0, 0, 0,
non_hydrostatic = .true., .true., .true.,
moist_adv_opt = 1,
scalar_adv_opt = 1,
/

&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false.,.false.,
nested = .false., .true., .true.,
/

Vertical levels for your case

Since the introduction of the WPS software, vertical interpolation is performed by the real.exe program. The vertical levels are controlled by the following namelist parameters:

       e_vert ; eta_levels

- The minimum required setting is e_vert. If only this variable is set, the code will calculate a nice set of vertical levels with thinner layers at the bottom and thicker layers at the top. This must be set for all model domains, and must be the same for all domains.
       e.g.   e_vert = 28, 28,

- Alternately, a user may specify the eta levels to be used by setting both e_vert, and eta_levels.
The eta_levels must be from 1.0 to 0.0, and must be equal to the value specified in e_vert.
       e.g.   e_vert = 28, 28,
               eta_levels = 1.000 , 0.990 , 0.978 , 0.964 , 0.946 ,
                                  0.922 , 0.894 , 0.860 , 0.817 , 0.766 ,
                                  0.707 , 0.644 , 0.576 , 0.507 , 0.444 ,
                                  0.380 , 0.324 , 0.273 , 0.228 , 0.188 ,
                                  0.152 , 0.121 , 0.093 , 0.069 , 0.048 ,
                                  0.029 , 0.014 , 0.000 ,

Model Top

The real.exe program expects the highest (in altitude) input pressure level to be at 50 hPa (5000 Pa) - PTOP. This is true for most input datasets.
If your input dataset has a different highest pressure level you will need to set p_top_requested, to this value. (See README.namelist for more details.)