Skip to content

Commit

Permalink
Doing some pre commit cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dabail10 committed Sep 27, 2024
1 parent 97a912f commit 1205707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nblibrary/ice/seaice.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@
"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 = ds1[\"aice\"][1535:1955,:,:].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\n",
"aice2_month = ds2[\"aice\"][923:1343,:,:].groupby(\"time.month\").mean(dim=\"time\", skipna=True)\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",
Expand Down

0 comments on commit 1205707

Please sign in to comment.