Skip to content

Commit 745d36b

Browse files
authored
Merge pull request #187 from EOPF-Sample-Service/main
Align dev branch
2 parents e428c6c + 58fb17b commit 745d36b

File tree

7 files changed

+5632
-5659
lines changed

7 files changed

+5632
-5659
lines changed

add-jupyterhub-button.mjs

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,24 @@ const plugin = {
5959
}
6060

6161
// Create JupyterHub URL
62-
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
62+
const gitpull_next =
63+
"/hub/user-redirect/git-pull?repo=https://github.com/EOPF-Sample-Service/eopf-sample-notebooks&branch=main&urlpath=lab/tree/eopf-sample-notebooks/notebooks/" +
64+
notebookPath;
6365
const encoded = encodeURIComponent(gitpull_next);
64-
const spawn_next = "/hub/spawn?next=" + encoded
65-
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"
66-
const jupyterHubUrl = "https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" + encodeURIComponent(spawn_next) + auto_start_extra
66+
const spawn_next = "/hub/spawn?next=" + encoded;
67+
var jupyterHubUrl = "";
68+
// All the notebooks including GDAL in their name will use a different image containing the GDAL EOPF ZARR DRIVER
69+
if (notebookPath.includes("GDAL")) {
70+
jupyterHubUrl =
71+
"https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" +
72+
encodeURIComponent(spawn_next) +
73+
"%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";
74+
} else {
75+
jupyterHubUrl =
76+
"https://jupyterhub.user.eopf.eodc.eu/hub/login?next=" +
77+
encodeURIComponent(spawn_next) +
78+
"%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";
79+
}
6780

6881
// Get style options
6982
const isLarge = data.options?.style === "large";

myst.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ project:
3838
- file: notebooks/Sentinel-3/Sentinel-3_Heatwave_Mapping.ipynb
3939
- file: notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb
4040
- file: notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb
41-
- file: notebooks/xcube_eopf_plugin/introduction_xcube_eopf_plugin.ipynb
41+
- file: notebooks/xcube_eopf_plugin/xcube_eopf_sen2.ipynb
42+
- file: notebooks/xcube_eopf_plugin/xcube_eopf_sen3.ipynb
4243
- file: notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb
4344
- file: notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb
4445
- file: notebooks/Sentinel-1/Sentinel-1_L2_OCN_Zarr_product_exploration.ipynb

notebooks/Sentinel-1/Sentinel-1_L1_GRD_Zarr_product_exploration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"metadata": {},
151151
"outputs": [],
152152
"source": [
153-
"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\""
153+
"remote_product_path = \"https://objects.eodc.eu/e05ab01a9d56408d82ac32d69a5aae2a:notebook-data/tutorial_data/cpm_v260/S1A_IW_GRDH_1SDV_20250408T164909_20250408T164934_058668_0743A7_D5AC.zarr\""
154154
]
155155
},
156156
{

notebooks/Sentinel-1/Sentinel-1_L1_SLC_Zarr_product_exploration.ipynb

Lines changed: 5609 additions & 5650 deletions
Large diffs are not rendered by default.

notebooks/Sentinel-2/water_level_timeseries.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
" ror: 01xt1w755\n",
2626
"date: 2025-10-07\n",
2727
"thumbnail: https://raw.githubusercontent.com/EOPF-Sample-Service/eopf-sample-notebooks/refs/heads/main/notebooks/static/ESA_logo_2020_Deep.png\n",
28-
"tags: [\"sentinel-2\", \"water\", \"xarray\"]\n",
28+
"tags: [\"sentinel-2\", \"climate-change\", \"xarray\"]\n",
2929
"releaseDate: 2025-10-07\n",
3030
"datePublished: 2025-10-07\n",
3131
"dateModified: 2025-10-07\n",

notebooks/xarray_eopf_plugin/xarray_eopf_sen2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"date: 2025-05-19\n",
2828
"thumbnail: ../static/ESA_EOPF_logo_2025_COLOR_ESA_blue_reduced.png\n",
2929
"keywords: [\"data access\", \"xarray\", \"EOPF Zarr products\"]\n",
30-
"tags: [\"sentinel-1\", \"sentinel-2\", \"xarray\", \"xarray-eopf\", \"stac\"]\n",
30+
"tags: [\"sentinel-2\", \"xarray-eopf\", \"land\"]\n",
3131
"releaseDate: 2025-05-19\n",
3232
"datePublished: 2025-05-19\n",
3333
"dateModified: 2025-09-25\n",

notebooks/xarray_eopf_plugin/xarray_eopf_sen3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"date: 2025-05-19\n",
2828
"thumbnail: ../static/ESA_EOPF_logo_2025_COLOR_ESA_blue_reduced.png\n",
2929
"keywords: [\"data access\", \"xarray\", \"EOPF Zarr products\"]\n",
30-
"tags: [\"sentinel-3\", \"xarray\", \"xarray-eopf\", \"stac\"]\n",
30+
"tags: [\"sentinel-3\", \"xarray-eopf\", \"climate-change\"]\n",
3131
"releaseDate: 2025-09-24\n",
3232
"datePublished: 2025-09-24\n",
3333
"dateModified: 2025-09-25\n",

0 commit comments

Comments
 (0)