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

Home » Public Forums » archive » Re: delete a dataset in a hdf file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: delete a dataset in a hdf file [message #34119] Thu, 27 February 2003 00:04 Go to previous message
Klemens Barfus is currently offline  Klemens Barfus
Messages: 45
Registered: December 2002
Member
Thanks James ! Because of your answer, I will not waste more time trying
to delete things I can not delete.

best regards

Klemens

James Kuyper wrote:

> Klemens Barfus wrote:
>
>> Hello together,
>> how can I delete a dataset in a hdf file ? I have not found anything
>> about it except a command like HDF_DELDD. Is it the right way and how do
>> I have to use it ?
>>
>
> That only removes tags and descriptors. HDF isn't really designed for
> deleting things; its design reflects a "write once, read many" attitude.
> The there are a few things that you can delete. You can use HDF_DELDD,
> and since HDF is built upon CDF, you can use NCDF_ATTDEL to delete
> attributes. However, they aren't really removed from the file;
> internally, they're marked as "no longer active", but they still use up
> space.
>
> You can emulate deletions of a dataset, by copying every part of a file,
> except the part you want deleted, to a new file. Then erase the old one,
> and change the name of the new file to match the old one. Sorry, that's
> about the best you can do.
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL_MakeStruct: memory leak? (C / DLM question)
Next Topic: Re: Is PDF the only help option in 5.6?

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

Current Time: Wed Oct 08 13:10:44 PDT 2025

Total time taken to generate the page: 0.00558 seconds