Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jan 3, 2024
1 parent 7186896 commit ab930a8
Showing 1 changed file with 56 additions and 1 deletion.
57 changes: 56 additions & 1 deletion notebooks/wp4/cmip6_sea_ice_concentration_maps.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## CMIP6 sea ice concentration maps"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Import libraries"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -18,6 +32,13 @@
"warnings.filterwarnings(\"ignore\", module=\"cf_xarray\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Set parameters"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -31,7 +52,6 @@
" slice(\"2005\", \"2014\"),\n",
"]\n",
"\n",
"\n",
"# Regions\n",
"regions = (\"northern_hemisphere\", \"southern_hemisphere\")\n",
"assert set(regions) <= {\"northern_hemisphere\", \"southern_hemisphere\"}\n",
Expand Down Expand Up @@ -75,6 +95,13 @@
"]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Define requests"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -103,6 +130,13 @@
")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Functions to cache"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -158,6 +192,13 @@
" return sic.to_dataset(name=\"sic\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Download and transform CMIP6"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -199,6 +240,13 @@
" cmip6_datasets[region] = xr.concat(period_datasets, \"period\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Download and transform satellite data"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -236,6 +284,13 @@
" satellite_datasets[region] = xr.concat(period_datasets, \"period\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Plot maps"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit ab930a8

Please sign in to comment.