-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mohanad Albughdadi
committed
Jun 21, 2024
1 parent
c70ee8f
commit 86712a6
Showing
87 changed files
with
2,707 additions
and
3,014 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 3021d781e28531f0b5d7e393f240b5e7 | ||
config: 011316f624dccc884bd628681b752bfa | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file added
BIN
+251 KB
...ml/_images/03b52d1cf2cb2368bd417f63dd8d18a302903359d964f8c2d1050645aadc19ea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+302 KB
...ml/_images/04e99603f042d1836702dd04d0a09e27530e1750d273a6cb0861303c1cb5f3ac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+289 KB
...ml/_images/0bc97a3b8131a85046bfcb7cb5dc4980eff969590a42217064877ec4aee744a9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+311 KB
...ml/_images/16735f1bad772c18f96e05aa5370d71b4cc1039ba48dfb0fcd954b9b2b32171e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+323 KB
...ml/_images/26029e5dea704e38021a9859f74eff41fa320ec70d13768e09b067f640288976.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+329 KB
...ml/_images/336d8246f52e2c7adbd7420732b207e1aaa13d271abb7848d488c7575e5e64aa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+262 KB
...ml/_images/36bb77f1e54790cacc1a8da4eaf54704d696a19e2dc8e1f63acd2023769f7d5f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+292 KB
...ml/_images/4d49005eeb5335553978f2622d0e22cbe0953cf39de2203c4c5e86c6ff1dc712.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+320 KB
...ml/_images/5207e25d9d23b4bf3333882b36ae21417ee8869ed16d244af9d22996f7ae4273.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+247 KB
...ml/_images/5b2523745545ef005ef25ed0f2f599b2f1958e6f295840c5ce722e63f77787c1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-1.76 MB
...ml/_images/5cec6d166586d3dde3cc3645d1f99b30f359573c08564e806bd2dc4902f7c82b.png
Binary file not shown.
Binary file added
BIN
+261 KB
...ml/_images/5e70cccae874ee51c7c6d73538b13e8d8c275bfdc499bcfeea50dba25abfd74d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+298 KB
...ml/_images/65bcf8fa8b6269544c0890e40c3186bfd2214502c653162b0218cf1013bba0e9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-463 KB
...ml/_images/69fdf557b68d038ee35bb9330e08391077c0ae49dfb5888b2a344994286e682e.png
Binary file not shown.
Binary file added
BIN
+285 KB
...ml/_images/73992bf99b29d4bcb403df8bfc7e9b8e8be45f231b6d8f5b81a8644c26221039.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+272 KB
...ml/_images/7bb5f3254e09dcfce4053283b1d61ef428c6faf458de2116acaf96d35d5fccf6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+671 KB
...ml/_images/80bc6c405392625f932b056e0206a26f3dea843b230c05b1501e4d27d0ba7d99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+295 KB
...ml/_images/86f20127ad32fe5cdce558bd45dd37e6c82e1356fa9613eaf11ea3395a1f3c17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+317 KB
...ml/_images/89d07d26e4889b868b4ddfcc9f77910852f728cbc41fd6dce33fb220d8e2082b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-671 KB
...ml/_images/96d44acc81f3eddca3cc9fcff5420984c5d070a2dbef70cd0237bbd1aa6f326a.png
Binary file not shown.
Binary file added
BIN
+335 KB
...ml/_images/9b223e3d047f15148a9d6a614615baf5a1e1a74d3d8fa2ba18562844ad4b911c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+294 KB
...ml/_images/9b87c66fa8254cde153abce64e5e21f7327692aee035fdc93d98ff3769f4d3ea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+304 KB
...ml/_images/9b8f02985ab830ee3ea014f7f632bb65b292c041aee30884c0eb9f52b1cf43fd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+398 KB
...ml/_images/afba46f15dc49fe3261d7b700408c226dafc57e8fbbe2a8bb6ab048fcc9c0d52.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+317 KB
...ml/_images/c01430e3ef55bbf1cdef189ed056946d0ce2f18808143d544c28a48a79484015.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+294 KB
...ml/_images/d8b1145cceb8376c5305ea5e88feaabc9a2e291ff49c10dfc13ba2cb80e7caf3.png
Oops, something went wrong.
Binary file added
BIN
+267 KB
...ml/_images/e52f9310be13b205218fe31d19ebbffb556d4d36a1bbe44c9a6eeea9687998b7.png
Oops, something went wrong.
Binary file added
BIN
+306 KB
...ml/_images/e7418c1d76fc5ebfa79bcbe3a4899090dec72ff41a2f58bd34bc597312a4f765.png
Oops, something went wrong.
Binary file added
BIN
+1.9 MB
...ml/_images/e75fc7dcaebcee6fa61d628e9e94ad7a09cfe1509300ee0c4f43dbcc0b782f6e.png
Oops, something went wrong.
Binary file removed
BIN
-282 KB
...ml/_images/f15c8f5fc76de06ab0b357bf8b09521fc1134d6ad2f41e2859a148b7bfb083bc.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# How To Setup A Working Environment | ||
|
||
```{important} | ||
Before getting started with the practical examples, the user has two options to run them | ||
1. Locally on their own machines. In this case they proceed with the instructions below to create the virtual environment and install the requirements. | ||
2. Getting access to Pangeo-eosc services and hence an access to JupyterHub with Pangeo Notebook environment: | ||
<https://pangeo-data.github.io/pangeo-openeo-BiDS-2023/before/EOSC.html>. | ||
``` | ||
|
||
To get started follow the instructions below: | ||
|
||
1. Clone the repository | ||
|
||
```powershell | ||
git clone https://github.com/AlbughdadiM/igarss2024-eo4eu.git | ||
``` | ||
|
||
2. Go to the repository directory | ||
|
||
```powershell | ||
cd igarss2024-eo4eu | ||
``` | ||
|
||
3. Create a python virtual environment | ||
|
||
```powershell | ||
python3 -m venv myvenv | ||
``` | ||
|
||
4. Activate the virtual environment | ||
|
||
```powershell | ||
source myvenv/bin/activate | ||
``` | ||
|
||
5. Install requirements | ||
|
||
```powershell | ||
python3 -m pip install -r requirements.txt | ||
``` | ||
|
||
6. Go to docs where the notebooks are located. | ||
|
||
```powershell | ||
cd docs | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,101 @@ | ||
var sd_labels_by_text = {}; | ||
// @ts-check | ||
|
||
// Extra JS capability for selected tabs to be synced | ||
// The selection is stored in local storage so that it persists across page loads. | ||
|
||
/** | ||
* @type {Record<string, HTMLElement[]>} | ||
*/ | ||
let sd_id_to_elements = {}; | ||
const storageKeyPrefix = "sphinx-design-tab-id-"; | ||
|
||
/** | ||
* Create a key for a tab element. | ||
* @param {HTMLElement} el - The tab element. | ||
* @returns {[string, string, string] | null} - The key. | ||
* | ||
*/ | ||
function create_key(el) { | ||
let syncId = el.getAttribute("data-sync-id"); | ||
let syncGroup = el.getAttribute("data-sync-group"); | ||
if (!syncId || !syncGroup) return null; | ||
return [syncGroup, syncId, syncGroup + "--" + syncId]; | ||
} | ||
|
||
/** | ||
* Initialize the tab selection. | ||
* | ||
*/ | ||
function ready() { | ||
const li = document.getElementsByClassName("sd-tab-label"); | ||
for (const label of li) { | ||
syncId = label.getAttribute("data-sync-id"); | ||
if (syncId) { | ||
label.onclick = onLabelClick; | ||
if (!sd_labels_by_text[syncId]) { | ||
sd_labels_by_text[syncId] = []; | ||
// Find all tabs with sync data | ||
|
||
/** @type {string[]} */ | ||
let groups = []; | ||
|
||
document.querySelectorAll(".sd-tab-label").forEach((label) => { | ||
if (label instanceof HTMLElement) { | ||
let data = create_key(label); | ||
if (data) { | ||
let [group, id, key] = data; | ||
|
||
// add click event listener | ||
// @ts-ignore | ||
label.onclick = onSDLabelClick; | ||
|
||
// store map of key to elements | ||
if (!sd_id_to_elements[key]) { | ||
sd_id_to_elements[key] = []; | ||
} | ||
sd_id_to_elements[key].push(label); | ||
|
||
if (groups.indexOf(group) === -1) { | ||
groups.push(group); | ||
// Check if a specific tab has been selected via URL parameter | ||
const tabParam = new URLSearchParams(window.location.search).get( | ||
group | ||
); | ||
if (tabParam) { | ||
console.log( | ||
"sphinx-design: Selecting tab id for group '" + | ||
group + | ||
"' from URL parameter: " + | ||
tabParam | ||
); | ||
window.sessionStorage.setItem(storageKeyPrefix + group, tabParam); | ||
} | ||
} | ||
|
||
// Check is a specific tab has been selected previously | ||
let previousId = window.sessionStorage.getItem( | ||
storageKeyPrefix + group | ||
); | ||
if (previousId === id) { | ||
// console.log( | ||
// "sphinx-design: Selecting tab from session storage: " + id | ||
// ); | ||
// @ts-ignore | ||
label.previousElementSibling.checked = true; | ||
} | ||
} | ||
sd_labels_by_text[syncId].push(label); | ||
} | ||
} | ||
}); | ||
} | ||
|
||
function onLabelClick() { | ||
// Activate other inputs with the same sync id. | ||
syncId = this.getAttribute("data-sync-id"); | ||
for (label of sd_labels_by_text[syncId]) { | ||
/** | ||
* Activate other tabs with the same sync id. | ||
* | ||
* @this {HTMLElement} - The element that was clicked. | ||
*/ | ||
function onSDLabelClick() { | ||
let data = create_key(this); | ||
if (!data) return; | ||
let [group, id, key] = data; | ||
for (const label of sd_id_to_elements[key]) { | ||
if (label === this) continue; | ||
// @ts-ignore | ||
label.previousElementSibling.checked = true; | ||
} | ||
window.localStorage.setItem("sphinx-design-last-tab", syncId); | ||
window.sessionStorage.setItem(storageKeyPrefix + group, id); | ||
} | ||
|
||
document.addEventListener("DOMContentLoaded", ready, false); |
2 changes: 1 addition & 1 deletion
2
....1e8bd061cd6da7fc9cf755528e8ffc24.min.css → ...phinx_design_static/sphinx-design.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.