Skip to content

Commit 9f1c7bf

Browse files
Update documentation
1 parent 95a328c commit 9f1c7bf

108 files changed

Lines changed: 3327 additions & 3998 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: 09e5cea43acf49a22b9898f2336177d9
3+
config: 258449c5a17eec5800d52465022ef9e1
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

README.html

Lines changed: 50 additions & 63 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="viewport" content="width=device-width, initial-scale=1" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
1010

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

@@ -16,30 +16,33 @@
1616
document.documentElement.dataset.mode = localStorage.getItem("mode") || "light";
1717
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
1818
</script>
19-
20-
<!-- Loaded before other Sphinx assets -->
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" />
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; }
2425

26+
</style>
27+
</noscript>
2528

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" />
29+
<!-- 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" />
3032

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

41+
<!-- So that users can add custom icons -->
42+
<script src="_static/scripts/fontawesome.js?digest=8878045cc6db502f8baf"></script>
3943
<!-- Pre-loaded scripts that we'll load fully later -->
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>
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" />
4346

4447
<script src="_static/documentation_options.js?v=9eb32ce0"></script>
4548
<script src="_static/doctools.js?v=9a2dae69"></script>
@@ -75,6 +78,7 @@
7578
<link rel="search" title="Search" href="search.html" />
7679
<meta name="viewport" content="width=device-width, initial-scale=1"/>
7780
<meta name="docsearch:language" content="en"/>
81+
<meta name="docsearch:version" content="" />
7882
</head>
7983

8084

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

9296

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">
97+
<dialog id="pst-search-dialog">
98+
10699
<form class="bd-search d-flex align-items-center"
107100
action="search.html"
108101
method="get">
109102
<i class="fa-solid fa-magnifying-glass"></i>
110103
<input type="search"
111104
class="form-control"
112105
name="q"
113-
id="search-input"
114106
placeholder="Search this book..."
115107
aria-label="Search this book..."
116108
autocomplete="off"
117109
autocorrect="off"
118110
autocapitalize="off"
119111
spellcheck="false"/>
120112
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
121-
</form></div>
122-
</div>
113+
</form>
114+
</dialog>
123115

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

138130

139131

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

142135

143136

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

166159

167160
<img src="_static/logo.png" class="logo__image only-light" 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>
161+
<img src="_static/logo.png" class="logo__image only-dark pst-js-only" alt="Geospatial Python Tutorials - Home"/>
169162

170163

171164
</a></div>
172165
<div class="sidebar-primary-item">
173166

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>
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>
183172
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
184173
<div class="bd-toc-item navbar-nav active">
185174

@@ -211,7 +200,7 @@
211200
<ul class="nav bd-sidenav">
212201
<li class="toctree-l1"><a class="reference internal" href="notebooks/xarray_aggregating_time_series.html">Aggregating Precipitation Time Series</a></li>
213202
<li class="toctree-l1"><a class="reference internal" href="notebooks/xarray_climate_anomaly.html">Calculating Climate Anomaly</a></li>
214-
<li class="toctree-l1"><a class="reference internal" href="notebooks/xarray_climate_trends.html">Computing Climate Trends</a></li>
203+
<li class="toctree-l1"><a class="reference internal" href="notebooks/xarray_climate_trends.html">Computing Pixel-Wise Long-Term Climate Trends</a></li>
215204
</ul>
216205
<p aria-level="2" class="caption" role="heading"><span class="caption-text">XArray Utilities</span></p>
217206
<ul class="nav bd-sidenav">
@@ -248,9 +237,14 @@
248237

249238

250239
<div class="sidebar-primary-items__end sidebar-primary__section">
240+
<div class="sidebar-primary-item">
241+
<div id="ethical-ad-placement"
242+
class="flat"
243+
data-ea-publisher="readthedocs"
244+
data-ea-type="readthedocs-sidebar"
245+
data-ea-manual="true">
246+
</div></div>
251247
</div>
252-
253-
<div id="rtd-footer-container"></div>
254248

