xradar.io.backends.iris.open_iris_datatree#
- xradar.io.backends.iris.open_iris_datatree(filename_or_obj, **kwargs)[source]#
Open Iris/Sigmet dataset as
xarray.DataTree
.- 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- Keyword Arguments:
sweep (
int
,list
ofint
, optional) – Sweep number(s) to extract, default to first sweep. If None, all sweeps are extracted into a list.first_dim (
str
) – Can betime
orauto
first dimension. If set toauto
, first dimension will be eitherazimuth
orelevation
depending on type of sweep. Defaults toauto
.reindex_angle (
bool
ordict
) – Defaults to False, no reindexing. Given dict should contain the kwargs to reindex_angle. Only invoked if decode_coord=True.fix_second_angle (
bool
) – If True, fixes erroneous second angle data. Defaults toFalse
.site_coords (
bool
) – Attach radar site-coordinates to Dataset, defaults toTrue
.kwargs (
dict
) – Additional kwargs are fed toxarray.open_dataset()
.
- Returns:
dtree (
xarray.DataTree
) – DataTree