gs文件如下
'reinit'
'sdfopen e:\nc\202010_sur.nc'
i=1
while(i<=20)
'set t 'i''
'q time'
res = subwrd(result,3)
year= substr(res,1,12)
'q time'
res = subwrd(result,3)
hour = substr(res,1,2)
say hour
'q time'
res = subwrd(result,3)
day=substr(res,4,2)
say day
'q time'
res = subwrd(result,3)
month=substr(res,6,3)
say month