satpy.readers.hdf4_utils module

Helpers for reading hdf4-based files.

class satpy.readers.hdf4_utils.HDF4FileHandler(filename, filename_info, filetype_info)[source]

Bases: satpy.readers.file_handlers.BaseFileHandler

Base class for common HDF4 operations.

Open file and collect information.

collect_metadata(name, obj)[source]

Collect all metadata about file content.

get(item, default=None)[source]

Get variable as DataArray or return the default.

satpy.readers.hdf4_utils.from_sds(var, *args, **kwargs)[source]

Create a dask array from a SD dataset.