NARR data analysis
Krishna Santhanam
ksanthanam at PRECISIONWIND.COM
Sun Jul 5 15:09:30 EDT 2009
Hi all,
I am trying to write u and v wind component from NARR data into a file. The
text file that is written is having no value but "interpolation" . Could
anyone help me how to solve this issue.
By the way here is the grads script that i used
____________________
function main()
'open narr-a_221_20010101_0000_000.ctl'
cntt=1
say "cntt ="cntt
cntx=290
while(cntx<=350)
cnty=60
while(cnty<=100)
count=1
count1=count+7
while(count<=count1)
'set t 'count
'set x 'cntx
'set y 'cnty
'set z 1'
'd ugrd30m.'cntt
dum1=sublin(result,1)
x13=subwrd(dum1,4)
'd vgrd30m.'cntt
dum1=sublin(result,1)
x23=subwrd(dum1,4)
variables2=x13' 'x23
write(temp_30m.dat,variables2)
count=count+1
endwhile
cnty=cnty+1
endwhile
cntx=cntx+1
endwhile
---------------------------------------
Thanks,
Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090705/8adbc17e/attachment.html
More information about the gradsusr
mailing list