xarray.DataArray.dt.day_of_week# DataArray.dt.day_of_week# The day of the week with Monday=0, Sunday=6