Skip to content

Commit

Permalink
Updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hdrake committed Oct 28, 2024
1 parent 8353f73 commit 4ebb264
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 95 deletions.
61 changes: 26 additions & 35 deletions examples/1_advective_heat_convergence.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@
"cells": [
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 1,
"id": "724b9f6d-5d12-407d-a7c4-530b6dffc1cf",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n"
]
}
],
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
Expand All @@ -30,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 2,
"id": "66ee888d-040e-4ab9-b8fa-be025cb8c651",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -66,7 +57,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 3,
"id": "20b3d162-bd70-47f0-ab7d-4182e40cc2e2",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -131,7 +122,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 4,
"id": "cc692041-c2d0-4122-8062-96fdcd8a5cd9",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -176,7 +167,7 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 5,
"id": "de03a362-09cd-45c2-b77b-e95f991027cc",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -253,7 +244,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 6,
"id": "bfc4cf0d-de36-419a-82e7-bf9c3412adb6",
"metadata": {},
"outputs": [],
Expand All @@ -264,7 +255,7 @@
},
{
"cell_type": "code",
"execution_count": 41,
"execution_count": 7,
"id": "ea10d4ee-de08-4760-8ad8-21cec45edea1",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -355,7 +346,7 @@
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": 8,
"id": "7b772611-c67b-4494-8b06-a5391ca89d75",
"metadata": {
"tags": []
Expand All @@ -369,7 +360,7 @@
},
{
"cell_type": "code",
"execution_count": 43,
"execution_count": 9,
"id": "f0cedbc4-0b28-419c-a459-1dd313297478",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -454,7 +445,7 @@
},
{
"cell_type": "code",
"execution_count": 44,
"execution_count": 10,
"id": "f76e3b1b-663c-4173-a730-c6e225429540",
"metadata": {},
"outputs": [],
Expand All @@ -466,7 +457,7 @@
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": 11,
"id": "54289093-5fcc-4e12-8958-ced7fd8ba808",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -507,7 +498,7 @@
},
{
"cell_type": "code",
"execution_count": 46,
"execution_count": 12,
"id": "3cb55d26-938b-4de7-851e-77b3209d7f04",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -556,7 +547,7 @@
},
{
"cell_type": "code",
"execution_count": 54,
"execution_count": 13,
"id": "e8946f7e-963c-4220-8048-fbd0252578d6",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -603,15 +594,15 @@
},
{
"cell_type": "code",
"execution_count": 55,
"execution_count": 14,
"id": "e86597f0-6cd7-467d-8638-e4c109b9d4d5",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Heat flux relative error due to sub-monthly correlations = -102.4428%\n"
"Heat flux relative error due to sub-monthly correlations = -37.8164%\n"
]
}
],
Expand Down Expand Up @@ -664,7 +655,7 @@
},
{
"cell_type": "code",
"execution_count": 56,
"execution_count": 15,
"id": "f12cf1e8-5481-48b0-9751-2e472bd59f0f",
"metadata": {},
"outputs": [],
Expand All @@ -674,7 +665,7 @@
},
{
"cell_type": "code",
"execution_count": 57,
"execution_count": 16,
"id": "966664a3-38e2-4bb8-a63f-4970d2ac21a3",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -728,7 +719,7 @@
},
{
"cell_type": "code",
"execution_count": 58,
"execution_count": 17,
"id": "f58fa03b-9a0d-4171-b779-61b740b31d95",
"metadata": {},
"outputs": [
Expand All @@ -747,7 +738,7 @@
},
{
"cell_type": "code",
"execution_count": 59,
"execution_count": 18,
"id": "75182424-69f2-446c-9f83-204820ea43f5",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -809,7 +800,7 @@
},
{
"cell_type": "code",
"execution_count": 60,
"execution_count": 19,
"id": "1f30dfa9-fd26-467d-956f-b5fee4e83533",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -854,7 +845,7 @@
},
{
"cell_type": "code",
"execution_count": 61,
"execution_count": 20,
"id": "7ae2d7fd-89d7-494d-bcaf-302cb59a8766",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -945,7 +936,7 @@
},
{
"cell_type": "code",
"execution_count": 62,
"execution_count": 21,
"id": "e5324071-95c0-4333-9566-c2f40a47769b",
"metadata": {},
"outputs": [],
Expand All @@ -957,7 +948,7 @@
},
{
"cell_type": "code",
"execution_count": 63,
"execution_count": 22,
"id": "72e2a0b3-6d5a-4457-971e-5b89f80d91c8",
"metadata": {},
"outputs": [
Expand All @@ -976,7 +967,7 @@
},
{
"cell_type": "code",
"execution_count": 64,
"execution_count": 23,
"id": "801341e2-0e6b-45f5-ad2c-6d70b055c75e",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1029,7 +1020,7 @@
},
{
"cell_type": "code",
"execution_count": 65,
"execution_count": 24,
"id": "e2080d20-5722-4ef3-871d-054bde634d4d",
"metadata": {},
"outputs": [
Expand Down
35 changes: 13 additions & 22 deletions examples/2_Arctic_heat_CM4p25.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,18 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"id": "80b35dd2-b461-475c-8230-f17bdf84cb02",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n"
]
}
],
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"id": "ce10e9c7-9cf0-42a8-99b9-7c7dbc6d6315",
"metadata": {},
"outputs": [],
Expand All @@ -45,7 +36,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 3,
"id": "6e89e613-2319-4f23-abf1-0111d62f8bd9",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -75,7 +66,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 4,
"id": "47aff34f-4180-4c32-ad5d-e8617352763c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -140,7 +131,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 5,
"id": "4421a5c4-0bc8-4ac8-ad9d-5016e63ca237",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -228,7 +219,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 6,
"id": "d5d003c7-4c12-474f-ba11-5f4400fc724e",
"metadata": {},
"outputs": [],
Expand All @@ -249,7 +240,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 7,
"id": "12e1f246-0767-4909-80b2-2d4cc205463a",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -330,7 +321,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 8,
"id": "96e26bab-2082-4f5c-8c9c-423261e85595",
"metadata": {},
"outputs": [],
Expand All @@ -357,7 +348,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 9,
"id": "922d7502-becb-4e8f-a55d-64ca1e11dc72",
"metadata": {},
"outputs": [
Expand All @@ -383,7 +374,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 10,
"id": "d131fc56-1eb4-48b3-831b-3ceaa5c2194b",
"metadata": {},
"outputs": [],
Expand All @@ -396,7 +387,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 11,
"id": "20be3031-f32e-41ad-b630-eff5c4d5ddb2",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -435,7 +426,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 12,
"id": "9cbdeb5f-e1a9-45a6-be13-93692fa74f39",
"metadata": {},
"outputs": [
Expand Down
Loading

0 comments on commit 4ebb264

Please sign in to comment.