Usenet.com

www.Usenet.com

Group Index

Sci Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Dataset delete options



James Kuyper wrote:

> sfda wrote:
>> 
>> Hello,
>> 
>> I know that there are no API calls to delete HDF datasets.  I was
>> wondering if anyone here could offer some solutions that approximate a
>> dataset delete operation.
> 
> The solution I use is to copy everything to a new file except for the
> dataset(s) I want to delete, and then replace the original file with the
> new one. Not fun, but it seems to be the only available option.

What about the H5Gunlink call?. It won't free the deleted dataset on file,
but it will allow the deallocated space to be used in newer datasets.

Francesc Alted



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.