satpy.readers.hsaf_h5 module

A reader for HDF5 Snow Cover (SC) file produced by the Hydrology SAF.

class satpy.readers.hsaf_h5.HSAFFileHandler(filename, filename_info, filetype_info)[source]

Bases: BaseFileHandler

File handler for HSAF H5 files.

Init the file handler.

_get_area_def()[source]

Area definition for h10 - hardcoded.

Area definition not available in the HDF5 message, so using hardcoded one (it’s known).

hsaf_h10:
  description: H SAF H10 area definition
  projection:
    proj: geos
    lon_0: 0
    h: 35785831
    x_0: 0
    y_0: 0
    a: 6378169
    rf: 295.488065897001
    no_defs: null
    type: crs
  shape:
    height: 916
    width: 1902
  area_extent:
    lower_left_xy: [-1936760.3163240477, 2635854.280233425]
    upper_right_xy: [3770006.7195370505, 5384223.683413638]
    units: m
_get_dataset(ds_name)[source]
_prepare_variable_for_palette(dset, ds_info)[source]
property end_time

Get end time.

get_area_def(dsid)[source]

Area definition for h10 SC dataset.

Since it is not available in the HDF5 message, using hardcoded one (it’s known).

get_dataset(ds_id, ds_info)[source]

Read a HDF5 file into an xarray DataArray.

get_metadata(dset, name)[source]

Get the metadata.

property start_time

Get start time.