[Thread Prev][Thread Next][Index]
Re: Can ferret read HDF files?
HI,
I've been able to work with a bunch of HDF4 files after converting them
using the ncdump utility distributed along with the hdf lib.
Renaming the HDF ncdump to hncdump, and using the ncgen utility from
netCDF lib, the pipe: hncdump f1.hdf | ncgen -o f1.cdf creates a CDF
file readable in Ferret. Care must be taken, though, because some
attributes and grid info may be lost.
Regards,
Paulo.
---------------------------
Ansley Manke wrote:
Hi all,
Ferret can read HDF files via DODS, but it will be successful in doing
that only if the HDF file is similar in its structure to a
COARDS or CF netCDF file. So, if the file can be put on a DODS
server, then Ferret can open it. Often, you will need to apply the
USE/ORDER= qualifier to change the ordering of the coordinate axes.
If a file is on a DODS server, you can look at the DAS in your browser
(the URL that ends in .das). When you look at the attribute data
check to see if there are dimension variables with attributes that
look like a Latitude or Longitude as in the COARDS conventions.
Ansley
lee lindsay wrote:
Dear ferret users,
Can ferret read HDF files? If not, is there any simple way to change
HDF files to netCDF files?
Thanks in advance.
Lindsay
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement