Appending data to a preexisting SD dataset in an HDF file [message #31102] |
Fri, 14 June 2002 13:28 |
Sean Raffuse
Messages: 46 Registered: July 2001
|
Member |
|
|
Hello,
I would like to increase the size of a 3d array in an HDF file, adding more
data to the preexisting index. Is this possible? I know I can access the
dimensions of the array by using hdf_sd_dimget and the count keyword. That
count is what I would like to change. For example:
sd_id = HDF_SD_START(L1a_filename, /RDWR)
index = HDF_SD_NAMETOINDEX(sd_id, 'l1a_data')
sds_id=HDF_SD_SELECT(sd_id,index)
dim_id=HDF_SD_DIMGETID(sds_id,0)
HDF_SD_DIMGET, dim_id , COUNT=count
Is it possible to change the size of a particular dimension (count)? If
not, can I replace the entire SD with another of the same name and index?
I'm not sure if this is possible or not with hdf files.
Thanks in advance,
Sean Raffuse
|
|
|