Skip to content

Commit aff9521

Browse files
Update documentation
1 parent 944302b commit aff9521

110 files changed

Lines changed: 4128 additions & 3356 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 258449c5a17eec5800d52465022ef9e1
3+
config: 09e5cea43acf49a22b9898f2336177d9
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

README.html

Lines changed: 62 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<head>
88
<meta charset="utf-8" />
9-
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

1111
<title>Geospatial Python Tutorials &#8212; Geospatial Python Tutorials</title>
1212

@@ -16,33 +16,30 @@
1616
document.documentElement.dataset.mode = localStorage.getItem("mode") || "light";
1717
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
1818
</script>
19-
<!--
20-
this give us a css class that will be invisible only if js is disabled
21-
-->
22-
<noscript>
23-
<style>
24-
.pst-js-only { display: none !important; }
25-
26-
</style>
27-
</noscript>
2819

2920
<!-- Loaded before other Sphinx assets -->
30-
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
31-
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
21+
<link href="_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
22+
<link href="_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
23+
<link href="_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
24+
25+
26+
<link href="_static/vendor/fontawesome/6.5.2/css/all.min.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
27+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2" />
28+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2" />
29+
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2" />
3230

3331
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
34-
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=a3416100" />
32+
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=eba8b062" />
3533
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css?v=13237357" />
3634
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
37-
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
35+
<link rel="stylesheet" type="text/css" href="_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
3836
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
3937
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
4038

41-
<!-- So that users can add custom icons -->
42-
<script src="_static/scripts/fontawesome.js?digest=8878045cc6db502f8baf"></script>
4339
<!-- Pre-loaded scripts that we'll load fully later -->
44-
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
45-
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
40+
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
41+
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
42+
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
4643

4744
<script src="_static/documentation_options.js?v=9eb32ce0"></script>
4845
<script src="_static/doctools.js?v=9a2dae69"></script>
@@ -78,7 +75,6 @@
7875
<link rel="search" title="Search" href="search.html" />
7976
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8077
<meta name="docsearch:language" content="en"/>
81-
<meta name="docsearch:version" content="" />
8278
</head>
8379

8480

@@ -94,24 +90,36 @@
9490
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
9591

9692

97-
<dialog id="pst-search-dialog">
98-
93+
<input type="checkbox"
94+
class="sidebar-toggle"
95+
id="pst-primary-sidebar-checkbox"/>
96+
<label class="overlay overlay-primary" for="pst-primary-sidebar-checkbox"></label>
97+
98+
<input type="checkbox"
99+
class="sidebar-toggle"
100+
id="pst-secondary-sidebar-checkbox"/>
101+
<label class="overlay overlay-secondary" for="pst-secondary-sidebar-checkbox"></label>
102+
103+
<div class="search-button__wrapper">
104+
<div class="search-button__overlay"></div>
105+
<div class="search-button__search-container">
99106
<form class="bd-search d-flex align-items-center"
100107
action="search.html"
101108
method="get">
102109
<i class="fa-solid fa-magnifying-glass"></i>
103110
<input type="search"
104111
class="form-control"
105112
name="q"
113+
id="search-input"
106114
placeholder="Search this book..."
107115
aria-label="Search this book..."
108116
autocomplete="off"
109117
autocorrect="off"
110118
autocapitalize="off"
111119
spellcheck="false"/>
112120
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
113-
</form>
114-
</dialog>
121+
</form></div>
122+
</div>
115123

116124
<div class="pst-async-banner-revealer d-none">
117125
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
@@ -129,8 +137,7 @@
129137

130138

131139

132-
<dialog id="pst-primary-sidebar-modal"></dialog>
133-
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar">
140+
<div class="bd-sidebar-primary bd-sidebar">
134141

135142

136143

@@ -158,17 +165,21 @@
158165

159166

