satpy.readers.hsaf_grib module

A reader for files produced by the Hydrology SAF.

Currently this reader depends on the pygrib python package. The eccodes package from ECMWF is preferred, but does not support python 3 at the time of writing.

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

Bases: BaseFileHandler

File handler for HSAF grib files.

Init the file handler.

_get_area_def(msg)[source]

Get the area definition of the datasets in the file.

static _get_datetime(msg)[source]
_get_message(idx)[source]
property analysis_time

Get validity time of this file.

get_area_def(dsid)[source]

Get area definition for message.

get_dataset(ds_id, ds_info)[source]

Read a GRIB message into an xarray DataArray.

get_metadata(msg)[source]

Get the metadata.