255249

256250
</div>
@@ -394,24 +388,16 @@
394388

395389

396390

397-
<script>
398-
document.write(`
399-
<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">
400-
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i>
401-
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i>
402-
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i>
403-
</button>
404-
`);
405-
</script>
391+
<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">
392+
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
393+
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
394+
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
395+
</button>
406396

407397

408-
<script>
409-
document.write(`
410-
<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">
398+
<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">
411399
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
412-
</button>
413-
`);
414-
</script>
400+
</button>
415401
<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
416402
<span class="fa-solid fa-list"></span>
417403
</button>
@@ -556,7 +542,8 @@ <h2>License<a class="headerlink" href="#license" title="Link to this heading">#<
556542

557543

558544

559-
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
545+
<dialog id="pst-secondary-sidebar-modal"></dialog>
546+
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
560547

561548

562549
<div class="sidebar-secondary-item">
@@ -622,8 +609,8 @@ <h2>License<a class="headerlink" href="#license" title="Link to this heading">#<
622609
</div>
623610

624611
<!-- Scripts loaded after <body> so the DOM is not blocked -->
625-
<script src="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b"></script>
626-
<script src="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b"></script>
612+
<script defer src="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf"></script>
613+
<script defer src="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf"></script>
627614

628615
<footer class="bd-footer">
629616
</footer>

_sources/notebooks/xarray_climate_trends.ipynb

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"id": "8262b7f7-476c-4e00-9ca0-59d5928ef45c"
88
},
99
"source": [
10-
"# Computing Climate Trends\n",
10+
"# Computing Pixel-Wise Long-Term Climate Trends\n",
1111
"\n",
1212
"## Introduction\n",
1313
"\n",
@@ -277,6 +277,31 @@
277277
"client"
278278
]
279279
},
280+
{
281+
"cell_type": "markdown",
282+
"source": [
283+
"If you are running this notebook in Colab, you will need to create and use a proxy URL to see the dashboard running on the local server."
284+
],
285+
"metadata": {
286+
"id": "y-U-Q7Ksq6Fx"
287+
},
288+
"id": "y-U-Q7Ksq6Fx"
289+
},
290+
{
291+
"cell_type": "code",
292+
"source": [
293+
"if 'google.colab' in str(get_ipython()):\n",
294+
" from google.colab import output\n",
295+
" port_to_expose = 8787 # This is the default port for Dask dashboard\n",
296+
" print(output.eval_js(f'google.colab.kernel.proxyPort({port_to_expose})'))\n"
297+
],
298+
"metadata": {
299+
"id": "fiUjQik5q3O3"
300+
},
301+
"id": "fiUjQik5q3O3",
302+
"execution_count": null,
303+
"outputs": []
304+
},
280305
{
281306
"cell_type": "markdown",
282307
"id": "30ae8484-3ecb-431e-a554-00619928863e",
@@ -370,9 +395,7 @@
370395
"id": "1drqoFkLY6gt"
371396
},
372397
"source": [
373-
"Process and load the data into memory. This may take a few minutes. Check the Dask dashboard to see the progress\n",
374-
"\n",
375-
"> Note: The dask dashboard is not available on Colab."
398+
"Process and load the data into memory. This may take a few minutes. Check the Dask dashboard to see the progress."
376399
]
377400
},
378401
{
@@ -598,7 +621,9 @@
598621
{
599622
"cell_type": "markdown",
600623
"id": "a813374f",
601-
"metadata": {},
624+
"metadata": {
625+
"id": "a813374f"
626+
},
602627
"source": [
603628
"----\n",
604629
"\n",
@@ -639,4 +664,4 @@
639664
},
640665
"nbformat": 4,
641666
"nbformat_minor": 5
642-
}
667+
}

_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: 270px;
58+
width: 230px;
5959
margin-left: -100%;
6060
font-size: 90%;
6161
word-wrap: break-word;

0 commit comments

Comments
 (0)