- 积分
- 3302
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-11-12
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
这是我的ncl程序
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
path = "E:/data/li/need/tas_Amon_FGOALS2-s_rcp45_r1i1p1_200601-210012.nc"
nc_file = addfile(path,"r")
;print(nc_file)
temp = nc_file->tas(:,:,:)
lat = nc_file->lat(:)
lon = nc_file->lon(:)
latx = fspan(-90.0,90.0,362)
lonx = fspan(0.0,360.0,720)
tempx = new((/100,362,720/),typeof(temp))
print(lonx(700:719))
tempx = linint2_Wrap(lon,lat,temp,True,lonx,latx,0)
end
其中tempx = new((/100,362,720/),typeof(temp))这一行当中第一维时间,设置100就可以,设置10000时,会出现图片这样,请问这是因为定义的数组太大么?
|
|