pre-python caption fixing

This commit is contained in:
Ollie Ballinger
2022-12-21 14:59:52 +00:00
parent e84c7edaac
commit 11c23b069a
11 changed files with 2213 additions and 144 deletions

View File

@@ -330,7 +330,16 @@ gtag('config', 'G-RK9ZLZQ6GL', { 'anonymize_ip': true});
<p>Although you now know the most basic fundamentals of Earth Engine, there is still much more that can be done. The Part presents some advanced topics that can help expand your skill set for doing larger and more complex projects. These include tools for sharing code among users, scaling up with efficient project design, creating apps for non-expert users, and combining R with other information processing platforms.</p>
<section id="advanced-raster-visualization" class="level1" data-number="8">
<h1 data-number="8"><span class="header-section-number">8</span> Advanced Raster Visualization</h1>
<hr>
<div class="callout-tip callout callout-style-default callout-captioned">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-caption-container flex-fill">
Chapter Information
</div>
</div>
<div class="callout-body-container callout-body">
<section id="author" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="author">Author</h2>
<p>Gennadii Donchyts, Fedor Baart</p>
@@ -357,9 +366,10 @@ gtag('config', 'G-RK9ZLZQ6GL', { 'anonymize_ip': true});
<li>Inspect an Image&nbsp;and an ImageCollection, as well as their properties&nbsp;(Chap. F4.1).</li>
</ul>
</section>
<section id="introduction-to-theory" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-to-theory">Introduction to Theory</h2>
<hr>
</div>
</div>
<section id="introduction" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction">Introduction</h2>
<p>Visualization is the step to transform data into a visual representation. You make a visualization as soon as you add your first layer to your map in Google Earth Engine. Sometimes you just want to have a first look at a dataset during the exploration phase. But as you move towards the dissemination phase, where you want to spread your results, it is good to think about a more structured approach to visualization. A typical workflow for creating visualization consists of the following steps:</p>
<ul>
<li>Defining the story (what is the message?)</li>
@@ -951,7 +961,16 @@ Note
</section>
<section id="collaborating-in-earth-engine-with-scripts-and-assets" class="level1" data-number="9">
<h1 data-number="9"><span class="header-section-number">9</span> Collaborating&nbsp;in Earth Engine with Scripts and Assets</h1>
<hr>
<div class="callout-tip callout callout-style-default callout-captioned">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-caption-container flex-fill">
Chapter Information
</div>
</div>
<div class="callout-body-container callout-body">
<section id="author-1" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="author-1">Author</h2>
<p>Sabrina H. Szeto</p>
@@ -981,9 +1000,10 @@ Note
<li>Sign up for an Earth Engine account, open the Code Editor, and save your script (Chap. F1.0).</li>
</ul>
</section>
<section id="introduction-to-theory-1" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-to-theory-1">Introduction to Theory</h2>
<hr>
</div>
</div>
<section id="introduction-1" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-1">Introduction</h2>
<p>Many people find themselves needing to share a script when they encounter a problem; they wish to share the script with someone else so they can ask a question. When this occurs, sharing a link to the script often suffices. The other person can then make comments or changes before sending a new link to the modified script.</p>
<p>If you have included any assets from the Asset Manager&nbsp;in your script, you will also need to share these assets in order for your script to work for your colleague. The same goes for sharing assets to be displayed in an app.</p>
<p>Another common situation involves collaborating with others on a project. They may have some scripts they have written that they want to reuse or modify for the new project. Alternatively, several people might want to work on the same script together. For this situation, sharing a repository would be the best way forward; team members will be able to see who made what changes to a script and even revert to a previous version.</p>
@@ -1210,7 +1230,16 @@ Map.addLayer(composite, {<br>
</section>
<section id="scaling-up-in-earth-engine" class="level1" data-number="10">
<h1 data-number="10"><span class="header-section-number">10</span> Scaling Up in Earth Engine</h1>
<hr>
<div class="callout-tip callout callout-style-default callout-captioned">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-caption-container flex-fill">
Chapter Information
</div>
</div>
<div class="callout-body-container callout-body">
<section id="author-2" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="author-2">Author</h2>
<p>Jillian M. Deines, Stefania Di Tommaso, Nicholas Clinton, Noel Gorelick &nbsp; &nbsp;</p>
@@ -1238,9 +1267,10 @@ Map.addLayer(composite, {<br>
<li>Use the require&nbsp;function to load code from existing modules (Chap. F6.1).</li>
</ul>
</section>
<section id="introduction-to-theory-2" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-to-theory-2">Introduction to Theory</h2>
<hr>
</div>
</div>
<section id="introduction-2" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-2">Introduction</h2>
<p>Parts F1F5 of this book have covered key remote sensing concepts and demonstrated how to implement them in Earth Engine. Most exercises have used local-scale examples to enhance understanding and complete tasks within a class-length time period. But Earth Engines power comes from its scalability—the ability to apply geospatial processing across large areas and many years.</p>
<p>How we go from small to large scales is influenced by Earth Engines design. Earth Engine runs on many individual computer servers, and its functions are designed to split up processing onto these servers. This chapter focuses on common approaches to implement large jobs within Earth Engines constraints. To do so, we first discuss Earth Engines underlying infrastructure to provide context for existing limits. We then cover four core concepts for scaling:</p>
<ol type="1">
@@ -1701,7 +1731,16 @@ Note
</section>
<section id="sharing-work-in-earth-engine-basic-ui-and-apps" class="level1" data-number="11">
<h1 data-number="11"><span class="header-section-number">11</span> Sharing Work in Earth Engine: Basic UI and Apps</h1>
<hr>
<div class="callout-tip callout callout-style-default callout-captioned">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-caption-container flex-fill">
Chapter Information
</div>
</div>
<div class="callout-body-container callout-body">
<section id="author-3" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="author-3">Author</h2>
<p>Qiusheng&nbsp;Wu</p>
@@ -1730,9 +1769,10 @@ Note
<li>Use the basic functions and logic of Python.</li>
</ul>
</section>
<section id="introduction-to-theory-3" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-to-theory-3">Introduction to Theory</h2>
<hr>
</div>
</div>
<section id="introduction-3" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-3">Introduction</h2>
<p>Earth Engine has a user interface API that allows users to build and publish interactive web apps directly from the JavaScript Code Editor. Many readers will have encountered a call to ui.Chart in other chapters, but much more interface functionality is available. In particular, users can utilize the ui&nbsp;functions to construct an entire graphical user interface (GUI) for their Earth Engine script. The GUI may include simple widgets (e.g., labels, buttons, checkboxes, sliders, text boxes) as well as more complex widgets (e.g., charts, maps, panels) for controlling the GUI layout. A complete list of the ui&nbsp;widgets and more information about panels can be found at the links below. Once a GUI is constructed, users can publish the App from the JavaScript Code Editor by clicking the Apps&nbsp;button above the script panel in the Code Editor.</p>
<ul>
<li>Widgets: <a href="https://www.google.com/url?q=https://developers.google.com/earth-engine/guides/ui_widgets&amp;sa=D&amp;source=editors&amp;ust=1671458841273029&amp;usg=AOvVaw10aLP4KU7kHJTwcnM5Pr4-">https://developers.google.com/earth-engine/guides/ui_widgets</a></li>
@@ -2078,8 +2118,16 @@ Note
<li>Earthengine-apps: <a href="https://www.google.com/url?q=https://github.com/giswqs/earthengine-apps&amp;sa=D&amp;source=editors&amp;ust=1671458841358120&amp;usg=AOvVaw2XD4jjXV9SfPmaC-oLbstc">https://github.com/giswqs/earthengine-apps</a>&nbsp; &nbsp;</li>
</ul>
<p>Chapter&nbsp;F6.4: Combining R and Earth Engine</p>
<hr>
</section>
<div class="callout-tip callout callout-style-default callout-captioned">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-caption-container flex-fill">
Chapter Information
</div>
</div>
<div class="callout-body-container callout-body">
<section id="author-4" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="author-4">Author</h2>
<p>&nbsp;</p>
@@ -2109,9 +2157,11 @@ Note
<li>Create Python virtual environments.</li>
</ul>
</section>
<section id="introduction-to-theory-4" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-to-theory-4">Introduction to Theory</h2>
<hr>
</div>
</div>
</section>
<section id="introduction-4" class="level2 unlisted unnumbered">
<h2 class="unlisted unnumbered anchored" data-anchor-id="introduction-4">Introduction</h2>
<p>R is a popular programming language established in statistical science with large support in reproducible research, geospatial analysis, data visualization, and much more. To get started with R, you will need to satisfy some extra software requirements. First, install an up-to-date R version&nbsp;(at least 4.0) in your work environment. The installation procedure will vary depending on your operating system (i.e., Windows, Mac, or Linux). Hands-On Programming with R&nbsp;(Garrett Grolemund 2014, Appendix A) explains step by step how to proceed. We strongly recommend that Windows users install Rtools&nbsp;to avoid compiling external static libraries.</p>
<p>If you are new to R, a good starting point is the book Geocomputation with R&nbsp;(Lovelace et al.&nbsp;2019)&nbsp;or&nbsp;Spatial Data Science with Application in R&nbsp;(Pebesma and Bivand 2021). In addition, we recommend using an integrated development environment (e.g., Rstudio)&nbsp;or a&nbsp;code editor (e.g., Visual Studio Code) to create a suitable setting to display and interact with R objects.</p>
<p>The following R packages must be installed (find more information in the R manual) in order to go through the practicum section.</p>