Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Apr 3, 2024
1 parent b1624be commit ecf009e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notebooks/wp4/cmip6_sea_ice_thickness_bias_maps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"source": [
"import warnings\n",
"\n",
"import calendar\n",
"import cartopy.crs as ccrs\n",
"import matplotlib.pyplot as plt\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -235,6 +236,7 @@
"source": [
"projection = ccrs.Stereographic(central_latitude=90)\n",
"da = xr.concat([da_satellite, da_cmip6], \"product\")\n",
"da[\"month\"] = [calendar.month_abbr[month] for month in da[\"month\"].values]\n",
"da = da.where(da.sel(product=\"satellite\").notnull())\n",
"for dim in ds.dims:\n",
" da = da.dropna(dim, how=\"all\")\n",
Expand Down

0 comments on commit ecf009e

Please sign in to comment.