HDF interface [message #28226] |
Wed, 28 November 2001 09:37  |
Daniel Peduzzi
Messages: 29 Registered: June 1999
|
Junior Member |
|
|
Using IDL's HDF interface, does anybody know how to remove or rename
SD datasets within an HDF file?
Dan
|
|
|
|
Re: HDF interface [message #28317 is a reply to message #28226] |
Wed, 28 November 2001 12:53  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Daniel Peduzzi (peduzzi@mediaone.net) writes:
> Next question: does anyone have a good HDF to NetCDF converter? ;-)
Uh, you mean other than IDL? I used to sell
a ton of IDL licenses to NASA Goddard just so
people could take all their CDF data to HDF.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
|
Re: HDF interface [message #28319 is a reply to message #28226] |
Wed, 28 November 2001 11:06  |
Daniel Peduzzi
Messages: 29 Registered: June 1999
|
Junior Member |
|
|
James Kuyper Jr. wrote in message <3C0531B9.10707@gsfc.nasa.gov>...
> Daniel Peduzzi wrote:
>
>> Using IDL's HDF interface, does anybody know how to remove or rename
>> SD datasets within an HDF file?
>>
>> Dan
>
> HDF isn't good about deleting or renaming things. The best you can do is
> create a new file by copying all the parts of the old file that you want
> to keep, while dropping or renaming the parts you want to drop or
> rename. Very annoying. HDF provides routines for deleting or renaming
> Vgroups, but not for anything else. HDF_DELDD doesn't actually delete an
> object from an HDF file, it just removes it from the list of data
> descriptors. The deleted object still takes up space (which can be
> released by using the hdfpack routine).
>
Excellent, thanks for the info.
Next question: does anyone have a good HDF to NetCDF converter? ;-)
Dan
|
|
|
Re: HDF interface [message #28320 is a reply to message #28226] |
Wed, 28 November 2001 10:49  |
James Kuyper Jr.
Messages: 10 Registered: November 2001
|
Junior Member |
|
|
Daniel Peduzzi wrote:
> Using IDL's HDF interface, does anybody know how to remove or rename
> SD datasets within an HDF file?
>
> Dan
HDF isn't good about deleting or renaming things. The best you can do is
create a new file by copying all the parts of the old file that you want
to keep, while dropping or renaming the parts you want to drop or
rename. Very annoying. HDF provides routines for deleting or renaming
Vgroups, but not for anything else. HDF_DELDD doesn't actually delete an
object from an HDF file, it just removes it from the list of data
descriptors. The deleted object still takes up space (which can be
released by using the hdfpack routine).
|
|
|