From 59a4580c5aba3f57a16855c8ca493334dd42c099 Mon Sep 17 00:00:00 2001
From: Michael Blaschek <michael.blaschek@univie.ac.at>
Date: Thu, 12 May 2022 12:26:59 +0200
Subject: [PATCH] py,cartopy update

---
 Python/QA-001-Cartopy-Installation-Jet.ipynb | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/Python/QA-001-Cartopy-Installation-Jet.ipynb b/Python/QA-001-Cartopy-Installation-Jet.ipynb
index 277060d..353fe97 100644
--- a/Python/QA-001-Cartopy-Installation-Jet.ipynb
+++ b/Python/QA-001-Cartopy-Installation-Jet.ipynb
@@ -8,7 +8,9 @@
     "\n",
     "Cartopy is a popular plotting library and depends on `geos` and `proj` libraries and therefore need to be linked against these. Currently it is possible to install cartopy in any version you want, using the provided module libraries:\n",
     " - `geos/3.9.1-gcc-8.4.1` or similar using gcc\n",
-    " - `proj/8.1.0-gcc-8.4.1` or similar using gcc"
+    " - `proj/8.1.0-gcc-8.4.1` or similar using gcc\n",
+    " \n",
+    "However, there are still some issues with Cartopy. Please note that its version is `0.XX` that means development and not a stable release."
    ]
   },
   {
@@ -21,8 +23,8 @@
      "output_type": "stream",
      "text": [
       "Currently Loaded Modulefiles:\n",
-      " 1) anaconda3/2020.07-gcc-8.4.1   3) proj/8.1.0-gcc-8.4.1  \n",
-      " 2) geos/3.9.1-gcc-8.4.1         \n"
+      " 1) anaconda3/2021.05-gcc-8.5.0   3) proj/8.1.0-gcc-8.5.0  \n",
+      " 2) geos/3.8.1-gcc-8.5.0         \n"
      ]
     }
    ],
@@ -191,7 +193,10 @@
     }
    ],
    "source": [
-    "!pip install --user cartopy"
+    "# Cartopy 0.20.0 with shapely\n",
+    "!pip install --user cartopy==0.20.0 shapely==1.7.1\n",
+    "# Cartopy 0.20.2 with shapely 1.8.0 (does not work with 1.8.1 or 1.8.2)\n",
+    "# !pip install --user shapely==1.8.0 cartopy"
    ]
   },
   {
@@ -204,9 +209,9 @@
  ],
  "metadata": {
   "kernelspec": {
-   "display_name": "Miniconda3 (4.10.3)",
+   "display_name": "Anaconda3 (2021.05) - 3.8.8",
    "language": "python",
-   "name": "miniconda3"
+   "name": "anaconda32021.05-gcc-8.5.0"
   },
   "language_info": {
    "codemirror_mode": {
@@ -218,7 +223,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.9.5"
+   "version": "3.8.8"
   }
  },
  "nbformat": 4,
-- 
GitLab