xarray.DataArray.dt.dayofyear#

DataArray.dt.dayofyear#

The ordinal day of the year