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

Home » Public Forums » archive » Appending new data to HDF
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
Appending new data to HDF [message #15578] Tue, 01 June 1999 00:00
Mark Rehbein is currently offline  Mark Rehbein
Messages: 8
Registered: January 1999
Junior Member
Hi,

I have a problem writing an image to an already established HDF file.
The original HDF file was created on a UNIX machine (not using IDL). I
copied this HDF file to my windows PC and wanted to add an image to the
HDF using the following code segment:

sd_id=HDF_SD_START('e:\temp\images\n14_9802011648ss.hdf', /rdwr)

sds_id=HDF_SD_CREATE(sd_id, 'a_atmosphericCorrected_SST', [dims(1),
dims(2)], /float)

HDF_SD_ADDDATA, sds_id, SST_NOAA_GLOBAL

HDF_SD_ENDACCESS, sds_id

HDF_SD_END, sd_id

When I run my program, I get a "Unable to write specified HDF-SD slice"
error, which sugests a read/write permission problem or a disk space
problem. I have plenty of disk space and can read data from the file
using IDL. I just can't append to it.

I can write/append this data successfully to a different HDF file
created using IDL on my PC. Can anyone help me with this problem?

Thanks

Mark

mrehbein@aims.gov.au
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: THOUGHT YOU MIGHT LIKE THIS... 1294
Next Topic: Plotting Axes Over Image.

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

Current Time: Fri Nov 28 20:24:37 PST 2025

Total time taken to generate the page: 0.24319 seconds