请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 16116|回复: 22

./convert_emiss.exe出错

[复制链接]

新浪微博达人勋

发表于 2018-4-23 10:28:09 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
已经换着花样折腾一星期了,没能解决,po上来辛苦大家看看

这两天我在运行wrfchem tutorial中的exercise2(https://ruc.noaa.gov/wrf/wrf-che ... alexercises002.html)
我进行的步骤是:1.修改 prep_chem_sources.inp
                      2.run prep_chem_sources_RADM_WRF_FIM_.exe
                      3.link步骤二产生的四个数据到convert_emiss.exe所在的文件夹下(ln -sf ../Run_prep/WRF-T-2010-07-14-000000-g1-gocartBG.bin wrf_gocart_backg)
                      4.修改namelist.input
                      5../convert_emiss.exe  然后就出现了错误
Time period #   1 to process = 2010-07-14_00:00:00
Total analysis times to input =    1
Total number of times to input =    1    1
At line 1230 of file convert_emiss.f90 (unit = 91)
Fortran runtime error: Cannot open file 'wrfem_00to12z_d01': 没有那个文件

对这个错误我有几处不懂的地方:
1.我运行的时候,time period只有这一个时次
Time period #   1 to process = 2010-07-14_00:00:00
Total analysis times to input =    1
Total number of times to input =    1    1
可是上网查询别人错误的时候往往看到其他人都能运行出多个时次,比如:
Time period #   1 to process = 2013-01-01_00:00:00
Time period #   2 to process = 2013-01-01_01:00:00
Time period #   3 to process = 2013-01-01_02:00:00  (中间省略)
.
.
.
Time period #  23 to process = 2013-01-01_22:00:00
Time period #  24 to process = 2013-01-01_23:00:00
Time period #  25 to process = 2013-01-02_00:00:00
Total analysis times to input =   25
Total number of times to input =   25   25
我检查了自己在exercise1中运行的数据,发现wrfout_d01_2010-07-14_00:00:00是49小时的数据,但wrfinput_d01的时间维度是1,不知道出错跟这个是不是有关系
2.关于Cannot open file 'wrfem_00to12z_d01': 没有那个文件或目录,按照网上一个建议我尝试了不用ln -sf,而直接把步骤二产生的四个数据拷贝到convert_emiss.exe所在的文件夹下,但没有能解决问题
翻墙查了查,有一些人说可能是configure.wrf安装的问题,因为他们出错的问题与我的错误有一些差异,我就没有参考这个答案了.
另外找到了一个类似问题的邮件不过没有找到解答(http://mailman.ucar.edu/pipermail/wrf-users/2013/003214.html),不知道这个问题是由什么造成的.


还希望路过的大神指点我一下
convert_emiss.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-4-28 10:14:38 | 显示全部楼层
exercise2中不能运行,但是在exercise4中可以运行....
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-12-12 11:40:22 | 显示全部楼层
楼主最后解决了吗,这个是不是和wrf的版本有关,官方教程里的描述是Link these files to the ${Run_convert_emiss} directory since the convert_emiss.exe in WRF-Chem v3.8 does not work. So we have to use v3.6 to do the convert_emiss.exe
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2018-12-12 12:11:56 | 显示全部楼层
天下第贰 发表于 2018-12-12 11:40
楼主最后解决了吗,这个是不是和wrf的版本有关,官方教程里的描述是Link these files to the ${Run_convert ...

是的,后来忘记贴结果了。转战wrf3.6就可以运行出来了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-12-12 15:10:42 | 显示全部楼层
骨头333 发表于 2018-12-12 12:11
是的,后来忘记贴结果了。转战wrf3.6就可以运行出来了

好的,非常感谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-2-21 16:29:51 | 显示全部楼层
本帖最后由 ccyy0 于 2019-2-21 16:39 编辑

楼主您好,我也在做wrfchem tutorial中的exercise2。我./convert_emiss.exe  然后出现了和您一样的错误,可是我的WRFCHEM版本就是3。6。
Time period #   1 to process = 2010-07-14_00:00:00
Total analysis times to input =    1
Total number of times to input =    1    1
At line 975 of file convert_emiss.f90 (unit = 91)
Fortran runtime error: Cannot open file 'wrfem_00to12z_d01': 没有那个文件或目录

Error termination. Backtrace:
#0  0x7f4cf17dbed7 in ???
#1  0x7f4cf17dca75 in ???
#2  0x7f4cf17dd22c in ???
#3  0x7f4cf18a5b88 in ???
#4  0x7f4cf18a5ddd in ???
#5  0x564dda735cb5 in ???
#6  0x564dda733ce2 in ???
#7  0x7f4cf0ef93f0 in ???
#8  0x564dda733d19 in ???
#9  0xffffffffffffffff in ???
请问您知道什么原因吗?


                               
登录/注册后可看大图
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2019-2-22 09:40:53 | 显示全部楼层
ccyy0 发表于 2019-2-21 16:29
楼主您好,我也在做wrfchem tutorial中的exercise2。我./convert_emiss.exe  然后出现了和您一样的错误,可 ...

个人猜测是namelist中没有调整所以无法读取,个人猜测仅供参考!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-2-22 13:58:43 | 显示全部楼层
骨头333 发表于 2019-2-22 09:40
个人猜测是namelist中没有调整所以无法读取,个人猜测仅供参考!

你好!请问能大致帮我看一下哪里不对吗?我是直接拷贝的execrise1的namelist,然后只修改了io_form_auxinput13 = 2,emiss_opt_vol = 1, 别的没改了。请问chem_opt=401,dust_opt=1需要改吗?还是有其他地方需要改的

&time_control
run_days                            = 2,
run_hours                           = 0,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2010,
start_month                         = 07,
start_day                           = 14,
start_hour                          = 00,
start_minute                        = 00,
start_second                        = 00,
end_year                            = 2010,
end_month                           = 07,
end_day                             = 16,
end_hour                            = 00,
end_minute                          = 00,
end_second                          = 00,
interval_seconds                    = 10800,
input_from_file                     = .true.,
history_interval                    = 60,
frames_per_outfile                  = 72,
restart                             = .false.,
restart_interval                    =    0,
io_form_history                     = 2,
io_form_restart                     = 2,
io_form_input                       = 2,
io_form_boundary                    = 2,
auxinput6_inname                    = 'wrfbiochemi_d01',
auxinput7_inname                    = 'wrffirechemi_d<domain>',
auxinput8_inname                    = 'wrfchemi_gocart_bg_d<domain>',
auxinput12_inname                   = 'wrf_chem_input',
auxinput5_interval_m                = 86400,
auxinput7_interval_m                = 86400,
auxinput8_interval_m                = 86400,
io_form_auxinput2                   = 2,
io_form_auxinput5                   = 0,
io_form_auxinput6                   = 0,
io_form_auxinput7                   = 0,
io_form_auxinput8                   = 0,
io_form_auxinput12                  = 0,
debug_level                         = 0,
auxinput1_inname                    = "met_em.d<domain>.<date>",
/
auxinput13_inname                   = 'wrfchemv_d<domain>',
auxinput13_interval_m               = 86400,
io_form_auxinput13                  = 2,

&dfi_control
/

&domains
time_step                           = 600,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 1,
s_we                                =   1,
e_we                                = 41,
s_sn                                =   1,
e_sn                                = 41,
e_vert                              = 31,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 100000,
dy                                  = 100000,
grid_id                             = 1,
parent_id                           = 0,
i_parent_start                      = 1,
j_parent_start                      = 1,
parent_grid_ratio                   = 1,
parent_time_step_ratio              = 1,
p_top_requested                     = 5000,
feedback                            = 1,
smooth_option                       = 0,
p_top_requested                     = 5000,
zap_close_levels                    = 50,
interp_type                         = 1,
t_extrap_type                       = 2,
force_sfc_in_vinterp                = 0,
use_levels_below_ground             = .true.,
use_surface                         = .true.,
lagrange_order                      = 1,
/
sfcp_to_sfcp                        = .true.,

&physics
num_land_cat                        = 21,
mp_physics                          = 4,
progn                               = 0,
ra_lw_physics                       = 1,
ra_sw_physics                       = 2,
radt                                = 30,
sf_sfclay_physics                   = 1,
sf_surface_physics                  = 2,
bl_pbl_physics                      = 1,
bldt                                = 0,
cu_physics                          = 5,
cu_diag                             = 1,
cudt                                = 0,
ishallow                            = 0,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,
mp_zero_out                         = 2,
mp_zero_out_thresh                  = 1.e-12,
maxiens                             = 1,
maxens                              = 3,
maxens2                             = 3,
maxens3                             = 16,
ensdim                              = 144,
cu_rad_feedback                     = .true.,
/


&fdda
/

&dynamics
rk_ord                              = 3,
w_damping                           = 1,
diff_opt                            = 1,
km_opt                              = 4,
diff_6th_opt                        = 0,
diff_6th_factor                     = 0.12,
base_temp                           = 290.
damp_opt                            = 0,
zdamp                               = 5000.,
dampcoef                            = 0.01,
khdif                               = 0,
kvdif                               = 0,
non_hydrostatic                     = .true.,
moist_adv_opt                       = 2,
scalar_adv_opt                      = 2,
chem_adv_opt                        = 2,
tke_adv_opt                         = 2,
time_step_sound                     = 4,
h_mom_adv_order                     = 5,
v_mom_adv_order                     = 3,
h_sca_adv_order                     = 5,
v_sca_adv_order                     = 3,
/

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

&grib2
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/


&chem
kemit                               = 1,
chem_opt                            = 401,
bioemdt                             = 0,
photdt                              = 0,
chemdt                              = 10,
io_style_emissions                  = 0,
emiss_opt                           = 3,
emiss_opt_vol                       = 1,
emiss_ash_hgt                       = 20000.,
chem_in_opt                         = 0,
phot_opt                            = 0,
gas_drydep_opt                      = 0,
aer_drydep_opt                      = 1,
bio_emiss_opt                       = 0,
ne_area                             = 0,
dust_opt                            = 1,
dmsemis_opt                         = 0,
seas_opt                            = 0,
depo_fact                           = 0.25,
gas_bc_opt                          = 0,
gas_ic_opt                          = 0,
aer_bc_opt                          = 1,
aer_ic_opt                          = 1,
gaschem_onoff                       = 0,
aerchem_onoff                       = 1,
wetscav_onoff                       = 0,
cldchem_onoff                       = 0,
vertmix_onoff                       = 1,
chem_conv_tr                        = 0,
conv_tr_wetscav                     = 0,
conv_tr_aqchem                      = 0,
biomass_burn_opt                    = 0,
plumerisefire_frq                   = 30,
have_bcs_chem                       = .false.,
aer_ra_feedback                     = 0,
aer_op_opt                          = 0,
opt_pars_out                        = 0,
diagnostic_chem                     = 0,
/
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2019-2-26 09:26:02 | 显示全部楼层
ccyy0 发表于 2019-2-22 13:58
你好!请问能大致帮我看一下哪里不对吗?我是直接拷贝的execrise1的namelist,然后只修改了io_form_auxin ...

这个是我能跑出来的namelist,我也是初学,实在看不出来是什么地方的问题,你试试看我的namelist能不能在你那边跑出来吧


&time_control
run_days                            = 2,
run_hours                           = 0,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2010, 2000, 2000,
start_month                         = 07,   01,   01,
start_day                           = 14,   24,   24,
start_hour                          = 00,   12,   12,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2010, 2000, 2000,
end_month                           = 07,   01,   01,
end_day                             = 16,   25,   25,
end_hour                            = 00,   12,   12,
end_minute                          = 00,   00,   00,
end_second                          = 00,   00,   00,
interval_seconds                    = 10800
input_from_file                     = .true.,.true.,.true.,
history_interval                    = 60,  60,   60,
frames_per_outfile                  = 72, 1000, 1000,
restart                             = .false.,
restart_interval                    = 0,
io_form_history                     = 2
io_form_restart                     = 2
io_form_input                       = 2
io_form_boundary                    = 2

auxinput6_inname                    = 'wrfbiochemi_d01',
auxinput7_inname                    = 'wrffirechemi_d<domain>',
auxinput8_inname                    = 'wrfchemi_gocart_bg_d<domain>',
auxinput12_inname                   = 'wrf_chem_input',
auxinput5_interval_m                = 86400,
auxinput7_interval_m                = 86400,
auxinput8_interval_m                = 86400,
io_form_auxinput2                   = 2,
io_form_auxinput5                   = 0,
io_form_auxinput6                   = 0,
io_form_auxinput7                   = 0,
io_form_auxinput8                   = 0,
io_form_auxinput12                  = 0,
debug_level                         = 0
auxinput1_inname                    = "met_em.d<domain>.<date>",
/
auxinput13_inname                   = 'wrfchemv_d<domain>',
auxinput13_interval_m               = 86400,
io_form_auxinput13                  = 2,

&dfi_control
/

&domains
time_step                           =600,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 1,
s_we                                = 1,
e_we                                = 41,    112,   94,
s_sn                                =   1,
e_sn                                = 41,    97,    91,
e_vert                              = 31,    30,    30,
p_top_requested                     = 5000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 100000, 10000,  3333.33,
dy                                  = 100000, 10000,  3333.33,
grid_id                             = 1,     2,     3,
parent_id                           = 0,     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,
smooth_option                       = 0
zap_close_levels                    = 50,
interp_type                         = 1,
t_extrap_type                       = 2,
force_sfc_in_vinterp                = 0,
use_levels_below_ground             = .true.,
use_surface                         = .true.,
lagrange_order                      = 1,
/
sfcp_to_sfcp                        = .true.,

&physics
num_land_cat                        = 24,
mp_physics                          = 4,     3,     3,
ra_lw_physics                       = 1,     1,     1,
ra_sw_physics                       = 1,     1,     1,
physics_suite                       = 'CONUS'
radt                                = 30,    30,    30,
sf_sfclay_physics                   = 1,     1,     1,
sf_surface_physics                  = 2,     2,     2,
bl_pbl_physics                      = 1,     1,     1,
bldt                                = 0,     0,     0,
cu_physics                          = 5,     1,     0,
cu_diag                             = 1,
cudt                                = 0,     5,     5,
ishallow                            = 0,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
num_land_cat                        = 21,
sf_urban_physics                    = 0,     0,     0,
mp_zero_out                         = 2,
mp_zero_out_thresh                  = 1.e-12,
maxiens                             = 1,
maxens                              = 3,
maxens2                             = 3,
maxens3                             = 16,
ensdim                              = 144,
cu_rad_feedback                     = .true.,
/

&fdda
/

&dynamics
rk_ord                              = 3,
w_damping                           = 1,
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.01,    0.2,    0.2
khdif                               = 0,      0,      0,
kvdif                               = 0,      0,      0,
non_hydrostatic                     = .true., .true., .true.,
moist_adv_opt                       = 2,      1,      1,     
scalar_adv_opt                      = 2,      1,      1,     
gwd_opt                             = 0,
chem_adv_opt                        = 2,
tke_adv_opt                         = 2,
time_step_sound                     = 4,
h_mom_adv_order                     = 5,
v_mom_adv_order                     = 3,
h_sca_adv_order                     = 5,
v_sca_adv_order                     = 3,
/

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

&grib2
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/

&chem
kemit                               = 1,
chem_opt                            = 401,
bioemdt                             = 0,
photdt                              = 0,
chemdt                              = 10,
io_style_emissions                  = 0,
emiss_opt                           = 3,
emiss_opt_vol                       = 1,
emiss_ash_hgt                       = 20000.,
chem_in_opt                         = 0,
phot_opt                            = 0,
gas_drydep_opt                      = 0,
aer_drydep_opt                      = 1,
bio_emiss_opt                       = 0,
ne_area                             = 0,
dust_opt                            = 3,
dmsemis_opt                         = 0,
seas_opt                            = 0,
depo_fact                           = 0.25,
gas_bc_opt                          = 0,
gas_ic_opt                          = 0,
aer_bc_opt                          = 1,
aer_ic_opt                          = 1,
gaschem_onoff                       = 0,
aerchem_onoff                       = 1,
wetscav_onoff                       = 0,
cldchem_onoff                       = 0,
vertmix_onoff                       = 1,
chem_conv_tr                        = 0,
conv_tr_wetscav                     = 0,
conv_tr_aqchem                      = 0,
biomass_burn_opt                    = 0,
plumerisefire_frq                   = 30,
have_bcs_chem                       = .false.,
aer_ra_feedback                     = 0,
aer_op_opt                          = 0,
opt_pars_out                        = 0,
diagnostic_chem                     = 0,
/
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-4-27 06:57:50 | 显示全部楼层
Zhe Mo Shen QI!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表