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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Editing data in an existing HDF5 file and rewriting the fixed file, in IDL [message #65016] Thu, 05 February 2009 08:37
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
Andy Sayer <iamandysayer@gmail.com> writes:

> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Load relevant bits of file ;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> id = h5f_open(l2file)
> id_g1=h5g_open(id,"ORACoutput")

Andy,

I'm not an expert, but are you using an IDL version < 6.2? (that's when the
keyword /WRITE was added to the h5f_open call)

id = h5f_open(l2file, /write)

WRITE
If set the file is open for both reading and writing. The default is to open
the file in read_only mode.


Matt


--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Java Bridge Help
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: Wed Oct 08 17:06:08 PDT 2025

Total time taken to generate the page: 0.00272 seconds