pysteps.io.importers.import_dwd_radolan

pysteps.io.importers.import_dwd_radolan#

pysteps.io.importers.import_dwd_radolan(filename, product_name)#

Import a RADOLAN precipitation product from a binary file.

Parameters:
  • filename (str) – Name of the file to import.

  • product_name – The specific product to read from the file. Please see https://www.dwd.de/DE/leistungen/radolan/radolan_info/ radolan_radvor_op_komposit_format_pdf.pdf for a detailed description.

  • 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.

Returns:

A tuple containing: - data : np.ndarray

The desired precipitation product in mm/h imported from a RADOLAN file

  • quality : None

  • metadatadict

    Dictionary containing geospatial metadata such as: - ‘projection’: PROJ.4 string defining the stereographic projection. - ‘xpixelsize’, ‘ypixelsize’: Pixel size in meters. - ‘cartesian_unit’: Unit of the coordinate system (meters). - ‘yorigin’: Origin of the y-axis (‘upper’). - ‘x1’, ‘y1’: Coordinates of the lower-left corner. - ‘x2’, ‘y2’: Coordinates of the upper-right corner.

Return type:

tuple