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

Home » Public Forums » archive » Re: Deleting a variable from a NetCDF 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: Deleting a variable from a NetCDF file [message #49485 is a reply to message #49484] Mon, 24 July 2006 14:53 Go to previous messageGo to previous message
alexzcervantes@gmail. is currently offline  alexzcervantes@gmail.
Messages: 7
Registered: July 2006
Junior Member
I was afraid of that.

How about overwriting a variable in a NetCDF file?

My problem is that I have to overwrite a variable in a NetCDF file. I
was thinking of deleting the variable, and then writing my new
variable.

Is there a flag that will allow me to just overwrite the variable?

Alex
Paul Van Delst wrote:
> alexzcervantes@gmail.com wrote:
>> Hi,
>>
>> I am pretty new to idl, and I could find out an answer to my problem in
>> the idl helper program.
>>
>> Does anyone know how to delete a variable from a NetCDF file?
>
> I don't believe you can. At least, not via the netCDF API. Neither the C, F95, nor IDL
> netCDF API has any details about deleting a variable from a file once it's in there. Just
> creating, writing and reading one.
>
> The Java API has a removeVariable method, but I don;t know if even that does what you want
> (it removes a variable from a netCDF group, as opposed to a file)
>
> paulv
>
> --
> Paul van Delst Ride lots.
> CIMSS @ NOAA/NCEP/EMC Eddy Merckx
> Ph: (301)763-8000 x7748
> Fax:(301)763-8545
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array comparison
Next Topic: Re: Draw Widget in GUIBuilder?

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

Current Time: Wed Oct 08 19:04:07 PDT 2025

Total time taken to generate the page: 0.00474 seconds