How to open hdf file in Ubuntu

Solution 1:

Simply install HDFView from the repository with

sudo apt-get install hdfview

and use it top open some h5-file:

HDFView 2.9 on Ubuntu 16.04 LTS

Solution 2:

You can use command line tools

apt install hdf5-tools

h5dump file.h5

Solution 3:

Python modules

  • netcdf4 (also provides some nice CLI tools (ncinfo, nccopy, ...))
  • h5py
  • pandas

GUI Tools

  • Panoply from NASA can visualize HDF5 data very well.
  • HDFView

Find more tools from the hdfgroup website.