[gradsusr] Time series at point

Teddy Allen teddyallen at yahoo.com
Mon May 3 12:08:35 EDT 2010


Mogesh,
Try the following:

'set gxout fwrite'
'set fwrite [INSERT YOUR FILE PATH AND FILE NAME HERE]'   (example: 'set fwrite c:\mogesh\variable.txt')
'd VARIABLE'  
'disable fwrite'


 (VARIABLE is whatever you are writing out.....) Also, all of your calculations and geographic settings should be done prior to the 'set gxout fwrite' line. 


This should write out your variable to a .txt file in the path name that was supplied. 
good luck,
teddy
 
http://www.teddyallen.com
"To move quickly, go alone. To move far, go together." 
African Proverb




________________________________
From: Mogesh Naidoo <mnaidoo4 at csir.co.za>
To: gradsusr at gradsusr.org
Sent: Mon, May 3, 2010 10:01:56 AM
Subject: [gradsusr] Time series at point


Hi users,

New to grads (using for 3 months now).

I was wondering what the best way to extract a time series of values at a point on a grid.
I'd like the values to be output to a text file. 
The grid is of netcdf format.

So far I constrain the grid to one point and use set gxout value to give me a plot on the grads display. How can I get this into a text file?

regards,


Mogesh Naidoo
Atmospheric Modelling Group
Natural Resources and the Environment
CSIR
P.O. Box 17001,
Congella 4013
Durban
South Africa

Telephone: [int+27] (0)31 242 2318
Email: mnaidoo4 at csir.co.za 

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. 

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean. MailScanner thanks Transtec Computers for their support. 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100503/215ad89d/attachment-0003.html 


More information about the gradsusr mailing list