- 积分
- 1637
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-3-18
- 最后登录
- 1970-1-1
|
发表于 2017-9-8 18:43:47
|
显示全部楼层
本帖最后由 liuyw 于 2017-9-8 18:49 编辑
一、地形脚本如下:
'reinit'
'open E:\gs\dixing\1X1\orog1.ctl'
'set gxout fwrite'
'set fwrite E:\gs\dixing\0.25X0.25\orog0.25.grd'
'set t 1'
zz=1
while(zz<=17)
'set z 'zz''
'set x 1 360'
'set y 1 180'
'd re(orog,1440,'linear',0,0.25,720,'linear',-90,0.25,bl)'
zz=zz+1
endwhile
'disable fwrite'
;
二、FNL资料太大了,我把ctl文件贴上,如下。具体祥见附件1.
dset D:/data/gdas1.fnl0p25.201707%d2%h2.f00.grib2
options template
index D:/data/gdas1.fnl0p25.2017070700.f00.grib2.idx
undef 9.999E+20
title D:/data/gdas1.fnl0p25.2017070700.f00.grib2
* produced by g2ctl v0.0.3d
* griddef=1:0:(1440 x 721):grid_template=0:winds(N/S): lat-lon grid:(1440 x 721) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 0.250000 lon 0.000000 to 359.750000 by 0.250000 #points=1038240
dtype grib2
ydef 721 linear -90.000000 0.25
xdef 1440 linear 0.000000 0.250000
tdef 8 linear 00Z07jul2017 6hr
* z has 31 levels -prs
zdef 31 levels 100000 97500 95000 92500 90000 85000 80000 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000 25000 20000 15000 10000 7000 5000 3000 2000 1000 700 500 300 200 100
options pascals
vars 121
三、我在您的基础上,对脚本进行了修改,添加了在平面图上鼠标选择起止点,没有调用地形文件,脚本见附件2.
|
|