Overwriting HDF data [message #31203] |
Wed, 19 June 2002 09:20 |
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
|
|
|