ClimoAccessor.sel_time¶
- ClimoAccessor.sel_time(date=None, **kwargs)[source]¶
Return an
DataArray
orDataset
with the time coordinate filtered to times matching some datetime component. For details, see the xarray documentation on virtual datetime coordinates.- Parameters
date (date-like, optional) – Itemized selection of dates. Data type should match the time coordinate data type (e.g.
numpy.datetime64
).year, month, day, hour, minute, second, dayofyear, week, dayofweek, weekday – The datetime component, e.g.
year=2000
orseason='JJA'
.