- 积分
- 68
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-1-12
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
***本人新手*** 
情况是这样的,
资料是2.5×2.5°的NC逐日资料和NC的ltm多年平均资料,
要做的是四天的平均高度场与同期多年平均高度场的距平。
以下是我的gs:
'reinit'
'sdfopen hgt.day.1981-2010.ltm.nc'
'sdfopen hgt.2012.nc'
'enable print anomaly-500hPa-height.gmf'
'set parea 1 10 1 8'
'set frame circle'
'set mpdset cnworld'
'set mproj nps'
'set grads off'
'set map 1 1 5'
'set lon -90 270'
'set lat 20 90'
'set lev 500'
'define aveH1=ave(hgt.1,t=335,t=338)'
'define aveH2=ave(hgt.2,t=336,t=339)'
'define anom=aveH2-aveH1'
'set gxout contour'
'set ccolor 4'
'set cthick 5'
'd anom/10'
'q w2xy 90 18'
x1=subwrd(result,3);y1=subwrd(result,6)
'set string 1 l 5 0'
'draw string 'x1' 'y1' 90E'
'q w2xy 180 16'
x2=subwrd(result,3);y2=subwrd(result,6)
'set string 1 c 5 0'
'draw string 'x2' 'y2' 180E'
'q w2xy 270 18'
x3=subwrd(result,3);y3=subwrd(result,6)
'set string 1 r 5 0'
'draw string 'x3' 'y3' 90W'
'q w2xy 360 16'
x4=subwrd(result,3);y4=subwrd(result,6)
'set string 1 c 5 0'
'draw string 'x4' 'y4' 180W'
'print'
'printim anomaly-500hPa-height.png white'
'disable print'
'reinit'
运行了之后总是提醒错误,好像意思是需求超出了文件限制。
请大家帮忙看看吧~{:soso_e154:}
|
|