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

Home » Public Forums » archive » 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
Overwriting HDF data [message #31203] Wed, 19 June 2002 09:20
Sean Raffuse is currently offline  Sean Raffuse
Messages: 46
Registered: July 2001
Member
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.


Pretty informative, eh? Does IDL rearrange the order of the data? (this is
a 3D array (8 x 1285 x 2506)). What is wrong here? By the way, this is
just a test. I have an identically formatted array of data that will take
its place (HDF_ADDDATA, thisSdsID, theNewData).

thanks for your help,

Sean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SOCKET and POST forms
Next Topic: Re: Overwriting HDF data

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

Current Time: Wed Oct 08 13:05:25 PDT 2025

Total time taken to generate the page: 0.00574 seconds