From 908cfaa5f9b6999e08967de718b41903daafc306 Mon Sep 17 00:00:00 2001 From: Mattia Almansi Date: Tue, 21 May 2024 09:27:25 +0200 Subject: [PATCH] fix Y freq --- notebooks/wp5/ocean_color_timeseries.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/wp5/ocean_color_timeseries.ipynb b/notebooks/wp5/ocean_color_timeseries.ipynb index cf78dc5..6e19e97 100644 --- a/notebooks/wp5/ocean_color_timeseries.ipynb +++ b/notebooks/wp5/ocean_color_timeseries.ipynb @@ -215,7 +215,7 @@ "\n", " # Compute variables\n", " da_daily = da.resample(time=\"D\").mean()\n", - " da_yearly = da.resample(time=\"Y\").mean()\n", + " da_yearly = da.resample(time=\"YE\").mean()\n", " da_running = (\n", " da.resample(time=\"MS\")\n", " .mean()\n", @@ -317,7 +317,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.9" } }, "nbformat": 4,