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

Home » Public Forums » archive » Modify netcdf attributes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Modify netcdf attributes [message #93491] Thu, 04 August 2016 11:49 Go to previous message
khyde is currently offline  khyde
Messages: 21
Registered: November 2013
Junior Member
Hello,

Is it possible to change an existing global attribute in a netcdf file? I have figured out a couple different ways to add a new global attribute, but I would also like to modify the information stored in an existing attribute.

I've tried using NCDF_ATTPUT and NCDF_PUT, but the program crashes and actually shuts down IDL when I use NCDF_CLOSE to close the file.

One option I have is to first delete the attribute, then add it back with the updated information, but I was hoping to just modify the information so that the list of attributes stays in the same order.

Thanks,
-K
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: plotting function will not compile
Next Topic: "Automatically indent lines" breaks copying and pasting code

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

Current Time: Wed Oct 08 15:06:55 PDT 2025

Total time taken to generate the page: 0.00406 seconds