<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>Mogesh,</DIV>
<DIV>Try the following:</DIV>
<DIV> </DIV>
<DIV>'set gxout fwrite'</DIV>
<DIV>'set fwrite [INSERT YOUR FILE PATH AND FILE NAME HERE]' (example: 'set fwrite c:\mogesh\variable.txt')</DIV>
<DIV>'d VARIABLE' </DIV>
<DIV>'disable fwrite'</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> (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. </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>This should write out your variable to a .txt file in the path name that was supplied. </DIV>
<DIV>good luck,</DIV>
<DIV>teddy<BR> </DIV>
<P><A href="http://www.teddyallen.com/" rel=nofollow target=_blank>http://www.teddyallen.com</A></P>
<P>"To move quickly, go alone. To move far, go <FONT color=#ff0000><EM><STRONG>together</STRONG></EM></FONT>." </P>
<P>African Proverb</P>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Mogesh Naidoo <mnaidoo4@csir.co.za><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> gradsusr@gradsusr.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Mon, May 3, 2010 10:01:56 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [gradsusr] Time series at point<BR></FONT><BR>
<DIV>Hi users,</DIV>
<DIV> </DIV>
<DIV>New to grads (using for 3 months now).</DIV>
<DIV> </DIV>
<DIV>I was wondering what the best way to extract a time series of values at a point on a grid.</DIV>
<DIV>I'd like the values to be output to a text file. </DIV>
<DIV>The grid is of netcdf format.</DIV>
<DIV> </DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Mogesh Naidoo<BR>Atmospheric Modelling Group<BR>Natural Resources and the Environment<BR>CSIR<BR>P.O. Box 17001,<BR>Congella 4013<BR>Durban<BR>South Africa<BR><BR>Telephone: [int+27] (0)31 242 2318<BR>Email: mnaidoo4@csir.co.za <BR></DIV><FONT size=1 face="Verdana,Arial,Helvetica,Trebuchet MS"><BR>-- <BR>This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. <BR>The full disclaimer details can be found at <A href="http://www.csir.co.za/disclaimer.html" rel=nofollow target=_blank>http://www.csir.co.za/disclaimer.html</A>.
<P><BR>This message has been scanned for viruses and dangerous content by <A href="http://www.mailscanner.info/" rel=nofollow target=_blank><B>MailScanner</B></A>, <BR>and is believed to be clean. MailScanner thanks <A href="http://www.transtec.co.uk/" rel=nofollow target=_blank>Transtec Computers</A> for their support. </FONT></P></DIV></DIV></div><br>
</body></html>