[gradsusr] Saving result on a text file

Eduardo Floriano eduardofloriano at outlook.com
Mon Aug 26 12:35:44 EDT 2013


Hello all,

Im trying to use Grads to save some information on a text file for future reference...
I have some files .bin, and a .ctl to read them all, 
When i open this ctl on grads, i can set the time from the first day to the last (set t 1 last), and the grads plots the result on the screen, and displays on the prompt the following string(for example): "Contouring: 0 to 45 interval 5"
i'd like to save only those string "Countouring:..." on a text file, i tried to save using the fwrite, but he saves the plot in binary format, and what i need is only the text result in the prompt.
i have a lot of binary files and i need check them all to see if they are all within the range, so i pretend to make a script to save all the text result on a text file to read later.

Sorry for my bad english, and thanks for your time. 

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130826/7c0e2d09/attachment-0003.html 


More information about the gradsusr mailing list