Skip to content

Commit 2d704ee

Browse files
committed
cleanup
1 parent cf88e64 commit 2d704ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/wp5/steric_sea_level_ora5.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,17 +538,17 @@
538538
" \"product\",\n",
539539
")\n",
540540
"da = ds_trend.to_dataarray()\n",
541+
"meters_to_millimeters = 1000\n",
541542
"seconds_per_year = 365 * 24 * 360\n",
542543
"with xr.set_options(keep_attrs=True):\n",
543-
" meters_to_millimeters = 1000\n",
544544
" da = da * meters_to_millimeters * seconds_per_year\n",
545545
" da.attrs[\"units\"] = \"mm/yr\"\n",
546546
" bias = da.diff(\"product\")\n",
547547
"plot.projected_map(da, col=\"variable\", row=\"product\", robust=True)\n",
548548
"\n",
549549
"\n",
550550
"plot.projected_map(bias, col=\"variable\", row=\"product\", robust=True)\n",
551-
"_ = plt.suptitle(f\"Bias {''.join(da['product'].values.tolist())}\")"
551+
"_ = plt.suptitle(f\"Bias {'-'.join(da['product'].values.tolist())}\")"
552552
]
553553
},
554554
{

0 commit comments

Comments
 (0)