Hi grads users,<br><br>I have the following problem:<br><br>I'm calculating height varying variables such as<br>define ug=(-9.81/0.0001)*cdiff(zgeo,y)<br><br>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.<br>
The script is as follows:<br><br>'reinit'<br>'open eta_15km_2011082900.ctl'<br>'set display color white'<br>'set lat -40 0'<br>'set lon -70 -30'<br>'set mpdset hires'<br>'set fwrite ug.bin'<br>
'set gxout fwrite'<br><br>i=1<br>while(i<=48)<br>'set t 'i<br>'set grads off'<br>'define ug=(-9.81/0.0001)*cdiff(zgeo,y)'<br>'d ug'<br>i=i+1<br>'c'<br>endwhile<br><br>Best regards<br>
Luis<br>