wradlib.io.hdf.open_odim_mfdataset#

wradlib.io.hdf.open_odim_mfdataset(filename_or_obj, group=None, **kwargs)[source]#

Open and decode an ODIM radar sweep or volume from a file or file-like object.

This function uses open_radar_mfdataset and xarray.open_mfdataset under the hood. Needs dask package to be installed [1].

Parameters:
  • filename_or_obj (str, Path, file-like or DataStore) – Strings and Path objects are interpreted as a path to a local or remote radar file and opened with an appropriate engine.

  • group (str, optional) – Path to a sweep group in the given file to open.

Keyword Arguments:
  • keep_elevation (bool) – For PPI only. Keep original elevation data if True. Defaults to False, which fixes erroneous elevation data.

  • keep_azimuth (bool) – For RHI only. Keep original azimuth data if True. Defaults to False, which fixes erroneous azimuth data.

  • reindex_angle (bool or float) – Defaults to None (reindex angle with tol=0.4deg). If given a floating point number, it is used as tolerance. If False, no reindexing is performed. Only invoked if decode_coord=True.

  • **kwargs (optional) – Additional arguments passed on to xarray.open_dataset.

Returns:

dataset (xarray.Dataset or wradlib.io.xarray.RadarVolume) – The newly created radar dataset or radar volume.

References