[gradsusr] Time series at point

krishnamohan krishmet at gmail.com
Mon May 3 13:05:02 EDT 2010


Hai Mogesh,

See the attached sample program. In that the output will be written to a
file called sample.txt

regards

krishnamohan


-- 
Krishnamohan.K.S
Junior Research Fellow
Department Of Atmospheric Sciences
Cochin University of Science and Technology
Cochin,India

On Mon, May 3, 2010 at 9:38 PM, Teddy Allen <teddyallen at yahoo.com> wrote:

> 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* <http://www.mailscanner.info/>,
> and is believed to be clean. MailScanner thanks Transtec Computers<http://www.transtec.co.uk/>for their support.
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100503/6f782602/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.gs
Type: application/octet-stream
Size: 191 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100503/6f782602/attachment-0003.obj 


More information about the gradsusr mailing list