xarray.DataArray.dt.is_year_start

DataArray.dt.is_year_start

Indicate whether the date is the first day of a year.