爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 2779|回复: 4

[图形美化] grads初学者请教各位大神,降水序列和水汽通量的相关出错,求教

[复制链接]

新浪微博达人勋

发表于 2014-7-9 17:27:19 | 显示全部楼层 |阅读模式

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

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

x
grads初学者请教各位大神,gs文件是求的降水序列和水汽通量的相关时出错,求教是哪个地方错了?

gs:
'reinit'
'open F:\duo_shao\Correlation\water_flux_spring.ctl'
'open F:\duo_shao\Correlation\spring_pre2.ctl'

'set dfile 2'
'set x 1'
'set y 1'
'set z 1'
'set t 1'
'define a=rain.2'

'set dfile 1'
'set lon 60 150'
'set lat 0 50'
'set z 1'
'set t 1'
'set gxout contour'
'd tcorr(a,quv,t=1,t=52)'

'printim F:\duo_shao\Correlation\Ravg_xg_'lev1'.jpg'
'print'



grads报错如下:




把我的ctl贴出来
water_flux_spring.ctl:
dset F:\duo_shao\Correlation\water_flux_spring.grd
undef -999.0
title  65 year of water flux
xdef 73 linear 0 2.5
ydef 37 linear 0 2.5
zdef 1 Linear 300 1
tdef 52 linear JAN1948 1mo
vars 1
quv 0 99 month of watervapor
endvars


spring_pre2.ctl:
dset F:\duo_shao\Correlation\spring_pre2.grd
undef -999.0
title sample 200 1961
xdef  1 linear 0 1
ydef  1 linear 0 1
zdef 1 levels 200
tdef 52 linear 01JAN1961 1yr
vars 1
rain 0 99 timeseries rain data
endvars

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

新浪微博达人勋

 楼主| 发表于 2014-7-9 17:34:41 | 显示全部楼层

grads初学者请教各位大神,gs文件是求的降水序列和水汽通量的相关时出错,求教

本帖最后由 范小妞 于 2014-7-9 17:34 编辑

grads初学者请教各位大神,gs文件是求的降水序列和水汽通量的相关时出错,求教是哪个地方错了?

gs:
'reinit'
'open F:\duo_shao\Correlation\water_flux_spring.ctl'
'open F:\duo_shao\Correlation\spring_pre2.ctl'

'set dfile 2'
'set x 1'
'set y 1'
'set z 1'
'set t 1'
'define a=rain.2'

'set dfile 1'
'set lon 60 150'
'set lat 0 50'
'set z 1'
'set t 1'
'set gxout contour'
'd tcorr(a,quv,t=1,t=52)'

'printim F:\duo_shao\Correlation\Ravg_xg_'lev1'.jpg'
'print'



grads报错如下:

1

1




把我的ctl贴出来
water_flux_spring.ctl:
dset F:\duo_shao\Correlation\water_flux_spring.grd
undef -999.0
title  65 year of water flux
xdef 73 linear 0 2.5
ydef 37 linear 0 2.5
zdef 1 Linear 300 1
tdef 52 linear JAN1948 1mo
vars 1
quv 0 99 month of watervapor
endvars


spring_pre2.ctl:
dset F:\duo_shao\Correlation\spring_pre2.grd
undef -999.0
title sample 200 1961
xdef  1 linear 0 1
ydef  1 linear 0 1
zdef 1 levels 200
tdef 52 linear 01JAN1961 1yr
vars 1
rain 0 99 timeseries rain data
endvars


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

新浪微博达人勋

发表于 2014-7-9 19:48:31 | 显示全部楼层
那个又不是错误提示,你的图出来了吗?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-7-10 09:15:10 | 显示全部楼层
river 发表于 2014-7-9 19:48
那个又不是错误提示,你的图出来了吗?

图出来了,就是什么都没有,图上显示“entire grid undefined”,大牛帮忙啊,我查了一下午也没发现哪里出错,初学者伤不起啊。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-1 09:44:47 | 显示全部楼层
两个CTL的时间不对
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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