pysteps.io.importers.import_mch_gif

pysteps.io.importers.import_mch_gif

pysteps.io.importers.import_mch_gif(filename, product, unit, accutime, **kwargs)

Import a 8-bit gif radar reflectivity composite from the MeteoSwiss archive.

Parameters
filename: str

Name of the file to import.

product:

The name of the MeteoSwiss QPE product.

Currently supported prducts:

Name

Product

AQC

Acquire

CPC

CombiPrecip

RZC

Precip

AZC

RZC accumulation

unit:

the physical unit of the data

accutime: float

the accumulation time in minutes of the data

Returns
out: tuple

A three-element tuple containing the precipitation field in mm/h imported from a MeteoSwiss gif file and the associated quality field and metadata. The quality field is currently set to None.

Other Parameters
dtype: str

Data-type to which the array is cast. Valid values: “float32”, “float64”, “single”, and “double”.

fillna: float or np.nan

Value used to represent the missing data (“No Coverage”). By default, np.nan is used.