wradlib.io.xarray.open_radar_dataset

wradlib.io.xarray.open_radar_dataset(filename_or_obj, engine=None, **kwargs)

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

This function uses xarray.open_dataset under the hood. Please refer for details to the documentation of xarray.open_dataset.

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.

  • engine (str or xarray.backends.BackendEntrypoint) – Engine to use when reading files, eg. wradlib-odim or wradlib.io.backends.OdimBackendEntryPoint.

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

  • **kwargs (dict, 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.