爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5571|回复: 1

./real.exe报错(已解决)

[复制链接]

新浪微博达人勋

发表于 2016-7-10 14:28:28 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 一颗梅子在南京 于 2016-7-22 14:28 编辑

为了实行WRF的自动运行,写了一个脚本根据系统时间自动生成namelist.wps和namelist.input,WPS运行通过了,运行WRFV3模块的时候,./real.exe 运行错误,报错提示:
Namelist logging not found in namelist.input. Using registry defaults for variables in logging.
   ------ ERROR while reading namelist time_control ------
Namelist dfi_control not found in namelist.input. Using registry defaults for variables in dfi_control
Namelist tc not found in namelist.input. Using registry defaults for variables in tc
Namelist noah_mp not found in namelist.input. Using registry defaults for variables in noah_mp
Namelist scm not found in namelist.input. Using registry defaults for variables in scm
Namelist fire not found in namelist.input. Using registry defaults for variables in fire
Namelist diags not found in namelist.input. Using registry defaults for variables in diags
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    9633
ERRORS while reading one or more namelists from namelist.input.
-------------------------------------------
Namelist logging not found in namelist.input. Using registry defaults for variables in logging.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    9633
ERRORS while reading one or more namelists from namelist.input.
-------------------------------------------

自动生成的namelist.wps如下:
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2016-07-09_00:00:00','2016-07-09_00:00:00',
end_date   = '2016-07-12_00:00:00','2016-07-12_00:00:00',
interval_seconds = 21600,
io_form_geogrid = 2,
/

&geogrid
parent_id              = 1,    1,
parent_grid_ratio      = 1,    3,
i_parent_start         = 1,    31,
j_parent_start         = 1,    17,
e_we                   = 74,   112,
e_sn                   = 61,   97,
geog_data_res          = '10m','2m',
dx = 30000,
dy = 30000,
map_proj = 'lambert',
ref_lat   =  34.83,
ref_lon   = -81.03,
truelat1  =  30.0,
truelat2  =  60.0,
stand_lon = -98.0,
geog_data_path = '/usr/local/geog/geog',
/

&ungrib
out_format = 'WPS',
prefix = 'FILE',
/

&metgrid
fg_name = 'FILE'
io_form_metgrid = 2
/


自动生成的namelist.input如下:
&time_control
run_days                       = 0,
run_hours                      = 72,
run_minutes                    = 0,
run_seconds                    = 0,
start_year                     = 2016, 2016,
start_month                    = 07,   07,
start_day                      = 09,   09,
start_hour                     = 00,  00,
start_minute                   = 00,   00,
start_second                   = 00,   00,
end_year                       = 2016, 2016,
end_month                      = 07,   07,
end_day                        = 12,   12,
end_hour                       = 00,   00
end_minute                     = 00,   00
end_second                     = 00,   00
interval_seconds               = 21600
input_from_file                = .true.,.true.,
history_interval               = 180,  60,
frames_per_outfile             = 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,
time_step_fract_num            = 0,
time_step_fract_den            = 1,
max_dom                        = 1,
e_we                           = 74,   112,
e_sn                           = 61,   97,
e_vert                         = 30,   30,
p_top_requested                = 5000,
num_metgrid_levels             = 32,
num_metgrid_soil_levels        = 4,
dx                             = 30000, 10000,
dy                             = 30000, 10000,
grid_id                        = 1,    2,
parent_id                      = 0,    1,
i_parent_start                 = 1,    31,
j_parent_start                 = 1,    17,
parent_grid_ratio              = 1,    3,
parent_time_step_ratio         = 1,    3,
feedback                       = 1,
smooth_option                  = 0,
/

&physics
mp_physics                     = 3,     3,
ra_lw_physics                  = 1,     1,
ra_sw_physics                  = 1,     1,
radt                           = 30,    30,
sf_sfclay_physics              = 1,     1,
sf_surface_physics             = 2,     2,
bl_pbl_physics                 = 1,     1,
bldt                           = 0,     0,
cu_physics                     = 1,     1,
cudt                           = 5,     5,
isfflx                         = 1,
ifsnow                         = 1,
icloud                         = 1,
surface_input_source           = 1,
num_soil_layers                = 4,
sf_urban_physics               = 0,     0,
/

&fdda
/

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

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

&grib2
/

&namelist_quilt
nio_tasks_per_group            = 0,
nio_groups                     = 1,
/

不知道问题出在哪了,手动修改namelist.input,real.exe和wrf.exe都能顺利运行,对比了两个namelist.input没找到其他不同点,唯一的不同就是在自动生成namelist.input的时候,为了对其使用了Tab键,不知道会不会影响运行,求大神知道,谢谢!

密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-7-22 14:28:26 | 显示全部楼层
不知道哪里有问题,自己找原来备份的namelist,复制到脚本中,再进行修改就没有问题了,应该就是自己手动输入的时候笔误吧
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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