爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3285|回复: 2

[图形美化] 如 何 利 用 'tcorr' 命 令对 CMIP5数 据 计 算 相 关 性

[复制链接]

新浪微博达人勋

发表于 2014-11-14 22:27:55 | 显示全部楼层 |阅读模式

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

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

x
I am trying to use 'tcorr' command to calculate correlation between ENSO3.4 and 500-mb-hgt. All data are winter (djf) mean time series derived from CMIP5 data, and the script is below. I run this successfully on reanalyis data, but it doesn't work for CMIP5 data.

'reinit'
'sdfopen ts_Amon_IPSL-CM5A-LR_historical_r1-6i1p1_185001-200512.djf.mean.nc'
'sdfopen zg_Amon_IPSL-CM5A-LR_historical_r1-6i1p1_500mb_185001-200512.djf.mean.nc'
'set x 1'
'set y 1'
'set z 1'
'set t 1 155'
'define enso34=aave(ts.1,lon=-170,lon=-120,lat=-5,lat=5)'
'set lon -180 180'
'set lat -90 90'
'set z 1'
'set t 1'
'define r=tcorr(enso34,zg.2,t=1,t=155)'

'd r'

But this fails to work, and the error shows as fellow:
SDF: The double precision values of the variable lon_bnds will be automatically converted to single precision
SDF: The double precision values of the variable lat_bnds will be automatically converted to single precision
....
Data request warning: request beyond file limits
....

Any suggestion would be greatly appreciated.


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

新浪微博达人勋

发表于 2014-11-15 06:48:37 | 显示全部楼层
The error is about sdfopen, have you checked the version of both GrADS and CMIP5 datasets?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-11-15 10:45:39 | 显示全部楼层
沙颖凯 发表于 2014-11-15 06:48
The error is about sdfopen, have you checked the version of both GrADS and CMIP5 datasets?

Thanks for your kind help!
The version of Grads I used is GrADS19, because it can open a 365-day calendars file using 'sdfopen'.
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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