Python interface to the NCSA HDF4 library


Keywords
hdf4, netcdf, numpy, python, pyhdf
License
MIT
Install
pip install pyhdf==0.11.4

Documentation

Tests Pypi build Anaconda-Server Badge

pyhdf

pyhdf is a python wrapper around the NCSA HDF version 4 library. The SD (Scientific Dataset), VS (Vdata) and V (Vgroup) API's are currently implemented. NetCDF files can also be read and modified. It supports both Python 2 and Python 3.

Note: The sourceforge pyhdf website and project are out-of-date. The original author of pyhdf have abandoned the project and it is currently maintained in github.

Version 0.9.x was called python-hdf4 in PyPI because at that time we didn't have access to the pyhdf package in PyPI. For version 0.10.0 and onward, please install pyhdf instead of python-hdf4.

Installation

See pyhdf installation instructions or doc/install.rst.

Documentation

See pyhdf documentation.

Additional documentation on the HDF4 format can be found in the HDF4 Support Page.

Examples

Example python programs using the pyhdf package can be found inside the examples/ subdirectory.