[gradsusr] Reg Fwrite

Geeta Geeta geeta124 at hotmail.com
Mon Jul 1 04:49:26 EDT 2013


Hi all, 
I want to write total rainfall to one file from the WRF output
I am using fwrite command as, 

ga-> open wrf-outp_d01_2011060303.ctl 
Scanning description file:  wrf-outp_d01_2011060303.ctl
Data file wrf-outp_d01_2011060303.dat is open as file 1
LON set to 73.9429 87.0571 
LAT set to 9.09704 21.7107 
LEV set to 1000 1000 
Time values set: 2011:6:3:3 2011:6:3:3 
ga-> set gxout fwrite
ga-> set fwrite dummy.dat
FWrite file name = dummy.dat
FWwrite byte order is big_endian; format is stream
ga-> q fwrite
FWrite file is closed
FWrite file name is: dummy.dat
FWrite byte order is big_endian ; machine byte order is big_endian
ga-> d rainc+rainnc
Error opening output file for fwrite
  File name is: dummy.dat
ga-> disable fwrite

It's not writing the data to dummy.dat
Geeta

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130701/2526e4e5/attachment-0003.html 


More information about the gradsusr mailing list