积分 163
贡献
精华
在线时间 小时
注册时间 2022-9-26
最后登录 1970-1-1
15 金钱
本帖最后由 OMGTaylor 于 2023-2-13 20:43 编辑
我初始的namelist.input为 &time_control
run_days = 0,
run_hours = 54,
run_minutes = 0,
run_seconds = 0,
start_year = 2020, 2020, 2020,
start_month = 01, 01, 01,
start_day = 22, 22, 22,
start_hour = 18, 18, 18,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2020, 2020, 2020,
end_month = 01, 01, 01,
end_day = 25, 25, 25,
end_hour = 00, 00, 00,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 10800
input_from_file = .true.,.true.,.true.,
adjust_output_times = .true.
history_interval = 10, 10, 10,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
override_restart_timers = .false.,
restart_interval = 7200,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 0
auxinput4_inname = "wrflowinp_d<domain>",
auxinput4_interval = 360,
io_form_auxinput4 = 2,
io_form_auxinput2 = 2,
/
&domains
time_step = 10,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
e_we = 200, 201, 202,
e_sn = 200, 201, 202,
e_vert = 50, 50, 50,
eta_levels(1:50) = 1.000000, 0.998576, 0.997153, 0.995732, 0.994313, 0.992894,
0.991477, 0.990062, 0.988647, 0.987234, 0.985822, 0.984412,
0.983002, 0.981595, 0.980189, 0.978783, 0.977380, 0.975978,
0.974578, 0.973178, 0.971779, 0.970104, 0.968095, 0.965688,
0.962806, 0.959353, 0.955224, 0.950280, 0.944373, 0.937316,
0.928952, 0.918858, 0.906902, 0.892697, 0.875845, 0.855911,
0.832373, 0.804687, 0.772269, 0.734482, 0.690714, 0.640403,
0.583078, 0.518512, 0.446775, 0.368441, 0.284751, 0.197744,
0.110432, 0.000000,
p_top_requested = 17000,
num_metgrid_levels = 34,
num_metgrid_soil_levels = 4,
dx = 12000, 3000, 1000,
dy = 12000, 3000, 1000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 75, 75,
j_parent_start = 1, 75, 65,
parent_grid_ratio = 1, 4, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 0
/
&physics
mp_physics = 28, 28, 28,
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 = 2, 2, 2,
bl_pbl_physics = 5, 5, 5,
bl_mynn_tkebudget = 1, 1, 1,
bl_mynn_tkeadvect = .false.,.false.,.false.,
windfarm_opt = 0, 0, 1,
windfarm_ij = 0,
bldt = 0, 0, 0,
cu_physics = 93, 93, 93,
cudt = 0, 0, 0,
icloud = 1,
isfflx = 1,
ifsnow = 1,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 21,
sf_urban_physics = 0, 0, 0,
fractional_seaice = 1,
sst_update = 1,
/
&fdda
/
&dynamics
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
mix_isotropic = 0, 0, 0,
m_opt = 0, 0, 0,
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 = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
nested = .false., .true., .true.,
specified = .true., .false., .false.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/ 复制代码
第一次运行的时候就出错= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= EXIT CODE: 1
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
使用tail 查看error messages提示-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 2546
wif_input_opt=0 but mp_physics=28
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
复制代码 几番查找添加了wif_input_opt = 2(1),并在网站下载了QNWFA_QNIFA_SIGMA_MONTHLY.dat以后,重新metgrid,运行real仍然报错,错误信息显示
--- ERROR: Please set qna_update=1 and control through auxinput17 options
--- ERROR: Time-varying sfc aerosol emissions not set for mp_physics=28
--- ERROR: Please set qna_update=1 and control through auxinput17 options
--- ERROR: Time-varying sfc aerosol emissions not set for mp_physics=28
--- ERROR: Please set qna_update=1 and control through auxinput17 options 复制代码
经过查询不知道是我使用的WRF版本升到了4.4,于是我按照 https://github.com/wrf-model/WRF/blob/release-v4.5/run/README.namelist修改了部分内容,修改后的namelist.input如下: &time_control
run_days = 0,
run_hours = 54,
run_minutes = 0,
run_seconds = 0,
start_year = 2020, 2020, 2020,
start_month = 01, 01, 01,
start_day = 22, 22, 22,
start_hour = 18, 18, 18,
end_year = 2020, 2020, 2020,
end_month = 01, 01, 01,
end_day = 25, 25, 25,
end_hour = 00, 00, 00,
interval_seconds = 10800
input_from_file = .true.,.true.,.true.,
adjust_output_times = .true.
history_interval = 10, 10, 10,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
override_restart_timers = .false.,
restart_interval = 7200,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 999
auxinput4_inname = "wrflowinp_d<domain>",
auxinput4_interval = 360,
io_form_auxinput4 = 2,
io_form_auxinput2 = 2,
auxinput11_interval = 0,
auxinput11_end_h = 0,
/
&domains
time_step = 10,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
e_we = 200, 201, 202,
e_sn = 200, 201, 202,
e_vert = 50, 50, 50,
eta_levels(1:50) = 1.000000, 0.998576, 0.997153, 0.995732, 0.994313, 0.992894,
0.991477, 0.990062, 0.988647, 0.987234, 0.985822, 0.984412,
0.983002, 0.981595, 0.980189, 0.978783, 0.977380, 0.975978,
0.974578, 0.973178, 0.971779, 0.970104, 0.968095, 0.965688,
0.962806, 0.959353, 0.955224, 0.950280, 0.944373, 0.937316,
0.928952, 0.918858, 0.906902, 0.892697, 0.875845, 0.855911,
0.832373, 0.804687, 0.772269, 0.734482, 0.690714, 0.640403,
0.583078, 0.518512, 0.446775, 0.368441, 0.284751, 0.197744,
0.110432, 0.000000,
p_top_requested = 17000,
num_metgrid_levels = 34,
num_metgrid_soil_levels = 4,
dx = 12000, 3000, 1000,
dy = 12000, 3000, 1000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 75, 75,
j_parent_start = 1, 75, 65,
parent_grid_ratio = 1, 4, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 0,
wif_input_opt = 1,
num_wif_levels = 30,
/
&physics
mp_physics = 28, 28, 28,
use_aero_icbc = .true.
cu_physics = 93, 93, 93,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
bl_pbl_physics = 5, 5, 5,
bl_mynn_tkebudget = 1, 1, 1,
bl_mynn_tkeadvect = .false.,.false.,.false.,
windfarm_opt = 0, 0, 1,
windfarm_ij = 0,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
radt = 30, 30, 30,
bldt = 0, 0, 0,
cudt = 0, 0, 0,
icloud = 1,
isfflx = 1,
ifsnow = 1,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 21,
sf_urban_physics = 0, 0, 0,
sst_update = 1,
qna_update = 1,
mfshconv = 0,
scalar_pblmix = 1, 1, 1,
o3input = 0,
/
&fdda
obs_nudge_opt = 0, 0, 0,
grid_fdda = 0, 0, 0,
grid_sfdda = 0, 0, 0,
gfdda_interval_m = 0, 0, 0,
gfdda_end_h = 0, 0, 0,
sgfdda_interval_m = 0, 0, 0,
sgfdda_end_h = 0, 0, 0,
/
&dynamics
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
mix_isotropic = 0, 0, 0,
m_opt = 0, 0, 0,
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 = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
nested = .false., .true., .true.,
specified = .true. .false., .false.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
复制代码 但仍然报错,error messages显示: --- NOTE: grid_fdda is 0 for domain 3, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain 3, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain 3, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
--- NOTE: RRTMG radiation is not used, setting: o3input=0 to avoid data pre-processing
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 2782
NOTE: 3 namelist settings are wrong. Please check and reset these options
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
复制代码 我不知道应该再如何修改了,也是一个刚使用WRF的小白,希望能有经验丰富的前辈帮忙指导一下,如果可以的话请说详细一点,谢谢
我来回答