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

Home » Public Forums » archive » Re: netcdf and hdf together
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: netcdf and hdf together [message #49722 is a reply to message #49656] Thu, 10 August 2006 11:53 Go to previous message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
Mark Hadfield wrote:
> Paul van Delst wrote:
>>
>> $ hdfdump file.hdf | ncgen -b ofile.nc -
>>
>> Then in IDL, just read and write netCDF and forget about HDF. :o)
>
> Perhaps you should explain that hdfdump is a version of ncdump, but
> linked against the HDF libraries instead of the netCDF libraries:
>
> http://www.ferret.noaa.gov/Ferret/Mail_Archives/fu_2002/msg0 0501.html
>
> Does this always work? Aren't there features supported by HDF but not
> netCDF?

If the dimension, variable, and attribute names in the HDF file conform
to netCDF specifications (e.g., no special characters such as *), then
it should work.

Large HDF files may cause problems because the dump step creates an
ASCII representation of the data in the file.

Finally, it's not all that difficult to work with HDF4 files in IDL,
particularly the 'Scientific Data Set' variant. However with HDF5, all
bets are off.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Interpolation from irregular to regular grid
Next Topic: Re: Need Some Advice on Seperating Out Some Data

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

Current Time: Fri Oct 10 14:48:18 PDT 2025

Total time taken to generate the page: 0.39990 seconds