From 236039bb6d1e42788046588ccedac534c92a25e0 Mon Sep 17 00:00:00 2001 From: Long Vu Date: Wed, 25 Jan 2023 18:26:13 -0500 Subject: [PATCH] climex.ipynb: fix Jenkins failure due to climex link on wrong server Should have used the climex link on PAVICS prod server instead of the test server. `TEST_USE_PROD_DATA` should be on the same line as "pavics.ouranos.ca" to avoid it being replaced by the test server during Jenkins run. The precommit autoformatter should not break that line. See previous fix that was lost https://github.com/Ouranosinc/pavics-sdi/commit/75652fbe9751bc1f2b85109daf44402533639e8b --- docs/source/notebooks/climex.ipynb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/notebooks/climex.ipynb b/docs/source/notebooks/climex.ipynb index 9429ca96..1dbcd418 100644 --- a/docs/source/notebooks/climex.ipynb +++ b/docs/source/notebooks/climex.ipynb @@ -112,9 +112,11 @@ "from IPython.display import HTML, Markdown\n", "from xclim import ensembles as xens\n", "\n", - "cat = intake.open_esm_datastore(\n", - " \"https://pavics.ouranos.ca/catalog/climex.json\"\n", - ") # TEST_USE_PROD_DATA\n", + "# fmt: off\n", + "climex = \"https://pavics.ouranos.ca/catalog/climex.json\" # TEST_USE_PROD_DATA\n", + "cat = intake.open_esm_datastore(climex)\n", + "# fmt: on\n", + "\n", "cat.df.head()" ] },