diff --git a/da/preprocessing/ocean.py b/da/preprocessing/ocean.py index a067c7954615c1a2cddaf136e30b67aa8a313378..a29d267c7ec64ea4df01ca8976ceed2cebb845c9 100644 --- a/da/preprocessing/ocean.py +++ b/da/preprocessing/ocean.py @@ -219,7 +219,6 @@ class GlobalOcean(Ocean, Global): year = self.dacycle['time.end'].year if starttime.month == 2: indices = [i for i in indices if times[i].day != 29] - if year %4 == 0: data = ds['co2flux_ocean'][indices] times = times[indices] data = data.reshape((-1, monthrange(year, starttime.month)[1], *data.shape[1:])).mean(axis=0)