Skip to content

Commit

Permalink
remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Jan 26, 2023
1 parent 418d258 commit aa93e71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 32 deletions.
9 changes: 0 additions & 9 deletions notebooks/.notebook_shadow_copies/Sec_05_Regridding.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ jupyter:
## Set up

```python
from pathlib import Path
import numpy as np

from esmf_regrid.experimental.unstructured_scheme import MeshToGridESMFRegridder, GridToMeshESMFRegridder
import iris
from iris import load, load_cube
from iris.coords import DimCoord
from iris.cube import Cube
```
Expand Down Expand Up @@ -348,7 +343,3 @@ plt.show()
# Use this regridder to compare how well bilinear regridding and area weighted
# regridding preserve area weighted mean after round tripping.
```

```python

```
33 changes: 10 additions & 23 deletions notebooks/Sec_05_Regridding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"from pathlib import Path\n",
"import numpy as np\n",
"\n",
"from esmf_regrid.experimental.unstructured_scheme import MeshToGridESMFRegridder, GridToMeshESMFRegridder\n",
"import iris\n",
"from iris import load, load_cube\n",
"from iris.coords import DimCoord\n",
"from iris.cube import Cube"
]
Expand Down Expand Up @@ -100,7 +95,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674619665088\">\n",
"<table class=\"iris\" id=\"139657782791952\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Surface Altitude (m)</th>\n",
"<th class=\"iris iris-word-cell\">--</th>\n",
Expand Down Expand Up @@ -260,7 +255,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674619393456\">\n",
"<table class=\"iris\" id=\"139657783457200\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Surface Altitude (m)</th>\n",
"<th class=\"iris iris-word-cell\">latitude</th>\n",
Expand Down Expand Up @@ -450,7 +445,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674619666736\">\n",
"<table class=\"iris\" id=\"139657783310848\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Surface Altitude (m)</th>\n",
"<th class=\"iris iris-word-cell\">latitude</th>\n",
Expand Down Expand Up @@ -614,7 +609,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674619006448\">\n",
"<table class=\"iris\" id=\"139657782706768\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Air Temperature (K)</th>\n",
"<th class=\"iris iris-word-cell\">time</th>\n",
Expand Down Expand Up @@ -819,7 +814,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139673764346560\">\n",
"<table class=\"iris\" id=\"139657074290352\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Air Temperature (K)</th>\n",
"<th class=\"iris iris-word-cell\">time</th>\n",
Expand Down Expand Up @@ -1131,7 +1126,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139673641996096\">\n",
"<table class=\"iris\" id=\"139657037460720\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Surface Altitude (m)</th>\n",
"<th class=\"iris iris-word-cell\">--</th>\n",
Expand Down Expand Up @@ -1493,7 +1488,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139673639737424\">\n",
"<table class=\"iris\" id=\"139656948433248\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Unknown (unknown)</th>\n",
"<th class=\"iris iris-word-cell\">longitude</th>\n",
Expand Down Expand Up @@ -1767,7 +1762,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674889536848\">\n",
"<table class=\"iris\" id=\"139657782747872\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Relative Humidity At Screen Level (1)</th>\n",
"<th class=\"iris iris-word-cell\">time</th>\n",
Expand Down Expand Up @@ -1957,7 +1952,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139673764421008\">\n",
"<table class=\"iris\" id=\"139656950223056\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Surface Altitude (m)</th>\n",
"<th class=\"iris iris-word-cell\">latitude</th>\n",
Expand Down Expand Up @@ -2141,7 +2136,7 @@
" margin-top: 7px;\n",
" }\n",
"</style>\n",
"<table class=\"iris\" id=\"139674889563632\">\n",
"<table class=\"iris\" id=\"139657037525440\">\n",
" <tr class=\"iris\">\n",
"<th class=\"iris iris-word-cell\">Relative Humidity At Screen Level (1)</th>\n",
"<th class=\"iris iris-word-cell\">time</th>\n",
Expand Down Expand Up @@ -2342,14 +2337,6 @@
"# Use this regridder to compare how well bilinear regridding and area weighted\n",
"# regridding preserve area weighted mean after round tripping."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "280e4932-3978-441b-82c8-83c300f9ee4a",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit aa93e71

Please sign in to comment.