From 392b81ffb3321aa53c264f7d2bd9126877fd1623 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Fri, 26 Sep 2025 07:11:53 +0000 Subject: [PATCH 1/7] fix lint --- .../Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb b/notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb index 23ac73a..fd71b5e 100644 --- a/notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb +++ b/notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb @@ -150,7 +150,7 @@ "metadata": {}, "outputs": [], "source": [ - "remote_product_path = f\"https://objects.eodc.eu/e05ab01a9d56408d82ac32d69a5aae2a:notebook-data/tutorial_data/cpm_v260/S1A_IW_GRDH_1SDV_20250408T164909_20250408T164934_058668_0743A7_D5AC.zarr\"" + "remote_product_path = \"https://objects.eodc.eu/e05ab01a9d56408d82ac32d69a5aae2a:notebook-data/tutorial_data/cpm_v260/S1A_IW_GRDH_1SDV_20250408T164909_20250408T164934_058668_0743A7_D5AC.zarr\"" ] }, { From 7ce71e8a0a85d8ed9b3eb46bf5f0a4af69630fa7 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Fri, 26 Sep 2025 07:22:54 +0000 Subject: [PATCH 2/7] add missing xcube in myst --- myst.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/myst.yml b/myst.yml index 9c41d80..06948d6 100644 --- a/myst.yml +++ b/myst.yml @@ -38,7 +38,8 @@ project: - file: notebooks/Sentinel-3/Sentinel-3_Heatwave_Mapping.ipynb - file: notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb - file: notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb - - file: notebooks/xcube_eopf_plugin/introduction_xcube_eopf_plugin.ipynb + - file: notebooks/xcube_eopf_plugin/xcube_eopf_sen2.ipynb + - file: notebooks/xcube_eopf_plugin/xcube_eopf_sen3.ipynb - file: notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb - file: notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb - file: notebooks/Sentinel-1/Sentinel-1_L2_OCN_Zarr_product_exploration.ipynb From a3f23a97edf3f9b460cda7f25c4c4cdc4789ede2 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Wed, 1 Oct 2025 12:51:26 +0000 Subject: [PATCH 3/7] jupyter button different image GDAL --- add-jupyterhub-button.mjs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/add-jupyterhub-button.mjs b/add-jupyterhub-button.mjs index b636722..d782408 100644 --- a/add-jupyterhub-button.mjs +++ b/add-jupyterhub-button.mjs @@ -62,8 +62,14 @@ const plugin = { const gitpull_next = "/hub/user-redirect/git-pull?repo=https://github.com/EOPF-Sample-Service/eopf-sample-notebooks&branch=main&urlpath=lab/tree/eopf-sample-notebooks/notebooks/" + notebookPath const encoded = encodeURIComponent(gitpull_next); const spawn_next = "/hub/spawn?next=" + encoded - const auto_start_extra = "%23fancy-forms-config%3D%7B%22default_url%22%3A%22lab%22%2C%22default_url%3Aunlisted_choice%22%3A%22%22%2C%22image%22%3A%22base%22%2C%22image%3Aunlisted_choice%22%3A%22%22%2C%20%22autoStart%22%3A%22true%22%7D" - const jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + auto_start_extra + var jupyterHubUrl = "" + // All the notebooks including GDAL in their name will use a different image containing the GDAL EOPF ZARR DRIVER + if (notebookPath.includes("GDAL")) { + jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + "%23fancy-forms-config=%7B%22profile%22%3A%22choose-your-environment%22%2C%22image%22%3A%22unlisted_choice%22%2C%22image%3Aunlisted_choice%22%3A%22clausmichele%2Feopf-zarr-driver%3Alatest%22%2C%20%22autoStart%22%3A%22true%22%7D" + } + else { + jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + "%23fancy-forms-config%3D%7B%22default_url%22%3A%22lab%22%2C%22default_url%3Aunlisted_choice%22%3A%22%22%2C%22image%22%3A%22base%22%2C%22image%3Aunlisted_choice%22%3A%22%22%2C%20%22autoStart%22%3A%22true%22%7D" + } // Get style options const isLarge = data.options?.style === "large"; From fead9b03eda6eda05dc5e8c04de0ca34d52c88c3 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Thu, 2 Oct 2025 06:49:48 +0000 Subject: [PATCH 4/7] lint fix --- add-jupyterhub-button.mjs | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/add-jupyterhub-button.mjs b/add-jupyterhub-button.mjs index d782408..e4f7da2 100644 --- a/add-jupyterhub-button.mjs +++ b/add-jupyterhub-button.mjs @@ -59,16 +59,23 @@ const plugin = { } // Create JupyterHub URL - const gitpull_next = "/hub/user-redirect/git-pull?repo=https://github.com/EOPF-Sample-Service/eopf-sample-notebooks&branch=main&urlpath=lab/tree/eopf-sample-notebooks/notebooks/" + notebookPath + const gitpull_next = + "/hub/user-redirect/git-pull?repo=https://github.com/EOPF-Sample-Service/eopf-sample-notebooks&branch=main&urlpath=lab/tree/eopf-sample-notebooks/notebooks/" + + notebookPath; const encoded = encodeURIComponent(gitpull_next); - const spawn_next = "/hub/spawn?next=" + encoded - var jupyterHubUrl = "" + const spawn_next = "/hub/spawn?next=" + encoded; + var jupyterHubUrl = ""; // All the notebooks including GDAL in their name will use a different image containing the GDAL EOPF ZARR DRIVER if (notebookPath.includes("GDAL")) { - jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + "%23fancy-forms-config=%7B%22profile%22%3A%22choose-your-environment%22%2C%22image%22%3A%22unlisted_choice%22%2C%22image%3Aunlisted_choice%22%3A%22clausmichele%2Feopf-zarr-driver%3Alatest%22%2C%20%22autoStart%22%3A%22true%22%7D" - } - else { - jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + "%23fancy-forms-config%3D%7B%22default_url%22%3A%22lab%22%2C%22default_url%3Aunlisted_choice%22%3A%22%22%2C%22image%22%3A%22base%22%2C%22image%3Aunlisted_choice%22%3A%22%22%2C%20%22autoStart%22%3A%22true%22%7D" + jupyterHubUrl = + "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + + encodeURIComponent(spawn_next) + + "%23fancy-forms-config=%7B%22profile%22%3A%22choose-your-environment%22%2C%22image%22%3A%22unlisted_choice%22%2C%22image%3Aunlisted_choice%22%3A%22clausmichele%2Feopf-zarr-driver%3Alatest%22%2C%20%22autoStart%22%3A%22true%22%7D"; + } else { + jupyterHubUrl = + "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + + encodeURIComponent(spawn_next) + + "%23fancy-forms-config%3D%7B%22default_url%22%3A%22lab%22%2C%22default_url%3Aunlisted_choice%22%3A%22%22%2C%22image%22%3A%22base%22%2C%22image%3Aunlisted_choice%22%3A%22%22%2C%20%22autoStart%22%3A%22true%22%7D"; } // Get style options From e37927824ea192024151e05d429d4c47881a8437 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Wed, 8 Oct 2025 07:28:35 +0000 Subject: [PATCH 5/7] fix tags --- notebooks/Sentinel-2/water_level_timeseries.ipynb | 2 +- notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb | 2 +- notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/Sentinel-2/water_level_timeseries.ipynb b/notebooks/Sentinel-2/water_level_timeseries.ipynb index 28f5368..05c3fb9 100644 --- a/notebooks/Sentinel-2/water_level_timeseries.ipynb +++ b/notebooks/Sentinel-2/water_level_timeseries.ipynb @@ -25,7 +25,7 @@ " ror: 01xt1w755\n", "date: 2025-10-07\n", "thumbnail: https://raw.githubusercontent.com/EOPF-Sample-Service/eopf-sample-notebooks/refs/heads/main/notebooks/static/ESA_logo_2020_Deep.png\n", - "tags: [\"sentinel-2\", \"water\", \"xarray\"]\n", + "tags: [\"sentinel-2\", \"climate-change\", \"xarray\"]\n", "releaseDate: 2025-10-07\n", "datePublished: 2025-10-07\n", "dateModified: 2025-10-07\n", diff --git a/notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb b/notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb index a48e5f5..db114f0 100644 --- a/notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb +++ b/notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb @@ -27,7 +27,7 @@ "date: 2025-05-19\n", "thumbnail: ../static/ESA_EOPF_logo_2025_COLOR_ESA_blue_reduced.png\n", "keywords: [\"data access\", \"xarray\", \"EOPF Zarr products\"]\n", - "tags: [\"sentinel-1\", \"sentinel-2\", \"xarray\", \"xarray-eopf\", \"stac\"]\n", + "tags: [\"sentinel-2\", \"xarray-eopf\", \"land\"]\n", "releaseDate: 2025-05-19\n", "datePublished: 2025-05-19\n", "dateModified: 2025-09-25\n", diff --git a/notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb b/notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb index 8674422..1986f85 100644 --- a/notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb +++ b/notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb @@ -27,7 +27,7 @@ "date: 2025-05-19\n", "thumbnail: ../static/ESA_EOPF_logo_2025_COLOR_ESA_blue_reduced.png\n", "keywords: [\"data access\", \"xarray\", \"EOPF Zarr products\"]\n", - "tags: [\"sentinel-3\", \"xarray\", \"xarray-eopf\", \"stac\"]\n", + "tags: [\"sentinel-3\", \"xarray-eopf\", \"climate-change\"]\n", "releaseDate: 2025-09-24\n", "datePublished: 2025-09-24\n", "dateModified: 2025-09-25\n", From 58fb17bce1e37d029ba4f354ac8bce08390861d2 Mon Sep 17 00:00:00 2001 From: Michele Claus Date: Tue, 21 Oct 2025 14:23:58 +0000 Subject: [PATCH 6/7] fix sigma computation --- ...el-1_L1_SLC_Zarr_product_exploration.ipynb | 11259 ++++++++-------- 1 file changed, 5609 insertions(+), 5650 deletions(-) diff --git a/notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb b/notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb index 85d9f6e..8bb8330 100644 --- a/notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb +++ b/notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb @@ -7,7 +7,7 @@ "source": [ "---\n", "title: Sentinel-1 SLC Zarr Product Exploration\n", - "subtitle: Explore how to open, inspect the metadata and process Sentinel-1 SLC Zarr format\n", + "subtitle: Explore how to open, inspect the metadata and process Sentinel-1 Single Look Complex (SLC) Zarr format\n", "authors:\n", " - name: Michele Claus\n", " orcid: 0000-0003-3680-381X\n", @@ -30,7 +30,7 @@ "tags: [\"sentinel-1\", \"xarray\", \"land\"]\n", "releaseDate: 2025-09-02\n", "datePublished: 2025-09-02\n", - "dateModified: 2025-09-02\n", + "dateModified: 2025-10-21\n", "github: https://github.com/EOPF-Sample-Service/eopf-sample-notebooks\n", "license: Apache-2.0\n", "---" @@ -118,17 +118,17 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 1, "id": "b6aca074-c8ca-4a42-a784-eb1ea61406c6", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 36, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -164,7 +164,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 2, "id": "44b9af59-0d61-4c8a-8828-2e51e381a664", "metadata": {}, "outputs": [], @@ -186,7 +186,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 3, "id": "f8c23ac8-7a85-426a-be98-df1cd2bbb385", "metadata": {}, "outputs": [ @@ -567,7 +567,7 @@ "Dimensions: ()\n", "Data variables:\n", " *empty*\n", - "Attributes: (2)