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

Home » Public Forums » archive » Re: netCDF adding variable to an existing file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: netCDF adding variable to an existing file [message #83957 is a reply to message #83941] Tue, 16 April 2013 13:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
operator writes:

> I have been attempting to use some of the information I have gathered in this group (From Paul V. on 10/25/2011) to add a couple of variables to my netCDF file (it is a CFradial format, if that matters). I'm running into problems, and I believe the root of it all are the dimensions -- getting them and adding one more.

I can't tell you exactly what is wrong with your code, but I do remember
how frustrating it was to learn how to create a netCDF file, or copy
data from one netCDF file to another. So frustrating that I eventually
wrote my own code to do it, with much better error handling!

You can read about my programs here:

http://www.idlcoyote.com/fileio_tips/ncdf_browser.html

Pay particular attention to the "Further Updates" section at the bottom
of that page. The code I am talking about is the code I wrote for the
ncdf_file object. There is an example program there, NCDF_File_Examples,
that shows you how to create a new file from scratch, copy data from one
file to another, and read data out of a netCDF file. It is possible you
may find that helpful.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Contour overlay - control orientation?
Next Topic: netCDF adding variable to an existing file

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

Current Time: Sat Oct 11 00:16:41 PDT 2025

Total time taken to generate the page: 2.32570 seconds