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

Home » Public Forums » archive » Appending data to a preexisting SD dataset in an HDF file
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 data to a preexisting SD dataset in an HDF file [message #31102] Fri, 14 June 2002 13:28
Sean Raffuse is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to read (large) ASCII arrays into PV-Wave
Next Topic: Re: cd bug in IDL 5.5

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

Current Time: Wed Oct 08 14:56:40 PDT 2025

Total time taken to generate the page: 0.00392 seconds