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

Home » Public Forums » archive » Reading HDF5 Variable
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: Reading HDF5 Variable [message #42597 is a reply to message #42521] Mon, 14 February 2005 14:03 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Michael Wallace wrote:
>> Hey - me too! Except rather than write a conversion program each time,
>> I just pipe the hdfdump[*] utility output into the ncgen utility to
>> convert files I use. E.g.
>>
>> hdfdump <hdfile> | ncgen -b <ncfile>
>>
>> and I end up with a nice simple, useful netCDF file. :o)
>>
>
> Cool. I tried doing this a while back but I was never successful. Which
> versions of hdfdump and ncgen are you using? If I can simply do that
> from the command line now, that'd be so much easier.

Oopsy - I should've read the subject line closer. I've only done it for HDF4 files
(v4.1r3). Sorry. When I found out HDF5 was incompatible with HDF4 (is that still true?) I
avoided HDF5 like the plague and plead total ignorance when someone wants to give me a
HDF5 file. ;o)

However, if the hdfdump for HDF5 libraries outputs in CDL, ncgen should understand it,
right? I just had a quick look at the HDF5 website and h5dump doesn't mention CDL, just
XML. Bummer. Maybe h5toh4 -> h4dump -> ncgen ??

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Mapping the Pacific
Next Topic: GDL 0.8.8 released...

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

Current Time: Fri Oct 10 10:25:02 PDT 2025

Total time taken to generate the page: 3.60022 seconds