Using GrADS to retrieve HYCOM data

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Wed May 6 17:26:57 EDT 2009


On Wed, May 6, 2009 at 5:14 PM, Mark Hess <mhess at oceani.com> wrote:

>  All,
>
> I can now open and display HYCOM MLD data in GrADS. My next step is to
> output a lat,lon,value ASCII file from the open dataset for a specified
> region.  The script (shown below) is a cannabalized/modified version of one
> sent to me by Arlindo some time ago (any errors in the script are mine not
> his).  While it does work, it is very slow. It was originally written to
> work from a local file so, I imagine the slow speed is because each time
> it writes a line in the ASCII file it needs to go out and pull that info
> from the http source.  Is there a way I can first write the desired data to
> a NetCDF or binary file on my local disk and then write the ASCII file
> pulling from that file?  I tried unsuccesfully to use the frwite command,
> but perhaps I am using the command incorrectly.
>
>
Take a look at this recipe:


http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file

          Arlindo

--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090506/515fed84/attachment.html 


More information about the gradsusr mailing list