[gradsusr] Problem generating/reading bin archive

luis blacutt luis.blacutt at gmail.com
Wed Jan 18 07:36:19 EST 2012


Hi grads users,

I have the following problem:

I'm calculating height varying variables such as
define ug=(-9.81/0.0001)*cdiff(zgeo,y)

and I'm trying to generate a bin file to read, and be able to make
xsections, nevertheless when I read the file through ctl file it gives very
large and messy values.
The script is as follows:

'reinit'
'open eta_15km_2011082900.ctl'
'set display color white'
'set lat -40 0'
'set lon -70 -30'
'set mpdset hires'
'set fwrite ug.bin'
'set gxout fwrite'

i=1
while(i<=48)
'set t 'i
'set grads off'
'define ug=(-9.81/0.0001)*cdiff(zgeo,y)'
'd ug'
i=i+1
'c'
endwhile

Best regards
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120118/fe58c0e9/attachment-0003.html 


More information about the gradsusr mailing list