updated for PyHDF and consistent plots.