爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6094|回复: 3

[其他] wrf运行real程序时出错,哪位大神也遇到相似问题,求指导谢谢!

[复制链接]
发表于 2017-8-27 16:44:26 | 显示全部楼层 |阅读模式

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

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

x
namelist.wps参数设置如下:
&share
wrf_core = 'ARW',
max_dom = 1,
start_date = '2000-01-24_12:00:00',
end_date  = '2000-01-25_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id         =  1,
parent_grid_ratio =   1,
i_parent_start    =  1,
j_parent_start    =  1,
e_we              = 74,
e_sn              = 61,
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 ='/home/optics/WRF/WRF37/TerrestrialData/geog_before38/'
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/
&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
/
namelist.input参数设置如下:
&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.,.true.,.true.,
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,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 1,
e_we                                = 74,    112,  94,
e_sn                                = 61,    97,   91,
e_vert                              = 30,    30,   30,
p_top_requested                     = 5000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 30000,10000,  3333.33,
dy                                  = 30000,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
/
&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                  = 2,     2,    2,
bl_pbl_physics                      = 1,     1,    1,
bldt                                = 0,     0,    0,
cu_physics                          = 1,     1,    0,
cudt                                = 5,     5,    5,
isfflx                              = 1,
ifsnow                              = 1,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 4,
sf_urban_physics                    = 0,     0,    0,
/
&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                       = 1,      1,     1,     
scalar_adv_opt                      = 1,      1,     1,     
/
&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,
/

密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-28 16:53:24 | 显示全部楼层
packard 发表于 2017-8-28 10:58
运行real.exe 和 wrf.exe都会输出一个叫namelist.output的文件。现在报错是说打开这个文件发生错误。一般是 ...

答主好人!!!我把namelist.output删除之后就没有报错了!!
刚刚接触气象家园还木有熟悉好
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2017-8-27 16:45:47 | 显示全部楼层
错误提示:

如图

如图
密码修改失败请联系微信:mofangbao
发表于 2017-8-28 10:58:54 | 显示全部楼层
运行real.exe 和 wrf.exe都会输出一个叫namelist.output的文件。现在报错是说打开这个文件发生错误。一般是权限问题,比如:
1. namelist.output 已经存在,但是没有写入权限。ls -l namelist.output 看看前面有没有w权限。chmod u+w namelist.output 可以赋予写入权限。
2. 这个文件夹没有写的权限,不能在此文件夹(test/em_real)下新建任何文件。ls -l ./ 可以看看这个文件夹有没有w 权限。chmod u+w ./ 可以赋予写入权限。
3. 硬盘已满。df -h ./ 可以查看硬盘空间。

ps.发错版了吧..
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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