爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8030|回复: 15

转WRF,但是geogrid.exe提示有错too many constants to initialize group item

[复制链接]
发表于 2015-9-1 20:35:36 | 显示全部楼层 |阅读模式
数值模式
使用语言: fortran
我看过提问的智慧: 看过
自己思考时长(天): 3
问题概况: 转WRF,但是geogrid.exe提示有错too many constants to initialize group item
问题截图: -
系统平台: wrf

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

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

x
huanglei@FORECASTER:~/WPSV3.1> ./geogrid.exe
PGFIO-F-233/namelist read/unit=10/too many constants to initialize group item.
File name = namelist.wps    formatted, sequential access   record = 19
In source file gridinfo_module.f90, at line number 128


不知道是啥原因,求大神们解答啊

密码修改失败请联系微信:mofangbao
发表于 2015-9-1 21:14:25 | 显示全部楼层
你的namelist.wps是设成怎样,贴出来看看
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-1 21:23:07 | 显示全部楼层
hwl1943 发表于 2015-9-1 21:14
你的namelist.wps是设成怎样,贴出来看看

&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2013-07-31_12:00:00','2013-07-31_12:00:00','2013-07-31_12:00:00',
end_date   = '2013-08-01_12:00:00','2013-08-01_12:00:00','2013-08-01_12:00:00',
interval_seconds = 10800,
io_form_geogrid = 2,
/

&geogrid
parent_id         = 1,1,2,
parent_grid_ratio = 1,3,3,
i_parent_start    = 1,32,20,
j_parent_start    = 1,37,20,
e_we          = 100,112,150,
e_sn          = 100,100,170,
geog_data_res = '10m','2m','2m',
dx = 45000,15000,5000
dy = 45000,15000,5000
map_proj =  'lambert',
ref_lat   = 34.30,
ref_lon   = 108.93,
truelat1  = 30.0,
truelat2  = 60.0,
stand_lon = 108.93,
geog_data_path = '/home/huanglei/geog',
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/

&metgrid
fg_name = 'FILE',
io_form_metgrid = 2,
opt_output_from_metgrid_path = '/home/huanglei/WRFV3.1/run',
/
&mod_levs
press_pa = 201300 , 200100 , 100000 ,
             95000 ,  90000 ,
             85000 ,  80000 ,
             75000 ,  70000 ,
             65000 ,  60000 ,
             55000 ,  50000 ,
             45000 ,  40000 ,
             35000 ,  30000 ,
             25000 ,  20000 ,
             15000 ,  10000 ,
              5000 ,   1000
/

~
密码修改失败请联系微信:mofangbao
发表于 2015-9-1 22:25:12 | 显示全部楼层
你再推敲一下这个部分,是否满足一些常备的关系了
QQ截图20150901222414.jpg
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-6 14:29:28 | 显示全部楼层
本帖最后由 黄小仙儿 于 2015-9-7 09:48 编辑
lhaikun@163.com 发表于 2015-9-1 22:25
你再推敲一下这个部分,是否满足一些常备的关系了

我用ncl画。nanmelist.wps,可以画出来啊
QQ图片20150906174245.png
密码修改失败请联系微信:mofangbao
发表于 2015-9-10 21:58:29 | 显示全部楼层
你的namelist.wps中
e_we              =  100, 112, 150,
e_sn              =  100, 100, 170,
应该修改为
e_we              =  100, 112, 151,
e_sn              =  100, 100, 169,
(e_we-s_we+1)或(e_sn-s_sn+1)被3除之后,余数应为1,s_we或s_sn默认值为1。

dx = 45000,15000,5000
dy = 45000,15000,5000
应该修改为
dx = 45000
dy = 45000
你的错误讯息就是在dx、dy这边出错,因为我们已经设定每个网格比例了。
这样的设定我在WPSV3.5.1中可以正确执行。
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-11 09:25:55 | 显示全部楼层
hwl1943 发表于 2015-9-10 21:58
你的namelist.wps中
e_we              =  100, 112, 150,
e_sn              =  100, 100, 170,

