From 9df91bc6a6809925c2e7d6bc89896fbb45718d5d Mon Sep 17 00:00:00 2001 From: David Bailey Date: Fri, 27 Sep 2024 11:11:26 -0600 Subject: [PATCH] Doing some pre commit cleanup --- examples/nblibrary/ice/seaice.ipynb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/nblibrary/ice/seaice.ipynb b/examples/nblibrary/ice/seaice.ipynb index 2626db6..7da13ec 100644 --- a/examples/nblibrary/ice/seaice.ipynb +++ b/examples/nblibrary/ice/seaice.ipynb @@ -643,8 +643,12 @@ "source": [ "print(ds1[\"aice\"])\n", "\n", - "aice1_month = (\n"," ds1[\"aice\"][1535:1955, :, :].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\n",")\n", - "aice2_month = (\n"," ds2[\"aice\"][923:1343, :, :].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\n",")\n", + "aice1_month = (\n", + " ds1[\"aice\"][1535:1955, :, :].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\n", + ")\n", + "aice2_month = (\n", + " ds2[\"aice\"][923:1343, :, :].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\n", + ")\n", "\n", "mask_tmp1 = np.where(np.logical_and(aice1_month > 0.15, ds1[\"TLAT\"] > 0), 1.0, 0.0)\n", "mask_tmp2 = np.where(np.logical_and(aice2_month > 0.15, ds1[\"TLAT\"] > 0), 1.0, 0.0)\n",