- 积分
- 390
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-12
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2013-4-29 16:18:02
|
显示全部楼层
'reinit'
yy=1948
while(yy<=2012)
'sdfopen e:\coldair\daily\'yy'.nc'
'set gxout fwrite'
'set fwrite e:\coldair\win.1948-2012.grd'
'set lat 10 80'
'set lon 30 160'
'set z 1'
if (yy=1948|yy=1952 | yy=1956 | yy=1960 | yy=1964 | yy=1968 | yy=1972 | yy=1976 | yy=1980 | yy=1984 | yy=1988 | yy=1992 | yy=1996 | yy=2000 | yy=2004 | yy=2008|yy=2012 )
tt=1
while(1<=tt<=182|275<=tt<=366)
'set t 'tt''
'd air'
tt=tt+1
endwhile
else
tt=1
while(1<=tt<=181|274<=tt<=365)
'set t 'tt''
'd air'
tt=tt+1
endwhile
endif
yy=yy+1
'close 1'
endwhile
'disable fwrite'
'reinit'
;
后来自己编了一个程序,发现出错了,不知道是不是while那里不能那么假设,求高手帮忙看看 |
|