[gradsusr] Time series at point

Austin Conaty Austin.L.Conaty at nasa.gov
Mon May 3 14:11:28 EDT 2010


Teddy,
'set gxout fwrite' gives you a flat binary data file.
why would Mogesh want to write it to a file called variable.txt?
it won't be text output but binary.
-Austin

Teddy Allen 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<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
>   


-- 
Austin Conaty, SAIC        Global Modeling & Assimilation Office
301-614-6149 (ph)          NASA Goddard Space Flight Center
301-614-6297 (fax)         Code 610.1 Greenbelt, MD 20771

Austin.L.Conaty at .nasa.gov
  
http://gmao.gsfc.nasa.gov





More information about the gradsusr mailing list