fwrite
Maluta Mbedzi
maluta.mbedzi at WEATHERSA.CO.ZA
Fri Dec 1 01:13:21 EST 2006
Hi
I am trying to save data into a new file using fwrite, all the
variables that the model outputs are displaying without any problem in
this new file, but I am experiencing problems with the variable I
calculated from the output fields, specifically vorticity that I
calculated using hcurl (u, v).U and V themselves are displaying
correctly, but Vorticity is wrong. What do you think could be the
problem? I have attached my control file.
My script looks as follows:
'reinit'
'open PLEV_VAR.ctl'
'set gxout fwrite'
'set x 1 133'
'set fwrite tropcyr.dat'
number=1
while(number<=124)
'set t 'number
'set lev 850'
'd hcurl(u,v)'
'd u'
'd v'
'set lev 500'
'd t'
'set lev 400'
'd t'
'set lev 300'
'd t'
'set lev 250'
'd t'
'set lev 200'
'd t'
'd h'
'set lev 850'
'd h'
'd slp'
number=number+1
endwhile
'disable fwrite'
'close 1'
Regards
Pennington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20061201/7c51f511/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tropcyr.ctl
Type: application/octet-stream
Size: 1050 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20061201/7c51f511/attachment.obj
More information about the gradsusr
mailing list