[gradsusr] How to write data in a file

sushant puranik sushantpuranik at gmail.com
Wed Sep 28 00:56:08 EDT 2011


Hi
I am trying to make average of vorticity over four points as

set lev 850
define zeta=hcurl(uwnd,vwnd.2)
set lat 12.5
set lon 100
define z1=zeta
clear
set lat 10
set lon 100
define z2=zeta
clear
set lat 12.5
set lon 97.5
define z3=zeta
clear
set lat 10
set lon 97.5
define z4=zeta
clear
define avez=(z1+z2+z3+z4)/4
d avez
write (testz.txt,te)


But the output file remains blank.

whats wrong with the script?

Thanks


Sushant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110928/74c24dad/attachment-0003.html 


More information about the gradsusr mailing list