- 积分
- 6529
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-9-26
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
grads画风云2F云顶温度图,所用ctl如下:
dset E:\FY\ctt\20150627_30\FY2F_CTT_MLT_OTG_201506%d2_%h230.AWX
*******
*注意此处的数据文件格式的后缀名多了.awx*
*******
*title Sample GRIB Data
options template
options yrev
undef -999
xdef 1001 linear 62.0 0.1
ydef 1001 linear -45.0 0.1
zdef 1 linear 1000 1
tdef 96 linear 00:30Z27jun2015 1hr
vars 1
ctt 1 -1,40,2 Geopotential Heights (m)
endvars
所用gs如下:
'reinit'
'open E:\FY\ctt\ctt.ctl'
'set grads off'
'set grid off'
'set lat 17 54'
'set lon 75 135'
'set mpdset cnworld'
'set parea 0.8 9.2 0.3 8.5'
i=1
while(i<=96)
'set t 'i''
'set xlopts 1 1 0.15'
'set ylopts 1 1 0.15'
*'set xlint 2'
*'set ylint 2'
'set clevs 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 '
'E:\FY\ctt\16colors.gs'
'set gxout shaded'
'd ctt'
'cbarn'
'printim E:\FY\ctt\tu\2015ctt_'i'.png white'
'c'
i=i+1
endwhile
'disable print'
但是为什么出的图是这样的:
所有的图都只有这一种颜色!!!
大神知道这是什么原因么,急!!
谢谢!
|
|