Hai Mogesh,<br><br>See the attached sample program. In that the output will be written to a file called sample.txt<br><br>regards<br><br>krishnamohan<br><br><br>-- <br>Krishnamohan.K.S<br>Junior Research Fellow<br>Department Of Atmospheric Sciences<br>
Cochin University of Science and Technology<br>Cochin,India<br><br><div class="gmail_quote">On Mon, May 3, 2010 at 9:38 PM, Teddy Allen <span dir="ltr"><<a href="mailto:teddyallen@yahoo.com">teddyallen@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><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"><i><b>together</b></i></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 face="Tahoma" size="2">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Mogesh Naidoo <<a href="mailto:mnaidoo4@csir.co.za" target="_blank">mnaidoo4@csir.co.za</a>><br><b><span style="font-weight: bold;">To:</span></b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><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><div><div></div><div class="h5"><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: <a href="mailto:mnaidoo4@csir.co.za" target="_blank">mnaidoo4@csir.co.za</a> <br>
</div><font face="Verdana,Arial,Helvetica,Trebuchet MS" size="1"><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. </p>
</font></div></div></div></div></div><br>
</div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>