爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2791|回复: 0

[图形美化] 文件用corr求相关出错

[复制链接]
发表于 2016-6-14 17:41:42 | 显示全部楼层 |阅读模式

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

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

x
用pdo指数和高度场求相关
下面分别是gs文件和ctl文件:
'reinit '
'set xlopts 1 6 0.16'
'set ylopts 1 6 0.16'
'set ylint 20'
'set grid off'
'set grads off'
*****************compute corr*********************
'open e:\grads\jmr\cor\hgt.ctl'
'open e:\grads\jmr\cor\pc.ctl'

'set x 1'
'set y 1'
'set z 1'
'set t 1 37'
'define funny=pdo'
'set dfile 2'
'set lon 0 357.5'
'set lat -20 60'
'set z 1'
'set t 1'
'define tt=tcorr(funny,hgt,t=1,t=37)'
**********paint pic***************
'set gxout shaded'
'set clevs -0.274  0.274'
'set rgb 34 171 171 171'
'set ccols 34 0 34'
'd tt'
'set gxout contour'
'set cthick 6'
'set cint 0.2'
'set font 5'
'd tt'
*'printim e:\renyj\grads\corr\tcorr.gif  white'
'enable print e:\grads\jmr\cor\tcorr.gmf'
'print'
*'clear'
'disable print'
;
hgt.ctl::
dset e:\grads\jmr\cor\hgt.grd
title grid data
undef -9.99e8
xdef 144 linear 0 2.5
ydef 73 linear -90 2.5
zdef 1 levels  0 1
tdef 37 linear 01jan1979 1yr
vars 1
hgt=>hgt 0  t,y,x monthly means of hgt
endvars

pc.ctl::
dset e:\grads\jmr\cor\pdo.grd
title  time_pc
undef 999
xdef 1 linear 0 1
ydef 1 linear 0 1
zdef 1 linear 0 1
tdef 37 linear 01jan1979 1yr
vars 1
pdo 0 99
endvars

运行出错: QQ图片20160614174317.png

请高手帮忙看看是哪的问题?

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

本版积分规则

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

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

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