Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
juansensio committed Nov 7, 2024
2 parents 8c5c1c9 + 9d0af2e commit f717f16
Show file tree
Hide file tree
Showing 5 changed files with 527 additions and 31 deletions.
72 changes: 72 additions & 0 deletions tutorials/notebooks/30_hello_ml-inference.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"source": [
"# EOTDL ML-Inference: Hello"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"import requests\n",
"\n",
"url = f'https://hub.api.eotdl.com/services/eoxhub-gateway/eotdl/ml-inference/'\n",
"headers = {'Authorization': 'Token e8f278b9292e4ab08562bf35517e0b9a'} # replace with your own API token if you have an upgraded EOTDL subscription\n",
"\n",
"res = requests.get(url, headers=headers)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"{'message': 'Hello from the ml-inference API!', 'version': '2024.10.07'}"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"res.json()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "users-eotdl-2024.5.2",
"language": "python",
"name": "conda-env-users-eotdl-2024.5.2-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
178 changes: 178 additions & 0 deletions tutorials/notebooks/31_eurosat.ipynb

Large diffs are not rendered by default.

171 changes: 171 additions & 0 deletions tutorials/notebooks/32_road_segmentation.ipynb

Large diffs are not rendered by default.

62 changes: 32 additions & 30 deletions ui/src/app.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<title>EOTDL</title>
<!-- cookiefirst -->
<script src="https://consent.cookiefirst.com/sites/eotdl.com-31846c45-859e-460d-81fe-ea594817ca49/consent.js"></script>
<!-- Matomo -->
<script>
var _paq = (window._paq = window._paq || []);
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function () {
var u = "https://nix.eox.at/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "14"]);
var d = document,
g = d.createElement("script"),
s = d.getElementsByTagName("script")[0];
g.async = true;
g.src = u + "matomo.js";
s.parentNode.insertBefore(g, s);
})();
</script>
<!-- End Matomo Code -->
%sveltekit.head%
</head>

<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<title>EOTDL</title>
%sveltekit.head%
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://nix.eox.at/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '14']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="1c333f40-58bf-4d3b-9a10-d57b72c9176a"
data-blockingmode="manual" type="text/javascript"></script>
</head>

<body>
<div>%sveltekit.body%</div>
</body>

</html>
<body>
<div>%sveltekit.body%</div>
</body>
</html>
75 changes: 74 additions & 1 deletion ui/src/routes/cookies/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<!-- <script>
import { onMount } from "svelte";
let ref = null;
Expand All @@ -15,4 +15,77 @@
<div class="w-full flex flex-col items-center pt-20 max-w-6xl m-auto">
<div bind:this={ref} />
</div> -->

<div class="w-full flex flex-col pt-20 max-w-6xl m-auto gap-2">
<div id="cookiefirst-policy-page"></div>
<div>
This cookie policy has been created and updated by <a
href="https://cookiefirst.com/cookie-policy-generator/"
>Cookie Policy Generator</a
>.
</div>

<div id="cookiefirst-cookies-table"></div>
<div>
This cookie table has been created and updated by the <a
href="https://cookiefirst.com/cookie-banner/"
>CookieFirst - Cookie Banner Tool</a
>.
</div>

<h2>Consent to the use of cookies.</h2>
<p>
For our website to function properly we use cookies. To obtain your valid
consent for the use and storage of cookies in the browser you use to access
our website and to properly document this we use a consent management
platform: CookieFirst. This technology is provided by Digital Data Solutions
BV, Plantage Middenlaan 42a, 1018 DH, Amsterdam, The Netherlands. Website: <a
href="https://cookiefirst.com"
title="Cookiefirst page">https://cookiefirst.com</a
> referred to as CookieFirst.
</p>
<p>
When you access our website, a connection is established with CookieFirst’s
server to give us the possibility to obtain valid consent from you to the
use of certain cookies. CookieFirst then stores a cookie in your browser in
order to be able to activate only those cookies to which you have consented
and to properly document this. The data processed is stored until the
predefined storage period expires or you request to delete the data. Certain
mandatory legal storage periods may apply notwithstanding the
aforementioned.
</p>
<p>
CookieFirst is used to obtain the legally required consent for the use of
cookies. The legal basis for this is article 6(1)(c) of the General Data
Protection Regulation (GDPR).
</p>
<h2>Data processing agreement</h2>
<p>
We have concluded a data processing agreement with CookieFirst. This is a
contract required by data protection law, which ensures that data of our
website visitors is only processed in accordance with our instructions and
in compliance with the GDPR.
</p>
<h2>Server log files</h2>
<p>
Our website and CookieFirst automatically collect and store information in
so-called server log files, which your browser automatically transmits to
us. The following data is collected:
</p>
<ul>
<li>Your consent status or the withdrawal of consent</li>
<li>Your anonymised IP address</li>
<li>Information about your Browser</li>
<li>Information about your Device</li>
<li>The date and time you have visited our website</li>
<li>The webpage url where you saved or updated your consent preferences</li>
<li>
The approximate location of the user that saved their consent preference
</li>
<li>
A universally unique identifier (UUID) of the website visitor that clicked
the cookie banner
</li>
</ul>
</div>

0 comments on commit f717f16

Please sign in to comment.