xarray.DataArray.dt.is_leap_year

xarray.DataArray.dt.is_leap_year#

DataArray.dt.is_leap_year#

Indicate if the date belongs to a leap year