爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5597|回复: 4

wrfout用ARWpost后处理时的问题

[复制链接]
发表于 2014-3-19 21:57:08 | 显示全部楼层 |阅读模式

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

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

x
wrfout文件出来之后,用ARWpost后处理,再用grads画图,出来的图如下,感觉好像是几张图拼在一起的,如果在grads里面调整时次,则后几个时次没有数值,我想会不会是之前的时次都挤在一张图上面了,导致后面的时次没有图。但是用ncl的简单脚本处理wrfout文件就可以画出各个时次的图,虽然比较粗糙,但可以看出ncl画的是正确的,这就说明wrfout文件应该没有问题,那是不是ARWpost后处理过程出现什么问题了?下面是一张grads图和一张ncl画得图,各位大神

grads图(问题)

grads图(问题)

ncl图(正确)

ncl图(正确)
帮忙看看,不胜感激。
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2014-3-19 22:02:04 | 显示全部楼层
WPS脚本:
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2011-07-20_00:00:00','2011-07-20_00:00:00',
end_date   = '2011-07-21_00:00:00','2011-07-21_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/

&geogrid
parent_id         =   1,   1,
parent_grid_ratio =   1,   3,
i_parent_start    =   1,  70,
j_parent_start    =   1,  24,
e_we              =  188, 268,
e_sn              =  164,  265,
geog_data_res     = '10m','5m',
dx = 27000,
dy = 27000,
map_proj = 'lambert',
ref_lat   =  33.65,
ref_lon   = 107.793,
truelat1  =  60.0,
truelat2  =  30.0,
stand_lon = 107.793,
geog_data_path = '/home/data/geog'
/

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

&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
/






wrf脚本:
&time_control
run_days                            = 0,
run_hours                           = 24,
run_minutes                         = 0,
run_seconds                         = 0,
start_year                          = 2011, 2011, 2011,
start_month                         = 07,   07,   07,
start_day                           = 20,   20,   20,
start_hour                          = 00,   00,   00,
start_minute                        = 00,   00,   00,
start_second                        = 00,   00,   00,
end_year                            = 2011, 2011, 2011,
end_month                           = 07,   07,   07,
end_day                             = 21,   21,   21,
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                           = 120,
time_step_fract_num                 = 0,
time_step_fract_den                 = 1,
max_dom                             = 2,
e_we                                = 188,    268,   94,
e_sn                                = 164,    265,    91,
e_vert                              = 28,    28,    28,
p_top_requested                     = 5000,
num_metgrid_levels                  = 27,
num_metgrid_soil_levels             = 4,
dx                                  = 27000, 9000,  3333.33,
dy                                  = 27000, 9000,  3333.33,
grid_id                             = 1,     2,     3,
parent_id                           = 0,     1,     2,
i_parent_start                      = 1,     70,    30,
j_parent_start                      = 1,     24,    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,
/




ARWpost脚本:
&datetime
start_date = '2011-07-20_00:00:00',
end_date   = '2011-07-21_00:00:00',
interval_seconds = 21600,
tacc = 0,
debug_level = 0,
/

&io
input_root_name = './wrfout_d01_2011-07-20_00:00:00'
output_root_name = './test'
plot = 'all_list'
fields = 'height,pressure,tk,tc'
mercator_defs = .true.
/
split_output = .true.
frames_per_outfile = 2


plot = 'all'
plot = 'list'
plot = 'all_list'
! Below is a list of all available diagnostics
fields = 'height,geopt,theta,tc,tk,td,td2,rh,rh2,umet,vmet,pressure,u10m,v10m,wdir,wspd,wd10,ws10,slp,mcape,mcin,lcl,lfc,cape,cin,dbz,max_dbz,clfr'


&interp
interp_method = 1,
interp_levels = 1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,
/
extrapolate = .true.

interp_method = 0,     ! 0 is model levels, -1 is nice height levels, 1 is user specified pressure/height

interp_levels = 1000.,950.,900.,850.,800.,750.,700.,650.,600.,550.,500.,450.,400.,350.,300.,250.,200.,150.,100.,
interp_levels = 0.25, 0.50, 0.75, 1.00, 2.00, 3.00, 4.00, 5.00, 6.00, 7.00, 8.00, 9.00, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0,
密码修改失败请联系微信:mofangbao
发表于 2014-3-28 13:00:19 | 显示全部楼层
ARWpost中interval_seconds = 21600,设置不对,应该是10800
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2014-3-30 18:58:37 | 显示全部楼层
风荷1 发表于 2014-3-28 13:00
ARWpost中interval_seconds = 21600,设置不对,应该是10800

可以设成10800的,它会在原有的基础上自行生成原本没有的时间,这个问题解决了   是因为我犯二了,ctl的路径没写对,打开的是另外的一个dat文件
密码修改失败请联系微信:mofangbao
发表于 2016-3-9 18:22:03 | 显示全部楼层
可以分享下gs脚本么
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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