- 积分
- 6901
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-10-8
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
爬文看過論壇上一些相關文章後
自己嘗試寫一個看看
使用資料是1988和1989年的U風場資料(一天四筆)
我想只輸出1988/12、1889/1和1989/2三個月的數值
以下是我的gs檔程式碼 :
'sdfopen uwnd.1988.nc'
'sdfopen uwnd.1989.nc'
'set fwrite 88D89JF.dat'
'set gxout fwrite'
'set x 1 144'
'set y 1 73'
#December
t=1341
while(t<=1464)
z=1
while(z<=17)
'set t 't''
'set z 'z''
'd uwnd.1'
z=z+1
endwhile
t=t+1
endwhile
#January,February
t=1
while(t<=236)
z=1
while(z<=17)
'set t 't''
'set z 'z''
'd uwnd.2'
z=z+1
endwhile
t=t+1
endwhile
但是在執行時,出現錯誤碼
Data Request Warning: Request is completely outside file limits
意思好像是說超出範圍
但是我的設定都是在資料範圍內呀...
把輸出的資料畫出來看,也只有1988/12有值
麻煩各位前輩幫我看一下了><"
|
|