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_datasetunder the hood. Please refer for details to the documentation ofxarray.open_dataset.- Parameters:
filename_or_obj (
str,Path, file-like orDatastore) – Strings and Path objects are interpreted as a path to a local or remote radar file and opened with an appropriate engine.engine (
strorxarray.backends.BackendEntrypoint) – Engine to use when reading files, eg.wradlib-odimorwradlib.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 toxarray.open_dataset.
- Returns:
dataset (
xarray.Datasetorwradlib.io.xarray.RadarVolume) – The newly created radar dataset or radar volume.
See also