太感谢了,我已经一层层修改转通了,改成两层嵌套看。多谢提醒。可是现在我./resl.exe提醒Error in boundary condition specification
*** Error in boundary condition specification
   boundary conditions at xs             2
   boundary conditions at xe             2
   boundary conditions at ys             2
   boundary conditions at ye             2
   boundary conditions logicals are
   periodic_x     F
   periodic_y     F
   symmetric_xs   F
   symmetric_xe   F
   symmetric_ys   F
   symmetric_ye   F
   open_xs        F
   open_xe        F
   open_ys        F
   open_ye        F
   polar          F
   nested         T
   specified      T
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     165
  *** Error in boundary condition specification
-------------------------------------------
不知道是什么原因,请大神帮忙看看
这是我的namelist。input:
&time_control
run_days                            = 0,
run_hours                           = 24,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2013,2013,
start_month                         = 07,07,
start_day                           = 31,31,
start_hour                          = 12,12,
start_minute                        = 00,00,
start_second                        = 00,00,
end_year                            = 2013,2013,
end_month                           = 08,08,
end_day                             = 01,01,
end_hour                            = 12,12,
end_minute                          = 00,00,
end_second                          = 00,00,
interval_seconds                    = 21600,
input_from_file                     = .true., .true.,
history_interval                    = 60, 60,
frames_per_outfile                  = 1000, 1000,
restart                             = .false.,
restart_interval                    = 7200,
io_form_history                     = 2,
io_form_restart                     = 2,
io_form_input                       = 2,
io_form_boundary                    = 2,
debug_level                         = 0,
write_input                         = .false.
inputout_interval                   = 60,
input_outname                       = "wrfvar_input_d<domain>_<date>"
/
&domains
time_step                           = 120,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 2,
e_we                                = 97,199,
e_sn                                = 97,199,
e_vert                              = 37,37,
p_top_requested                     = 5000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 15000,5000,
dy                                  = 15000,5000,
grid_id                             = 1,2,
parent_id                           = 0,1,
i_parent_start                      = 1,19,
j_parent_start                      = 1,19,
parent_grid_ratio                   = 1,3,
parent_time_step_ratio              = 1,3,
max_ts_locs                         = 100,
feedback                            = 0,
smooth_option                       = 2,
interp_type                         = 2,
use_adaptive_time_step              = .false.
target_cfl                          = 1.2,1.2,
max_step_increase_pct               = 5,51,
/
&physics
mp_physics                          = 2,2,
ra_lw_physics                       = 1,1,
ra_sw_physics                       = 1,1,
radt                                = 45,15,
sf_sfclay_physics                   = 1,1,
sf_surface_physics                  = 1,1,
bl_pbl_physics                      = 1,1,
bldt                                = 0,0,
cu_physics                          = 1,1,
cudt                                = 6,6,
isfflx                              = 1,
ifsnow                              = 0,
icloud                              = 1,
surface_input_source                = 1,
num_soil_layers                     = 5,
sf_urban_physics                    = 0,0,
maxiens                             = 1,
maxens                              = 3,
maxens2                             = 3,
maxens3                             = 16,
ensdim                              = 144,
/
&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                            = 1,
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.,.true.,
nested                              = .false.,.true.,
/

&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/



密码修改失败请联系微信:mofangbao
发表于 2015-9-11 21:47:43 | 显示全部楼层
黄小仙儿 发表于 2015-9-11 09:25
太感谢了,我已经一层层修改转通了,改成两层嵌套看。多谢提醒。可是现在我./resl.exe提醒Error in bound ...

你在WPS安装目录执行完metgrid.exe后,会产生met_em.d*的档案,这些档案在连结回移动到WRF安装目录下的run目录,执行real.exe,
你的namelist.input中
input_outname= "wrfvar_input_d<domain>_<date>"
这是有使用3D VAR,修改为
auxinput1_inname                    = "met_em.d<domain>.<date>"
auxinput1_inname,表示初始及边界数据由WPS产生。
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-9-14 09:50:35 | 显示全部楼层
hwl1943 发表于 2015-9-11 21:47
你在WPS安装目录执行完metgrid.exe后,会产生met_em.d*的档案,这些档案在连结回移动到WRF安装目录下的ru ...

