Skip to content

Commit

Permalink
Linter :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellie Daw authored and mlshapiro committed Oct 1, 2024
1 parent cc2b2a5 commit 9b1666e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/notebooks/CoCiPGrid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"from pycontrails.models.cocipgrid import CocipGrid\n",
"from pycontrails.datalib.ecmwf import ERA5\n",
"from pycontrails.core import MetDataset\n",
"import numpy as np\n",
"import pandas as pd\n",
"from pycontrails.models.ps_model import PSGrid\n",
"from pycontrails.models.humidity_scaling import HistogramMatching"
"\n",
"from pycontrails.core import MetDataset\n",
"from pycontrails.datalib.ecmwf import ERA5\n",
"from pycontrails.models.cocipgrid import CocipGrid\n",
"from pycontrails.models.humidity_scaling import HistogramMatching\n",
"from pycontrails.models.ps_model import PSGrid"
]
},
{
Expand Down Expand Up @@ -104,7 +105,7 @@
"# Plot results\n",
"plt.figure(figsize=(12, 8))\n",
"ef_per_m = result.data[\"ef_per_m\"].isel(time=0, level=0)\n",
"plt.contourf(result.data.longitude, result.data.latitude, ef_per_m, cmap='coolwarm')\n",
"plt.contourf(result.data.longitude, result.data.latitude, ef_per_m, cmap=\"coolwarm\")\n",
"plt.colorbar(label=\"Energy Forcing per meter (W/m)\")\n",
"plt.title(\"CocipGrid Energy Forcing\")\n",
"plt.xlabel(\"Longitude\")\n",
Expand Down Expand Up @@ -694,8 +695,7 @@
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"pygments_lexer": "ipython3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 9b1666e

Please sign in to comment.