Skip to content

Instantly share code, notes, and snippets.

@ibarraespinosa
Created April 22, 2018 01:02
Show Gist options
  • Save ibarraespinosa/63f44f418deee31394ac3a44416f3588 to your computer and use it in GitHub Desktop.
Save ibarraespinosa/63f44f418deee31394ac3a44416f3588 to your computer and use it in GitHub Desktop.
&time_control
run_days = 0,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2014, 2014, 2014,
start_month = 08, 08, 08,
start_day = 04, 04, 04,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2014, 2014, 2014,
end_month = 08, 08, 8,
end_day = 11, 11, 11,
end_hour = 00, 00, 00,
end_minute = 00, 00, 00,
interval_seconds = 3600
input_from_file = .true.,.true.,.true.,
history_interval = 60, 60, 60,
history_outname = "/scr4/sibarra/masp/run381/wrfout_d<domain>_<date>"
frames_per_outfile = 5000, 5000, 5000,
restart = .false.,
restart_interval = 10080,
auxinput5_interval_m = 60,
io_form_auxinput2 = 2,
io_form_auxinput5 = 2,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 0
/
&domains
time_step = 6,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
e_we = 81, 131,
e_sn = 81, 101,
e_vert = 35, 35,
dx = 5000, 1000,
dy = 5000, 1000,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
grid_id = 1, 2,
parent_id = 1, 1,
i_parent_start = 1, 21,
j_parent_start = 1, 21,
parent_grid_ratio = 1, 5,
parent_time_step_ratio = 1, 3,
feedback = 1,
smooth_option = 0
/
&physics
mp_physics = 2, 2, 2,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 2, 2, 2,
radt = 15, 15, 15,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 1,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 5, 5, 0,
cudt = 0, 0, 0,
cu_diag = 1,
cu_rad_feedback = .true.,
isfflx = 1,
ifsnow = 0,
icloud = 0,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 20,
sf_urban_physics = 1, 1, 1,
/
&fdda
/
&dynamics
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 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 = 2, 2, 1,
scalar_adv_opt = 2, 2, 1,
tke_adv_opt = 2, 2, 1,
chem_adv_opt = 2, 2, 1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false.,.false.,
nested = .false., .true., .true.,
/
&grib2
/
&chem
kemit = 1,
chem_opt = 0, 2, 2,
bioemdt = 30, 15, 15,
photdt = 30, 15, 15,
chemdt = 2., 2., 2.,
io_style_emissions = 1,
emiss_inpt_opt = 1, 1, 1,
emiss_opt = 3, 3, 3,
chem_in_opt = 0, 0, 0,
phot_opt = 2, 2, 2,
gas_drydep_opt = 1, 1, 1,
aer_drydep_opt = 1, 1, 1,
bio_emiss_opt = 1, 1, 1,
dust_opt = 0,
dmsemis_opt = 0,
seas_opt = 2,
gas_bc_opt = 1, 1, 1,
gas_ic_opt = 1, 1, 1,
aer_bc_opt = 1, 1, 1,
aer_ic_opt = 1, 1, 1,
aer_op_opt = 1, 0, 0,
! opt_pars_out = 1, 0, 0,
gaschem_onoff = 1, 1, 1,
aerchem_onoff = 1, 1, 1,
wetscav_onoff = 0, 0, 0,
cldchem_onoff = 0, 0, 0,
vertmix_onoff = 1, 1, 1,
chem_conv_tr = 1, 1, 1,
biomass_burn_opt = 1, 0, 1,
plumerisefire_frq = 30, 30, 30,
aer_ra_feedback = 0, 0, 0
have_bcs_chem = .true., .true., .false.,
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
@ibarraespinosa
Copy link
Author

ndown.exe interval_seconds = 3600 max_dom=2, e_we = 81, 131, e_sn = 81, 101,
tengo wrfinput 1 2 y 3

mv wrfinput_d03 wrfndi_d02
rm wrfinput_d01 | rm wrfinput_d02
En el namelist tengo que escribir que las condiciones de contorno las saca de la salida del wrfoutd02.

Activar auxiliary para leer wrfout
time_step = 6,
e_we = 81, 131,
e_sn = 81, 101,
e_vert = 35, 35,
dx = 5000, 1000,
dy = 5000, 1000,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
grid_id = 1, 2,
parent_id = 1, 1,
i_parent_start = 1, 21,
j_parent_start = 1, 21,
parent_grid_ratio = 1, 5,
parent_time_step_ratio = 1, 3,
interval_seconds = 3600,
max_dom=2 ,
e_we = 81, 131,
e_sn = 81, 101,
dx = 5000, 1000,
dy = 5000, 1000,
io_form_auxinput2 = 2,
io_form_auxinput5 = 2,
have_bcs_chem = .true., .true., .false.,
ln -sf /scr4/sibarra/masp/run381/wrfout_d02_2012-06-01_00:00:00 wrfout_d01_2012-06-01_00:00:00
mpirun -machinefile /scr4/sibarra/host2 -np 32 ./ndown.exe &
ndown genera wrfinput y wrfbdy d02
mv wrfinput_d02 wrfinput_d01 | mv wrfbdy_d02 wrfbdy_d01
Esta corrida no tiene química. Para mas tarde correr wrf con quimica es necesario activar aqui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment