爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 17261|回复: 26

【已解决】real.exe运行出错,Mismatch between namelist and global attribute NU...

[复制链接]

新浪微博达人勋

发表于 2016-9-20 19:30:16 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 JHONG 于 2016-9-30 09:40 编辑

使用的近期的gfs数据和3.5版本的WRF,三层嵌套,前处理过程比较顺利,得到了met_em*数据,将前处理结果link到WRF/run下之后,执行./real.exe时总出错,错误如下:

----------------- ERROR -------------------
namelist    : num_metgrid_soil_levels =          4
input files : NUM_METGRID_SOIL_LEVELS =          0 (from met_em files).
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     695
Mismatch between namelist and global attribute NUM_METGRID_SOIL_LEVELS
-------------------------------------------


在namelist.input中将NUM_METGRID_SOIL_LEVELS 修改为=0后,再次执行,得到的错误是:


  Missing surface temp, replaced with closest level, use_surface set to false.
  Missing surface RH, replaced with closest level, use_surface set to false.
  Missing surface u wind, replaced with closest level, use_surface set to false.
  Missing surface v wind, replaced with closest level, use_surface set to false.
ERROR in psfc: flag_psfc =  0, flag_soilhgt =  0, flag_slp =  0, sfcp_to_sfcp = F
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1029
not enough info for a p sfc computation
-------------------------------------------


在家园搜索了类似问题,始终找不到好的解决方案,一直卡着没法往下进行,求各位路过的大神多多指教,谢谢了。。

补充:谢谢各位的回复,我把namelist.wps和namelist.input补充过来:
namelist.wps如下:
-------------------------------------------
&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2016-09-18_00:00:00','2016-09-18_00:00:00','2016-09-18_00:00:00',
end_date   = '2016-09-19_00:00:00','2016-09-19_00:00:00','2016-09-19_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/


&geogrid
parent_id         =   1,   1,         2,
parent_grid_ratio =   1,   3,         3,
i_parent_start    =   1,  56,        21,
j_parent_start    =   1,  14,        16,
e_we              = 100, 106, 217,
e_sn              =  75, 112, 181,
geog_data_res     = '10m','10m','10m'
dx = 50400,
dy = 50400,
map_proj = 'lambert',
ref_lat   = 36.316,
ref_lon   = 99.083,
truelat1  = 36.316,
truelat2  = 36.316,
stand_lon = 99.083,
geog_data_path = '/home/hong/alldata/geog',
/


&ungrib
out_format = 'WPS',
prefix = '/home/hong/alldata/ungrib/2016/sep/20160918/GFSMET',
/


&metgrid
fg_name = '/home/hong/alldata/ungrib/2016/sep/20160918/GFSMET'
opt_output_from_metgrid_path = '/home/hong/alldata/metgrid/2016/sep/20160918/',
io_form_metgrid = 2,
/


namelist.input如下:
-------------------------------------------

&time_control
run_days                            = 0,
run_hours                           = 24,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2016, 2016, 2016,
start_month                         = 09,   09,   09,
start_day                           = 18,   18,   18,
start_hour                          = 00,   00,   00,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2016, 2016, 2016,
end_month                           = 09,   09,   09,
end_day                             = 19,   19,   19,
end_hour                            = 00,   00,   00,
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                                = 100,    106,   217,
e_sn                                = 75,    112,    181,
e_vert                              = 30,    30,    30,
p_top_requested                     = 5000,
num_metgrid_levels                  = 22,
num_metgrid_soil_levels             = 4,
dx                                  = 50400,
dy                                  = 50400,
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,
km_opt                              = 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

新浪微博达人勋

 楼主| 发表于 2016-9-20 20:52:31 | 显示全部楼层

是用的新的Vtable
http://www2.mmm.ucar.edu/wrf/src/Vtable.GFS_new

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

新浪微博达人勋

 楼主| 发表于 2016-9-21 14:37:34 | 显示全部楼层
pangzi_xu 发表于 2016-9-21 08:58
那你生成的met_em文件里面怎么没有土壤数据

是的,可是,这是为什么呢?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-9-21 14:54:43 | 显示全部楼层
怎么会没有土壤?
您可以试着把namelist。wps和input都发一下看看。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-9-21 15:06:55 | 显示全部楼层
astiny 发表于 2016-9-21 14:54
怎么会没有土壤?
您可以试着把namelist。wps和input都发一下看看。。。

搞不懂为什么WPS得到的数据没有土壤,发邮件到wrfhelp问了一下,回复说要用新的vtable,但用给的新的vtable试了多次,还是不行……
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-9-21 15:07:45 | 显示全部楼层
JHONG 发表于 2016-9-21 15:06
搞不懂为什么WPS得到的数据没有土壤,发邮件到wrfhelp问了一下,回复说要用新的vtable,但用给的新的vtab ...

会不会是wps没编译好。。。(瞎猜)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-9-21 15:08:14 | 显示全部楼层
或者问题可能出在wps。你可以发一下看看。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-9-21 15:17:11 | 显示全部楼层
astiny 发表于 2016-9-21 15:08
或者问题可能出在wps。你可以发一下看看。

WPS怎么发。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-9-21 18:46:07 | 显示全部楼层
JHONG 发表于 2016-9-21 15:17
WPS怎么发。。。

我指的是你的namelist.wps文件啦。。。
顺便把namelist.input也发一下吧。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-9-21 18:51:53 | 显示全部楼层
astiny 发表于 2016-9-21 18:46
我指的是你的namelist.wps文件啦。。。
顺便把namelist.input也发一下吧。。。

在最前面补充了
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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