From 9756a2d4cc36b56cc8b7165cb987c6ade5bd40c0 Mon Sep 17 00:00:00 2001 From: veenstrajelmer Date: Mon, 28 Oct 2024 16:43:10 +0100 Subject: [PATCH] envvar cdsapi_url in modelbuiler example notebook --- docs/notebooks/modelbuilder_example.ipynb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/notebooks/modelbuilder_example.ipynb b/docs/notebooks/modelbuilder_example.ipynb index 7a2ccffd..afa286e0 100644 --- a/docs/notebooks/modelbuilder_example.ipynb +++ b/docs/notebooks/modelbuilder_example.ipynb @@ -57,6 +57,17 @@ "import contextily as ctx\n" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "2509e7c6-3029-4cbd-9535-04e18245424f", + "metadata": {}, + "outputs": [], + "source": [ + "# temporarily set envvar for CDS\n", + "os.environ[\"CDSAPI_URL\"] = \"https://cds.climate.copernicus.eu/api\"\n" + ] + }, { "cell_type": "code", "execution_count": 2,