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 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 (
str
orxarray.backends.BackendEntrypoint
) – Engine to use when reading files, eg.wradlib-odim
orwradlib.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.Dataset
orwradlib.io.xarray.RadarVolume
) – The newly created radar dataset or radar volume.
See also