From 88b3ef4cb80d7379d792f79b9b87ff2b7e72ef65 Mon Sep 17 00:00:00 2001
From: k204210 <wachsmann@dkrz.de>
Date: Wed, 22 Jun 2022 16:37:40 +0200
Subject: [PATCH] updated two notebooks

---
 ...use-case_convert-nc-to-tiff_rioxarray-xesmf_cmip.ipynb | 2 +-
 .../use-case_simple-vis_xarray-matplotlib_cmip6.ipynb     | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/notebooks/demo/use-case_convert-nc-to-tiff_rioxarray-xesmf_cmip.ipynb b/notebooks/demo/use-case_convert-nc-to-tiff_rioxarray-xesmf_cmip.ipynb
index 956cf98..3425499 100644
--- a/notebooks/demo/use-case_convert-nc-to-tiff_rioxarray-xesmf_cmip.ipynb
+++ b/notebooks/demo/use-case_convert-nc-to-tiff_rioxarray-xesmf_cmip.ipynb
@@ -70,7 +70,7 @@
    "outputs": [],
    "source": [
     "# Open the catalog with the intake package and name it \"col\" as short for \"collection\"\n",
-    "cols=dkrz_catalog.metadata[\"parameters\"][\"cmip6_columns\"][\"default\"]+[\"opendap_url\"]\n",
+    "cols=dkrz_catalog._entries[\"dkrz_cmip6_disk\"]._open_args[\"csv_kwargs\"][\"usecols\"]+[\"opendap_url\"]\n",
     "col=dkrz_catalog.dkrz_cmip6_disk(csv_kwargs=dict(usecols=cols))\n",
     "cat = col.search(variable_id = \"thetaot\",\n",
     "                 experiment_id = \"historical\",\n",
diff --git a/notebooks/demo/use-case_simple-vis_xarray-matplotlib_cmip6.ipynb b/notebooks/demo/use-case_simple-vis_xarray-matplotlib_cmip6.ipynb
index 5d09f85..94192ea 100644
--- a/notebooks/demo/use-case_simple-vis_xarray-matplotlib_cmip6.ipynb
+++ b/notebooks/demo/use-case_simple-vis_xarray-matplotlib_cmip6.ipynb
@@ -15,7 +15,7 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "filename = '/pool/data/CMIP6/data/CMIP6/CMIP/NCAR/CESM2/historical/r1i1p1f1/Amon/tas/gn/v20190308/tas_Amon_CESM2_historical_r1i1p1f1_gn_185001-201412.nc'"
+    "filename = '/pool/data/CMIP6/data/CMIP/NCAR/CESM2/historical/r1i1p1f1/Amon/tas/gn/v20190308/tas_Amon_CESM2_historical_r1i1p1f1_gn_185001-201412.nc'"
    ]
   },
   {
@@ -289,7 +289,7 @@
  ],
  "metadata": {
   "kernelspec": {
-   "display_name": "python3",
+   "display_name": "Python 3 (ipykernel)",
    "language": "python",
    "name": "python3"
   },
@@ -303,9 +303,9 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.7.3"
+   "version": "3.7.12"
   }
  },
  "nbformat": 4,
  "nbformat_minor": 4
-}
\ No newline at end of file
+}
-- 
GitLab