xarray.DataArray.dt.isocalendar

DataArray.dt.isocalendar()[source]

Dataset containing ISO year, week number, and weekday.

Notes

The iso year and weekday differ from the nominal year and weekday.