Skip to content

Commit

Permalink
Work on binder
Browse files Browse the repository at this point in the history
Fix also cartopy features link
Make sure itkwidgets work
Force Jupyterlab2
Fix Tutorial Notebooks
Make sure mayavi works
  • Loading branch information
brey authored and pmav99 committed Mar 6, 2022
1 parent ad74a58 commit 454b2e1
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 116 deletions.
80 changes: 40 additions & 40 deletions Tutorial/BOUNDARY.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "f0982aea",
"id": "8f52acbc",
"metadata": {},
"source": [
"# The Boundary module"
]
},
{
"cell_type": "markdown",
"id": "94e3d0bc",
"id": "cab59e78",
"metadata": {},
"source": [
"This module handles mesh boundary extraction from coastlines or user provided shapefiles. It underpins the [MESH](MESH.ipynb) module.\n",
Expand All @@ -24,7 +24,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "facd7989",
"id": "f6a3107a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -36,7 +36,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "36ebbaea",
"id": "1d773816",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -48,7 +48,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4ca41804",
"id": "2eb10c37",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -57,7 +57,7 @@
},
{
"cell_type": "markdown",
"id": "1fde6b9b",
"id": "e8b9a2e7",
"metadata": {},
"source": [
"### Graphics"
Expand All @@ -66,7 +66,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0af0bb8a",
"id": "aa50be39",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -76,7 +76,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0ee5fde0",
"id": "2dd5b8cb",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -86,7 +86,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4edaaa7e",
"id": "a74cc6b0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -96,7 +96,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6c973e02",
"id": "267e7285",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b8315cc8",
"id": "7990b431",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -118,7 +118,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5bdcfc52",
"id": "631b9c7a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0a78ff6c",
"id": "6656b7a2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -139,7 +139,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b41affaf",
"id": "9e882621",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -151,7 +151,7 @@
},
{
"cell_type": "markdown",
"id": "86be9259",
"id": "76592c87",
"metadata": {},
"source": [
"- In order to have within the Notebook the executable binaries installed in the conda env of the Kernel we add the corresponding path to the env `PATH`. This is not needed when we are running from python."
Expand All @@ -160,7 +160,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0e0d559e",
"id": "21fb8e63",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -172,7 +172,7 @@
},
{
"cell_type": "markdown",
"id": "ea781840",
"id": "b1ffb7fd",
"metadata": {},
"source": [
"## Coastlines"
Expand All @@ -181,7 +181,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "23dd6419",
"id": "9cad8061",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -192,7 +192,7 @@
},
{
"cell_type": "markdown",
"id": "3f95b851",
"id": "d57eb9bd",
"metadata": {},
"source": [
"Without loss of generality we are using the `GHSS` intermediate resolution dataset"
Expand All @@ -201,7 +201,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0ece63c4",
"id": "50f7ecad",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -212,7 +212,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6f1c3b92",
"id": "b02f1607",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -221,7 +221,7 @@
},
{
"cell_type": "markdown",
"id": "644e114f",
"id": "c3be0a46",
"metadata": {},
"source": [
"## Case 1\n",
Expand All @@ -232,7 +232,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4f7ebce5",
"id": "85ee16f9",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -247,7 +247,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f5495489",
"id": "762fcf20",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -257,7 +257,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6e52c851",
"id": "abe492b3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -267,7 +267,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fb617ac3",
"id": "349eac1a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -277,7 +277,7 @@
},
{
"cell_type": "markdown",
"id": "07064f4c",
"id": "f849c6ca",
"metadata": {},
"source": [
"## Case 2\n",
Expand All @@ -288,7 +288,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "41e7140c",
"id": "2d7a2239",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -298,7 +298,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4e2e87dc",
"id": "4f60b44e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -307,15 +307,15 @@
},
{
"cell_type": "markdown",
"id": "f95981e2",
"id": "a538cd90",
"metadata": {},
"source": [
"*Note* that the global mesh is computed in a stereographic projection at lat=-90."
]
},
{
"cell_type": "markdown",
"id": "904bb7be",
"id": "42848ce0",
"metadata": {},
"source": [
"## Case 3\n",
Expand All @@ -326,17 +326,17 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ee554947",
"id": "08449b0c",
"metadata": {},
"outputs": [],
"source": [
"boundary='/Users/brey/GitHub/pyPoseidon-dev/tests/data/bl.zip'"
"boundary='./data/bl/bl.shp'"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ce14fecf",
"id": "9dd0979a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -346,7 +346,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "da73d724",
"id": "e5ce95ed",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -356,7 +356,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e51b16d9",
"id": "86037055",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -365,7 +365,7 @@
},
{
"cell_type": "markdown",
"id": "7ae445a9",
"id": "a87c94ec",
"metadata": {},
"source": [
"## Case 4 \n",
Expand All @@ -376,7 +376,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f6ef5a33",
"id": "2430f8c7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -386,7 +386,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7f6f1b97",
"id": "d30fbaed",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -396,7 +396,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "86158576",
"id": "2218e8a4",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading

0 comments on commit 454b2e1

Please sign in to comment.