Open AlessandroLovo opened 1 year ago
ERA data has leap years, and right now we select data based on the time.dt.dayofyear This means that the 1st of june has two different dayofyear depending on leap year or not
time.dt.dayofyear
dayofyear
The current fix is adapting the data (xr.DataArray) by doing
new_da = old_da.convert_calendar('noleap')
ERA data has leap years, and right now we select data based on the
time.dt.dayofyear
This means that the 1st of june has two differentdayofyear
depending on leap year or not