TimeSelector.year

time.TimeSelector.year(year, step=None)

Subset the time frame to a specific year.

Parameters

year: int

the year to include, from January 1st through December 31st

step: int = None

if given, narrow the selection to a specific tau step (by index) within the date range; by default include all steps

Returns

TimeSelection

The selection strategy object.