|
11 | 11 | }, |
12 | 12 | { |
13 | 13 | "cell_type": "code", |
14 | | - "execution_count": 26, |
| 14 | + "execution_count": 1, |
15 | 15 | "id": "d99f5fbc", |
16 | 16 | "metadata": {}, |
17 | 17 | "outputs": [], |
|
39 | 39 | }, |
40 | 40 | { |
41 | 41 | "cell_type": "code", |
42 | | - "execution_count": 27, |
| 42 | + "execution_count": 2, |
43 | 43 | "id": "e8c7ffff-4d0a-4e0c-bc98-44f90316f20c", |
44 | 44 | "metadata": {}, |
45 | 45 | "outputs": [], |
|
62 | 62 | }, |
63 | 63 | { |
64 | 64 | "cell_type": "code", |
65 | | - "execution_count": 28, |
| 65 | + "execution_count": 3, |
66 | 66 | "id": "4139eacf-03a4-4815-83d2-b2ee04e90331", |
67 | 67 | "metadata": {}, |
68 | 68 | "outputs": [], |
|
92 | 92 | }, |
93 | 93 | { |
94 | 94 | "cell_type": "code", |
95 | | - "execution_count": 29, |
| 95 | + "execution_count": 4, |
96 | 96 | "id": "f95065a9", |
97 | 97 | "metadata": {}, |
98 | 98 | "outputs": [], |
|
102 | 102 | }, |
103 | 103 | { |
104 | 104 | "cell_type": "code", |
105 | | - "execution_count": 30, |
| 105 | + "execution_count": 5, |
106 | 106 | "id": "251a343f", |
107 | 107 | "metadata": {}, |
108 | 108 | "outputs": [], |
|
113 | 113 | }, |
114 | 114 | { |
115 | 115 | "cell_type": "code", |
116 | | - "execution_count": 31, |
| 116 | + "execution_count": 6, |
117 | 117 | "id": "c83aa9d5", |
118 | 118 | "metadata": {}, |
119 | 119 | "outputs": [], |
|
136 | 136 | }, |
137 | 137 | { |
138 | 138 | "cell_type": "code", |
139 | | - "execution_count": 32, |
| 139 | + "execution_count": 7, |
140 | 140 | "id": "53d0800c-a6b3-4a64-a7a2-f27689adc7d7", |
141 | 141 | "metadata": {}, |
142 | 142 | "outputs": [], |
|
148 | 148 | }, |
149 | 149 | { |
150 | 150 | "cell_type": "code", |
151 | | - "execution_count": 33, |
| 151 | + "execution_count": 8, |
152 | 152 | "id": "6de8d686", |
153 | 153 | "metadata": {}, |
154 | 154 | "outputs": [ |
155 | 155 | { |
156 | 156 | "data": { |
157 | 157 | "application/vnd.jupyter.widget-view+json": { |
158 | | - "model_id": "fe81d39a308d4b7582afb6fb758557fe", |
| 158 | + "model_id": "4fe3833455684ef3ad97a1e52e248de0", |
159 | 159 | "version_major": 2, |
160 | 160 | "version_minor": 0 |
161 | 161 | }, |
162 | 162 | "text/plain": [ |
163 | 163 | "Map(center=[47.985, 16.378000000000004], controls=(ZoomControl(options=['position', 'zoom_in_text', 'zoom_in_t…" |
164 | 164 | ] |
165 | 165 | }, |
166 | | - "execution_count": 33, |
| 166 | + "execution_count": 8, |
167 | 167 | "metadata": {}, |
168 | 168 | "output_type": "execute_result" |
169 | 169 | } |
|
191 | 191 | }, |
192 | 192 | { |
193 | 193 | "cell_type": "code", |
194 | | - "execution_count": 34, |
| 194 | + "execution_count": 9, |
195 | 195 | "id": "47c7fe82-b611-404c-9cb8-204497dbec57", |
196 | 196 | "metadata": {}, |
197 | 197 | "outputs": [], |
|
202 | 202 | }, |
203 | 203 | { |
204 | 204 | "cell_type": "code", |
205 | | - "execution_count": 35, |
| 205 | + "execution_count": 10, |
206 | 206 | "id": "b5ee27f5-9e69-4557-ba83-ec7cb74aa874", |
207 | 207 | "metadata": {}, |
208 | 208 | "outputs": [], |
|
263 | 263 | }, |
264 | 264 | { |
265 | 265 | "cell_type": "code", |
266 | | - "execution_count": 48, |
| 266 | + "execution_count": 11, |
267 | 267 | "id": "c5ca3fdd-7559-4fc7-8318-61b5dc59475f", |
268 | 268 | "metadata": {}, |
269 | 269 | "outputs": [ |
270 | 270 | { |
271 | 271 | "name": "stdout", |
272 | 272 | "output_type": "stream", |
273 | 273 | "text": [ |
274 | | - "{'id': 134, 'title': 'PV Farm Detection', 'label': 'openeo', 'status': 'created', 'service': {'endpoint': 'https://openeofed.dataspace.copernicus.eu', 'application': 'https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/refs/heads/main/algorithm_catalog/eurac/eurac_pv_farm_detection/openeo_udp/eurac_pv_farm_detection.json'}, 'parameters': {'spatial_extent': {'west': 16.342, 'south': 47.962, 'east': 16.414, 'north': 48.008}, 'temporal_extent': ['2023-05-01', '2023-09-30']}}\n" |
| 274 | + "Open this URL in your browser: https://auth.dev.apex.esa.int/realms/apex/protocol/openid-connect/auth?response_type=code&client_id=apex-dispatcher-api-dev&redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Fcallback&state=UHVmNmG43imicvDFxGrvj70H5JAXQ8\n" |
| 275 | + ] |
| 276 | + }, |
| 277 | + { |
| 278 | + "name": "stdin", |
| 279 | + "output_type": "stream", |
| 280 | + "text": [ |
| 281 | + "Paste the redirect URL here: http://localhost:8000/callback?state=UHVmNmG43imicvDFxGrvj70H5JAXQ8&session_state=6b99a56f-734f-4c38-b907-085815435e0b&iss=https%3A%2F%2Fauth.dev.apex.esa.int%2Frealms%2Fapex&code=c62e2916-9ec0-452d-acba-38a0e0705bc3.6b99a56f-734f-4c38-b907-085815435e0b.c2e791df-00a5-4981-b8af-b014848a2b73\n" |
| 282 | + ] |
| 283 | + }, |
| 284 | + { |
| 285 | + "name": "stdout", |
| 286 | + "output_type": "stream", |
| 287 | + "text": [ |
| 288 | + "{'id': 148, 'title': 'PV Farm Detection', 'label': 'openeo', 'status': 'created', 'service': {'endpoint': 'https://openeofed.dataspace.copernicus.eu', 'application': 'https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/refs/heads/main/algorithm_catalog/eurac/eurac_pv_farm_detection/openeo_udp/eurac_pv_farm_detection.json'}, 'parameters': {'spatial_extent': {'west': 16.342, 'south': 47.962, 'east': 16.414, 'north': 48.008}, 'temporal_extent': ['2023-05-01', '2023-09-30']}}\n" |
275 | 289 | ] |
276 | 290 | } |
277 | 291 | ], |
|
311 | 325 | }, |
312 | 326 | { |
313 | 327 | "cell_type": "code", |
314 | | - "execution_count": 49, |
| 328 | + "execution_count": 12, |
315 | 329 | "id": "02e5c413-d110-4110-be59-c86e5226edc5", |
316 | 330 | "metadata": {}, |
317 | 331 | "outputs": [], |
|
354 | 368 | }, |
355 | 369 | { |
356 | 370 | "cell_type": "code", |
357 | | - "execution_count": 50, |
| 371 | + "execution_count": 13, |
358 | 372 | "id": "ac428293-7cd4-49a8-9bfa-4e0dc8f4d2cc", |
359 | 373 | "metadata": {}, |
360 | 374 | "outputs": [ |
361 | 375 | { |
362 | 376 | "data": { |
363 | 377 | "application/vnd.jupyter.widget-view+json": { |
364 | | - "model_id": "0341e40c72df455f8bf0a98becc8a928", |
| 378 | + "model_id": "3780c8a4fbb248f4a4fb6f9f05e9929c", |
365 | 379 | "version_major": 2, |
366 | 380 | "version_minor": 0 |
367 | 381 | }, |
|
448 | 462 | "# Run the websocket listener in the notebook\n", |
449 | 463 | "await listen_for_updates()" |
450 | 464 | ] |
| 465 | + }, |
| 466 | + { |
| 467 | + "cell_type": "code", |
| 468 | + "execution_count": null, |
| 469 | + "id": "b8d57f37-8c56-4f22-8803-425e8e1128aa", |
| 470 | + "metadata": {}, |
| 471 | + "outputs": [], |
| 472 | + "source": [] |
451 | 473 | } |
452 | 474 | ], |
453 | 475 | "metadata": { |
|
0 commit comments