This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hi, > > I am trying to use netcdf-4.1.3, built with hdf-4 read support, to view > the contents of an hdf4 file with ncdump. When I run ncdump with the -h > option to view headers, i get a "NetCDF: HDF error" message. > > I am able to view the HDF file with hdfview. > > Any suggestions? > > Thanks, > > Kevin > > ______________________________________________________________________ > Kevin Tyle, Systems Administrator ********************** > Dept. of Atmospheric & Environmental Sciences address@hidden > University at Albany, ES-235 518-442-4578 (voice) > 1400 Washington Avenue 518-442-5825 (fax) > Albany, NY 12222 ********************** > ______________________________________________________________________ > > To be readable by netCDF, the HDF4 file must be created with the SD API. NetCDF cannot understand any of the other HDF4 APIs. Is this an SD API data file? Thanks, Ed Ticket Details =================== Ticket ID: BPI-356787 Department: Support netCDF Priority: Urgent Status: Closed