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

Home » Public Forums » archive » Re: Editing data in an existing HDF5 file and rewriting the fixed file, in IDL
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: Editing data in an existing HDF5 file and rewriting the fixed file, in IDL [message #65018 is a reply to message #65015] Thu, 05 February 2009 08:34 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Feb 5, 4:46 pm, Andy Sayer <iamandysa...@gmail.com> wrote:

> Unfortunately this is not working properly--when I try to write back
> out to the dataset (using the same id I used to read it in) I get an
> error message like this:
>
> H5D_WRITE: can't write data: Object ID:402653184

> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Load relevant bits of file ;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> id = h5f_open(l2file)

Open the file with write permission:

id = h5f_open(l2file,/write)

Start from here, I haven't checked the rest of your code.

Maarten
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Editing data in an existing HDF5 file and rewriting the fixed file, in IDL
Next Topic: Re: Editing data in an existing HDF5 file and rewriting the fixed file, in IDL

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

Current Time: Fri Oct 10 12:47:37 PDT 2025

Total time taken to generate the page: 0.56150 seconds