- 积分
- 2663
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-9-14
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 凝蓝_@薇微笑 于 2017-5-23 10:58 编辑
站点资料生成了二进制文件并且生成了map文件以及格点ctl,用meteoinfo输出了mask文件的ctl,想画出华中三省的气温填色图,但是图出错了,大家帮忙
看看哪里有问题,多谢了:
站点气温ctl(zhandian.ctl):
dset e:/data/huazhongzhandian/qiwendata.grd
dtype station
stnmap e:/data/huazhongzhandian/1.map
undef -9999.0
title station data sample
tdef 1 linear 01Z01may2011 1hr
vars 1
t 0 99 tem data
endvars
格点ctl(gedian.ctl):
dset e:/data/huazhongzhandian/grid.grd
title grid data sample
undef -9999.0
XDEF 10 LINEAR 108.35 1.0
YDEF 13 LINEAR 24.66 1.0
ZDEF 1 LEVELS 1000
TDEF 1 LINEAR 01Z01may2011 1hr
vars 1
g 0 99 grid data
endvars
华中三省mask文件的ctl(huazhong.ctl):
DSET e:\data\huazhongzhandian\huazhong.dat
TITLE Mask data
UNDEF -9999.0
XDEF 10 LINEAR 108.35 1
YDEF 13 LINEAR 24.66 1
ZDEF 1 LINEAR 1 1
TDEF 1 LINEAR 01Z01may2011 1hr
VARS 1
mask 0 99 background mask data
ENDVARS
GS文件:
'reinit'
'open e:\data\huazhongzhandian\gedian.ctl'
'open e:\data\huazhongzhandian\zhandian.ctl'
'open e:\data\huazhongzhandian\huazhong.ctl'
'set grads off'
'set grid off'
'set frame off'
'set xlab off '
'set ylab off '
'set lon 108.35 117.35'
'set lat 24.66 36.66'
'define a=oacres(g,t.2)'
'define a1=maskout(a,mask.3)'
'set gxout shaded'
'd a1'
'set gxout contour'
'd a1'
'cbarn'
'printim e:\data\huazhongzhandian\sta_grid1.png white'
|
-
|