160167
<img src="_static/logo.png" class="logo__image only-light" alt="Geospatial Python Tutorials - Home"/>
161-
<img src="_static/logo.png" class="logo__image only-dark pst-js-only" alt="Geospatial Python Tutorials - Home"/>
168+
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="Geospatial Python Tutorials - Home"/>`);</script>
162169

163170

164171
</a></div>
165172
<div class="sidebar-primary-item">
166173

167-
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
168-
<i class="fa-solid fa-magnifying-glass"></i>
169-
<span class="search-button__default-text">Search</span>
170-
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
171-
</button></div>
174+
<script>
175+
document.write(`
176+
<button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
177+
<i class="fa-solid fa-magnifying-glass"></i>
178+
<span class="search-button__default-text">Search</span>
179+
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
180+
</button>
181+
`);
182+
</script></div>
172183
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
173184
<div class="bd-toc-item navbar-nav active">
174185

@@ -242,14 +253,9 @@
242253

243254

244255
<div class="sidebar-primary-items__end sidebar-primary__section">
245-
<div class="sidebar-primary-item">
246-
<div id="ethical-ad-placement"
247-
class="flat"
248-
data-ea-publisher="readthedocs"
249-
data-ea-type="readthedocs-sidebar"
250-
data-ea-manual="true">
251-
</div></div>
252256
</div>
257+
258+
<div id="rtd-footer-container"></div>
253259

254260

255261
</div>
@@ -393,16 +399,24 @@
393399

394400

395401

396-
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
397-
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
398-
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
399-
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
400-
</button>
402+
<script>
403+
document.write(`
404+
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
405+
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i>
406+
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i>
407+
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i>
408+
</button>
409+
`);
410+
</script>
401411

402412

403-
<button class="btn btn-sm pst-navbar-icon search-button search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
413+
<script>
414+
document.write(`
415+
<button class="btn btn-sm pst-navbar-icon search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
404416
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
405-
</button>
417+
</button>
418+
`);
419+
</script>
406420
<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
407421
<span class="fa-solid fa-list"></span>
408422
</button>
@@ -547,8 +561,7 @@ <h2>License<a class="headerlink" href="#license" title="Link to this heading">#<
547561

548562

549563

550-
<dialog id="pst-secondary-sidebar-modal"></dialog>
551-
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
564+
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
552565

553566

554567
<div class="sidebar-secondary-item">
@@ -614,8 +627,8 @@ <h2>License<a class="headerlink" href="#license" title="Link to this heading">#<
614627
</div>
615628

616629
<!-- Scripts loaded after <body> so the DOM is not blocked -->
617-
<script defer src="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf"></script>
618-
<script defer src="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf"></script>
630+
<script src="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b"></script>
631+
<script src="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b"></script>
619632

620633
<footer class="bd-footer">
621634
</footer>

_sources/notebooks/xarray_embeddings_similarity_search.ipynb

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,18 @@
4545
},
4646
{
4747
"cell_type": "markdown",
48-
"metadata": {},
48+
"metadata": {
49+
"id": "069649d2"
50+
},
51+
"source": [
52+
"> The preferred way to run each tutorial is using Google Colab. Click the icon <img src='https://github.com/spatialthoughts/geopython-tutorials/blob/main/notebooks/images/fa-rocket.svg?raw=1' height=15> located at the top to open it on Colab."
53+
]
54+
},
55+
{
56+
"cell_type": "markdown",
57+
"metadata": {
58+
"id": "WvCQOtZ_NXv9"
59+
},
4960
"source": [
5061
"## Setup and Data Download\n",
5162
"The following blocks of code will install the required packages and download the datasets to your Colab environment."
@@ -185,7 +196,7 @@
185196
},
186197
{
187198
"cell_type": "code",
188-
"execution_count": 38,
199+
"execution_count": null,
189200
"metadata": {
190201
"colab": {
191202
"base_uri": "https://localhost:8080/",
@@ -346,7 +357,7 @@
346357
},
347358
{
348359
"cell_type": "code",
349-
"execution_count": 37,
360+
"execution_count": null,
350361
"metadata": {
351362
"colab": {
352363
"base_uri": "https://localhost:8080/",
@@ -666,7 +677,7 @@
666677
},
667678
{
668679
"cell_type": "code",
669-
"execution_count": 36,
680+
"execution_count": null,
670681
"metadata": {
671682
"colab": {
672683
"base_uri": "https://localhost:8080/",
@@ -970,7 +981,7 @@
970981
},
971982
{
972983
"cell_type": "code",
973-
"execution_count": 35,
984+
"execution_count": null,
974985
"metadata": {
975986
"colab": {
976987
"base_uri": "https://localhost:8080/",
@@ -1734,7 +1745,7 @@
17341745
},
17351746
{
17361747
"cell_type": "code",
1737-
"execution_count": 34,
1748+
"execution_count": null,
17381749
"metadata": {
17391750
"colab": {
17401751
"base_uri": "https://localhost:8080/",
@@ -2470,7 +2481,7 @@
24702481
},
24712482
{
24722483
"cell_type": "code",
2473-
"execution_count": 33,
2484+
"execution_count": null,
24742485
"metadata": {
24752486
"colab": {
24762487
"base_uri": "https://localhost:8080/",
@@ -2854,7 +2865,7 @@
28542865
},
28552866
{
28562867
"cell_type": "code",
2857-
"execution_count": 32,
2868+
"execution_count": null,
28582869
"metadata": {
28592870
"colab": {
28602871
"base_uri": "https://localhost:8080/"
@@ -2889,7 +2900,7 @@
28892900
},
28902901
{
28912902
"cell_type": "code",
2892-
"execution_count": 30,
2903+
"execution_count": null,
28932904
"metadata": {
28942905
"colab": {
28952906
"base_uri": "https://localhost:8080/",
@@ -2992,7 +3003,7 @@
29923003
},
29933004
{
29943005
"cell_type": "code",
2995-
"execution_count": 29,
3006+
"execution_count": null,
29963007
"metadata": {
29973008
"colab": {
29983009
"base_uri": "https://localhost:8080/",
@@ -3097,7 +3108,7 @@
30973108
},
30983109
{
30993110
"cell_type": "code",
3100-
"execution_count": 31,
3111+
"execution_count": null,
31013112
"metadata": {
31023113
"colab": {
31033114
"base_uri": "https://localhost:8080/",
@@ -3288,7 +3299,7 @@
32883299
},
32893300
{
32903301
"cell_type": "code",
3291-
"execution_count": 28,
3302+
"execution_count": null,
32923303
"metadata": {
32933304
"colab": {
32943305
"base_uri": "https://localhost:8080/",
@@ -3678,6 +3689,26 @@
36783689
"predicted_matches.to_file(vector_path, driver='GPKG')\n",
36793690
"print(f'Saved predicted matches to {vector_path}')"
36803691
]
3692+
},
3693+
{
3694+
"cell_type": "markdown",
3695+
"metadata": {
3696+
"id": "s9fb0NotJ29P"
3697+
},
3698+
"source": [
3699+
"----\n",
3700+
"\n",
3701+
"If you want to give feedback or share your experience with this tutorial, please comment below. (requires GitHub account)\n",
3702+
"\n",
3703+
"\n",
3704+
"<script src='https://utteranc.es/client.js'\n",
3705+
" repo='spatialthoughts/geopython-tutorials'\n",
3706+
" issue-term='pathname'\n",
3707+
" theme='github-light'\n",
3708+
" crossorigin='anonymous'\n",
3709+
" async>\n",
3710+
"</script>"
3711+
]
36813712
}
36823713
],
36833714
"metadata": {
@@ -3704,4 +3735,4 @@
37043735
},
37053736
"nbformat": 4,
37063737
"nbformat_minor": 0
3707-
}
3738+
}

_static/basic.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ div.sphinxsidebarwrapper {
5555

5656
div.sphinxsidebar {
5757
float: left;
58-
width: 230px;
58+
width: 270px;
5959
margin-left: -100%;
6060
font-size: 90%;
6161
word-wrap: break-word;

0 commit comments

Comments
 (0)