comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL to write GrADS netCDF (SDF)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL to write GrADS netCDF (SDF) [message #77654] Wed, 14 September 2011 02:28 Go to previous message
Rich Bantges is currently offline  Rich Bantges
Messages: 3
Registered: September 2011
Junior Member
Hi,

I'm trying to write a netCDF file that is compatible with the GrADS
software, so that the netCDF file can be read using the sdfopen
command in GrADS.

I can write a binary file in IDL (using WRITEU) and generate a GrADS
control file (in ASCII), and I can write a netCDF file in IDL. The
problem is, I cannot seem to write a fully compatible netCDF file
using IDL that can then be read in using the GrADS sdfopen command.

Does anyone have a simple IDL procedure that I can work from as an
example please?

I've seen various examples here http://www.unidata.ucar.edu/software/netcdf/examples/program s/
but they don't quite do it.

I know that I can convert binary files to netCDF using tools likes
xconv, but ideally I'd like to just write an SDF (self describing
format) netCDF file directly from IDL (especially as the data I have
are currently saved in IDL .sav files).

Any help would be greatly appreciated!

Rich
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL to write GrADS netCDF (SDF)
Next Topic: USERSYM & LEGEND

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:34:18 PDT 2025

Total time taken to generate the page: 0.00440 seconds