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
Re: Modify netcdf attributes [message #93519 is a reply to message #93491] Wed, 10 August 2016 08:37 Go to previous messageGo to previous message
joe.sapp is currently offline  joe.sapp
Messages: 1
Registered: August 2016
Junior Member
On Thursday, August 4, 2016 at 2:49:08 PM UTC-4, KH wrote:
> 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.

You need to be in "define" mode if the attribute is a different size from the existing one (e.g., a string). Try `ncdf_control, ncid, /redef` first to see if that fixes things.
[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 19:46:42 PDT 2025

Total time taken to generate the page: 0.00401 seconds