xarray.DataArray.dt.year

xarray.DataArray.dt.year#

DataArray.dt.year#

The year of the datetime