@@ -1195,8 +1195,9 @@ def _shift_custom_season_years(self, ds: xr.Dataset) -> xr.Dataset:
11951195 A season spans the calendar year if it includes "Jan" and "Jan" is not
11961196 the first month. For example, for
11971197 ``custom_seasons = ["Nov", "Dec", "Jan", "Feb", "Mar"]``:
1198- - ["Nov", "Dec"] are from the previous year.
1199- - ["Jan", "Feb", "Mar"] are from the current year.
1198+
1199+ - ["Nov", "Dec"] are from the previous year.
1200+ - ["Jan", "Feb", "Mar"] are from the current year.
12001201
12011202 Therefore, ["Nov", "Dec"] need to be shifted a year forward for correct
12021203 grouping.
@@ -1361,9 +1362,10 @@ def _drop_incomplete_seasons(self, ds: xr.Dataset) -> xr.Dataset:
13611362 coordinates ["2000-11-16", "2000-12-16", "2001-01-16", "2001-02-16"]
13621363 and we want to group seasons by "ND" ("Nov", "Dec") and "JFM" ("Jan",
13631364 "Feb", "Mar").
1364- - ["2000-11-16", "2000-12-16"] is considered a complete "ND" season
1365+
1366+ - ["2000-11-16", "2000-12-16"] is considered a complete "ND" season
13651367 since both "Nov" and "Dec" are present.
1366- - ["2001-01-16", "2001-02-16"] is considered an incomplete "JFM"
1368+ - ["2001-01-16", "2001-02-16"] is considered an incomplete "JFM"
13671369 season because it only has "Jan" and "Feb". Therefore, these
13681370 time coordinates are dropped.
13691371
0 commit comments