谢谢大神,我按照你的方法改了input文件,可还是同样的错误
DYNAMICS OPTION: Eulerian Mass Coordinate
d01 2013-07-31_12:00:00 Timing for input          0 s.
d01 2013-07-31_12:00:00          flag_soil_layers read from met_em file is  1
   *** Error in boundary condition specification
   boundary conditions at xs             2
   boundary conditions at xe             2
   boundary conditions at ys             2
   boundary conditions at ye             2
   boundary conditions logicals are
   periodic_x     F
   periodic_y     F
   symmetric_xs   F
   symmetric_xe   F
   symmetric_ys   F
   symmetric_ye   F
   open_xs        F
   open_xe        F
   open_ys        F
   open_ye        F
   polar          F
   nested         T
   specified      T
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     165
  *** Error in boundary condition specification
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0   1 s.
d01 2013-08-01_00:00:00 Timing for input          0 s.
d01 2013-08-01_00:00:00          flag_soil_layers read from met_em file is  1
d01 2013-08-01_00:00:00 Old data, no inland lake information
d01 2013-08-01_00:00:00 Soil temperature closest to   30.00 at level  25
d01 2013-08-01_00:00:00 Timing for processing          1 s.
d01 2013-08-01_00:00:00 Timing for output          0 s.
d01 2013-08-01_00:00:00 Timing for loop #    3 =          1 s.
d01 2013-08-01_06:00:00 Timing for input          0 s.
d01 2013-08-01_06:00:00          flag_soil_layers read from met_em file is  1
d01 2013-08-01_06:00:00 Old data, no inland lake information
d01 2013-08-01_06:00:00 Soil temperature closest to   30.00 at level  25
d01 2013-08-01_06:00:00 Timing for processing          1 s.
d01 2013-08-01_06:00:00 Timing for output          0 s.
d01 2013-08-01_06:00:00 Timing for loop #    4 =          1 s.
d01 2013-08-01_12:00:00 Timing for input          0 s.
d01 2013-08-01_12:00:00          flag_soil_layers read from met_em file is  1
d01 2013-08-01_12:00:00 Old data, no inland lake information
d01 2013-08-01_12:00:00 Soil temperature closest to   30.00 at level  25
d01 2013-08-01_12:00:00 Timing for processing          1 s.
d01 2013-08-01_12:00:00 Timing for output          0 s.
d01 2013-08-01_12:00:00 Timing for loop #    5 =          1 s.
  *************************************
  Nesting domain
  ids,ide,jds,jde             1          199            1          199
  ims,ime,jms,jme            -4          204           -4          204
  ips,ipe,jps,jpe             1          199            1          199
  INTERMEDIATE domain
  ids,ide,jds,jde            17           88           17           88
  ims,ime,jms,jme            12           93           12           93
  ips,ipe,jps,jpe            15           90           15           90
  *************************************
d02 2013-07-31_12:00:00 Timing for input          0 s.
d02 2013-07-31_12:00:00          flag_soil_layers read from met_em file is  1
   *** Error in boundary condition specification
   boundary conditions at xs             2
   boundary conditions at xe             2
   boundary conditions at ys             2
   boundary conditions at ye             2
   boundary conditions logicals are
   periodic_x     F
   periodic_y     F
   symmetric_xs   F
   symmetric_xe   F
   symmetric_ys   F
   symmetric_ye   F
   open_xs        F
   open_xe        F
   open_ys        F
   open_ye        F
   polar          F
   nested         T
   specified      T
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     165
  *** Error in boundary condition specification
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 03-07-31_00:02:30 on domain   2:   68.62421 elapsed seconds.
Timing for main: time 2013-07-31_00:02:40 on domain   3:   18.83913 elapsed seconds.
Timing for main: time 2013-07-31_00:02:50 on domain   3:   18.97235
密码修改失败请联系微信:mofangbao
发表于 2015-9-14 21:55:23 | 显示全部楼层
黄小仙儿 发表于 2015-9-14 09:50
谢谢大神,我按照你的方法改了input文件,可还是同样的错误
DYNAMICS OPTION: Eulerian Mass Coordinat ...

你是使用NCEP的GFS数据吗?
把你的namelist.wps、namelist.input及Vtable寄给我(hwl1943@gmail.com),我帮你试试。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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