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

Home » Public Forums » archive » Re: Overwriting HDF data
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: Overwriting HDF data [message #31202] Wed, 19 June 2002 09:41
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Sean Raffuse wrote:
>
> Can someone tell me why the following does not work?
>
> newFileID = HDF_SD_START(input_name, /READ)
^^^^^
> index = HDF_SD_NAMETOINDEX(newFileID, "l1a_data")
> thisSdsID = HDF_SD_SELECT(newFileID, index)
> HDF_SD_GETDATA, thisSdsId, theData
>
> HDF_ADDDATA, thisSdsID, theData
>
> I get the following error
>
> % HDF_SD_ADDDATA: Unable to write the specified HDF-SD slice.

You only opened the file for reading.

--
James Kuyper
MODIS Level 1 Lead
Science Data Support Team
(301) 352-2150
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Overwriting HDF data
Next Topic: Lost my 'info' structure

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

Current Time: Wed Oct 08 14:55:44 PDT 2025

Total time taken to generate the page: 0.00446 seconds