Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 26, 2023
1 parent f1f5aaa commit 2aa31e4
Show file tree
Hide file tree
Showing 20 changed files with 188 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cd3a45f9
3e471a8d
Binary file modified _tex/index_files/figure-pdf/fig-timeline-output-1.pdf
Binary file not shown.
Binary file modified index-meca.zip
Binary file not shown.
22 changes: 11 additions & 11 deletions index-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ <h2 id="toc-title">Table of contents</h2>
</div>
<main class="content quarto-banner-title-block" id="quarto-document-content">

<div id="42487957" class="cell markdown">
<div id="965dd61c" class="cell markdown">
<section id="introduction" class="level2" data-number="1">
<h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="header-section-number">1</span> Introduction</h2>
</section>
</div>
<div class="cell-container"><div class="cell-decorator"><pre>In [1]:</pre></div><div id="0dd43b78" class="cell" data-execution_count="1">
<div class="cell-container"><div class="cell-decorator"><pre>In [1]:</pre></div><div id="9dfe3472" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> matplotlib.pyplot <span class="im">as</span> plt</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>eruptions <span class="op">=</span> [<span class="dv">1492</span>, <span class="dv">1585</span>, <span class="dv">1646</span>, <span class="dv">1677</span>, <span class="dv">1712</span>, <span class="dv">1949</span>, <span class="dv">1971</span>, <span class="dv">2021</span>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
Expand All @@ -311,10 +311,10 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a>plt.ylabel(<span class="st">''</span>)</span>
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a>plt.show()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display">
<div id="fig-timeline" class="quarto-figure quarto-figure-center anchored" width="466" height="115" alt="An event plot of the years of the last 8 eruptions on La Palma.">
<div id="fig-timeline" class="quarto-figure quarto-figure-center anchored" alt="An event plot of the years of the last 8 eruptions on La Palma." width="466" height="115">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-timeline-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca" class="">
<a href="index_files/figure-html/fig-timeline-output-1.png" class="lightbox" data-description="Figure&nbsp;1: Timeline of recent earthquakes on La Palma" data-gallery="quarto-lightbox-gallery-1" title="An event plot of the years of the last 8 eruptions on La Palma."><img src="index_files/figure-html/fig-timeline-output-1.png" alt="An event plot of the years of the last 8 eruptions on La Palma." width="466" height="115" class="figure-img"></a>
<a href="index_files/figure-html/fig-timeline-output-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" data-description="Figure&nbsp;1: Timeline of recent earthquakes on La Palma" title="An event plot of the years of the last 8 eruptions on La Palma."><img src="index_files/figure-html/fig-timeline-output-1.png" alt="An event plot of the years of the last 8 eruptions on La Palma." width="466" height="115" class="figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-timeline-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: Timeline of recent earthquakes on La Palma
Expand All @@ -323,14 +323,14 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
</div>
</div>
</div></div>
<div class="cell-container"><div class="cell-decorator"><pre>In [3]:</pre></div><div id="5018ff84" class="cell" data-execution_count="3">
<div class="cell-container"><div class="cell-decorator"><pre>In [3]:</pre></div><div id="be9fb910" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>avg_years_between_eruptions <span class="op">=</span> np.mean(np.diff(eruptions[:<span class="op">-</span><span class="dv">1</span>]))</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a>avg_years_between_eruptions</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="9">
<div class="cell-output cell-output-display" data-execution_count="3">
<pre><code>79.83333333333333</code></pre>
</div>
</div></div>
<div id="e96955a2" class="cell markdown">
<div id="2bf43e82" class="cell markdown">
<p>Based on data up to and including 1971, eruptions on La Palma happen every 79.8 years on average.</p>
<p>Studies of the magma systems feeding the volcano, such as <span class="citation" data-cites="marrero2019">Marrero et al. (<a href="#ref-marrero2019" role="doc-biblioref">2019</a>)</span>, have proposed that there are two main magma reservoirs feeding the Cumbre Vieja volcano; one in the mantle (30-40km depth) which charges and in turn feeds a shallower crustal reservoir (10-20km depth).</p>
<p>Eight eruptions have been recorded since the late 1400s (<a href="#fig-timeline" class="quarto-xref">Figure&nbsp;1</a>).</p>
Expand Down Expand Up @@ -395,7 +395,7 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
<div id="fig-map" class="quarto-figure quarto-figure-center anchored">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="images/la-palma-map.png" class="lightbox" data-description="Figure&nbsp;2: Map of La Palma" data-gallery="quarto-lightbox-gallery-2"><img src="images/la-palma-map.png" class="img-fluid figure-img"></a>
<a href="images/la-palma-map.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" data-description="Figure&nbsp;2: Map of La Palma"><img src="images/la-palma-map.png" class="img-fluid figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;2: Map of La Palma
Expand All @@ -415,10 +415,10 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
<span id="cb5-8"><a href="#cb5-8" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-9"><a href="#cb5-9" aria-hidden="true" tabindex="-1"></a>plt.show()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display">
<div id="fig-spatial-plot" class="quarto-figure quarto-figure-center anchored" width="917" height="799" alt="A scatterplot of earthquake locations plotting latitude against longitude.">
<div id="fig-spatial-plot" class="quarto-figure quarto-figure-center anchored" alt="A scatterplot of earthquake locations plotting latitude against longitude." width="917" height="799">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-spatial-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca" class="">
<a href="index_files/figure-html/fig-spatial-plot-output-1.png" class="lightbox" data-description="Figure&nbsp;3: Locations of earthquakes on La Palma since 2017." data-gallery="quarto-lightbox-gallery-3" title="A scatterplot of earthquake locations plotting latitude against longitude."><img src="index_files/figure-html/fig-spatial-plot-output-1.png" alt="A scatterplot of earthquake locations plotting latitude against longitude." width="917" height="799" class="figure-img"></a>
<a href="index_files/figure-html/fig-spatial-plot-output-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" data-description="Figure&nbsp;3: Locations of earthquakes on La Palma since 2017." title="A scatterplot of earthquake locations plotting latitude against longitude."><img src="index_files/figure-html/fig-spatial-plot-output-1.png" alt="A scatterplot of earthquake locations plotting latitude against longitude." width="917" height="799" class="figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-spatial-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;3: Locations of earthquakes on La Palma since 2017.
Expand Down Expand Up @@ -834,6 +834,6 @@ <h2 class="unnumbered anchored" data-anchor-id="references">References</h2>
}
}
});
</script> </div> <!-- /content --> <script>var lightboxQuarto = GLightbox({"loop":false,"selector":".lightbox","closeEffect":"zoom","openEffect":"zoom","descPosition":"bottom"});</script>
</script> </div> <!-- /content --> <script>var lightboxQuarto = GLightbox({"descPosition":"bottom","openEffect":"zoom","selector":".lightbox","closeEffect":"zoom","loop":false});</script>

</body></html>
Binary file modified index.docx
Binary file not shown.
10 changes: 5 additions & 5 deletions index.embed.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ <h2 id="toc-title">Table of contents</h2>
<h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="header-section-number">1</span> Introduction</h2>
<div id="cell-fig-timeline" class="cell" data-execution_count="2">
<div class="cell-output cell-output-display">
<div id="fig-timeline" class="quarto-figure quarto-figure-center anchored" width="466" height="115" alt="An event plot of the years of the last 8 eruptions on La Palma.">
<div id="fig-timeline" class="quarto-figure quarto-figure-center anchored" width="466" alt="An event plot of the years of the last 8 eruptions on La Palma." height="115">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-timeline-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-timeline-output-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" data-description="Figure&nbsp;1: Timeline of recent earthquakes on La Palma" title="An event plot of the years of the last 8 eruptions on La Palma."><img src="index_files/figure-html/fig-timeline-output-1.png" alt="An event plot of the years of the last 8 eruptions on La Palma." width="466" height="115" class="figure-img"></a>
<a href="index_files/figure-html/fig-timeline-output-1.png" class="lightbox" data-description="Figure&nbsp;1: Timeline of recent earthquakes on La Palma" data-gallery="quarto-lightbox-gallery-1" title="An event plot of the years of the last 8 eruptions on La Palma."><img src="index_files/figure-html/fig-timeline-output-1.png" alt="An event plot of the years of the last 8 eruptions on La Palma." width="466" height="115" class="figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-timeline-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: Timeline of recent earthquakes on La Palma
Expand Down Expand Up @@ -257,7 +257,7 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
<div id="fig-map" class="quarto-figure quarto-figure-center anchored">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="images/la-palma-map.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" data-description="Figure&nbsp;2: Map of La Palma"><img src="images/la-palma-map.png" class="img-fluid figure-img"></a>
<a href="images/la-palma-map.png" class="lightbox" data-description="Figure&nbsp;2: Map of La Palma" data-gallery="quarto-lightbox-gallery-2"><img src="images/la-palma-map.png" class="img-fluid figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-map-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;2: Map of La Palma
Expand All @@ -268,10 +268,10 @@ <h2 data-number="1" class="anchored" data-anchor-id="introduction"><span class="
<div class="quarto-embed-nb-cell">
<div id="cell-fig-spatial-plot" class="cell" data-execution_count="7">
<div class="cell-output cell-output-display">
<div id="fig-spatial-plot" class="quarto-figure quarto-figure-center anchored" width="917" height="799" alt="A scatterplot of earthquake locations plotting latitude against longitude.">
<div id="fig-spatial-plot" class="quarto-figure quarto-figure-center anchored" width="917" alt="A scatterplot of earthquake locations plotting latitude against longitude." height="799">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-spatial-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<a href="index_files/figure-html/fig-spatial-plot-output-1.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" data-description="Figure&nbsp;3: Locations of earthquakes on La Palma since 2017." title="A scatterplot of earthquake locations plotting latitude against longitude."><img src="index_files/figure-html/fig-spatial-plot-output-1.png" alt="A scatterplot of earthquake locations plotting latitude against longitude." width="917" height="799" class="figure-img"></a>
<a href="index_files/figure-html/fig-spatial-plot-output-1.png" class="lightbox" data-description="Figure&nbsp;3: Locations of earthquakes on La Palma since 2017." data-gallery="quarto-lightbox-gallery-3" title="A scatterplot of earthquake locations plotting latitude against longitude."><img src="index_files/figure-html/fig-spatial-plot-output-1.png" alt="A scatterplot of earthquake locations plotting latitude against longitude." width="917" height="799" class="figure-img"></a>
</div>
<figcaption class="figure quarto-float-caption quarto-float-fig" id="fig-spatial-plot-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;3: Locations of earthquakes on La Palma since 2017.
Expand Down Expand Up @@ -706,7 +706,7 @@ <h2 class="unnumbered anchored" data-anchor-id="references">References</h2>
});
</script>
</div> <!-- /content -->
<script>var lightboxQuarto = GLightbox({"selector":".lightbox","loop":false,"descPosition":"bottom","openEffect":"zoom","closeEffect":"zoom"});</script>
<script>var lightboxQuarto = GLightbox({"selector":".lightbox","loop":false,"closeEffect":"zoom","descPosition":"bottom","openEffect":"zoom"});</script>



Expand Down
10 changes: 5 additions & 5 deletions index.out.ipynb

Large diffs are not rendered by default.

Binary file modified index.pdf
Binary file not shown.
42 changes: 21 additions & 21 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,11 @@ Nacional (IGN). …</p>
</front-stub>

<body>
<sec id="cell-321d9992-nb-article" specific-use="notebook-content">
<sec id="cell-67a3a4e8-nb-article" specific-use="notebook-content">
<sec id="introduction-nb-article">
<title>1 Introduction</title>
</sec>
<sec id="a5dd21fc-nb-article" specific-use="notebook-code">
<sec id="c69ee907-nb-article" specific-use="notebook-code">
<code language="python">import matplotlib.pyplot as plt
import numpy as np
eruptions = [1492, 1585, 1646, 1677, 1712, 1949, 1971, 2021]</code>
Expand All @@ -329,14 +329,14 @@ plt.show()</code>
</fig>
</sec>
</sec>
<sec id="cell-86046ea2-nb-article" specific-use="notebook-code">
<sec id="b397d1c8-nb-article" specific-use="notebook-code">
<code language="python">avg_years_between_eruptions = np.mean(np.diff(eruptions[:-1]))
avg_years_between_eruptions</code>
<sec id="cell-86046ea2-output-0-nb-article" specific-use="notebook-output">
<sec id="b397d1c8-output-0-nb-article" specific-use="notebook-output">
<preformat>79.83333333333333</preformat>
</sec>
</sec>
<sec id="b471fd7f-nb-article" specific-use="notebook-content">
<sec id="cell-1962cec2-nb-article" specific-use="notebook-content">
<p>Based on data up to and including 1971, eruptions on La Palma
happen every 79.8 years on average.</p>
<p>Studies of the magma systems feeding the volcano, such as Marrero
Expand Down Expand Up @@ -522,20 +522,20 @@ notebook by Steve Purves</fn>
</front-stub>

<body>
<sec id="e3a1133d-nb-1" specific-use="notebook-code">
<sec id="cell-43daa9a5-nb-1" specific-use="notebook-code">
<preformat>import pandas as pd
import matplotlib.pyplot as plt</preformat>
</sec>
<sec id="cell-21324404-nb-1" specific-use="notebook-content">
<sec id="cell-25be6d6d-nb-1" specific-use="notebook-content">
<p>Import <monospace>la-palma.csv</monospace> - a clean subset of
<ext-link ext-link-type="uri" xlink:href="https://github.com/Notebooks-Now/submission-quarto-full/blob/main/data/catalogoComunSV_1663233588717.csv"><monospace>catalogoComunSV_1663233588717.csv</monospace></ext-link>:</p>
</sec>
<sec id="cell-3588ccfa-nb-1" specific-use="notebook-code">
<sec id="cell-7e7b2b9e-nb-1" specific-use="notebook-code">
<preformat>df = pd.read_csv('la-palma.csv')
df['DateTime'] = pd.to_datetime(df['DateTime'])
df = df.sort_values(by=['DateTime'], ascending=True)
df.head()</preformat>
<sec id="cell-3588ccfa-output-0-nb-1" specific-use="notebook-output">
<sec id="cell-7e7b2b9e-output-0-nb-1" specific-use="notebook-output">
<table-wrap>
<table border="1">
<thead>
Expand Down Expand Up @@ -594,9 +594,9 @@ df.head()</preformat>
</table-wrap>
</sec>
</sec>
<sec id="cf8656b6-nb-1" specific-use="notebook-code">
<sec id="cca50ca5-nb-1" specific-use="notebook-code">
<preformat>df.describe()</preformat>
<sec id="cf8656b6-output-0-nb-1" specific-use="notebook-output">
<sec id="cca50ca5-output-0-nb-1" specific-use="notebook-output">
<table-wrap>
<table border="1">
<thead>
Expand Down Expand Up @@ -670,26 +670,26 @@ df.head()</preformat>
</table-wrap>
</sec>
</sec>
<sec id="cell-204e1533-nb-1" specific-use="notebook-code">
<sec id="cell-3f3b8176-nb-1" specific-use="notebook-code">
<preformat>df.plot.scatter(x=&quot;Longitude&quot;, y=&quot;Latitude&quot;, figsize=(12,12), grid=&quot;on&quot;);</preformat>
<sec id="cell-204e1533-output-0-nb-1" specific-use="notebook-output">
<sec id="cell-3f3b8176-output-0-nb-1" specific-use="notebook-output">
<fig>
<caption><p></p></caption>
<graphic id="fig-539a35d47e664c97a50115a146a7f1bd-1-nb-1" mimetype="image" mime-subtype="png" xlink:href="data-screening_files/figure-jats/cell-5-output-1.png" />
</fig>
</sec>
</sec>
<sec id="ebdb3a1c-nb-1" specific-use="notebook-content">
<sec id="cell-319030b4-nb-1" specific-use="notebook-content">
<sec id="filter-nb-1">
<title>Filter</title>
<p>Also some rows seem to be missing depth measurements, (see
differences in the <bold>count</bold> for columns above) - take only
rows with valid depths</p>
</sec>
<sec id="e3111732-nb-1" specific-use="notebook-code">
<sec id="f02e8517-nb-1" specific-use="notebook-code">
<preformat>df = df[df['Depth(km)'].notna()]
df.describe()</preformat>
<sec id="e3111732-output-0-nb-1" specific-use="notebook-output">
<sec id="f02e8517-output-0-nb-1" specific-use="notebook-output">
<table-wrap>
<table border="1">
<thead>
Expand Down Expand Up @@ -763,25 +763,25 @@ df.describe()</preformat>
</table-wrap>
</sec>
</sec>
<sec id="cell-528f6a0d-nb-1" specific-use="notebook-code">
<sec id="f31daa87-nb-1" specific-use="notebook-code">
<preformat>plt.figure(figsize=(20,6))
plt.subplot(1,3,1)
df[&quot;Latitude&quot;].plot.hist(bins=20, density=True)
plt.subplot(1,3,2)
df[&quot;Longitude&quot;].plot.hist(bins=20, density=True)
plt.subplot(1,3,3)
df[&quot;Depth(km)&quot;].plot.hist(bins=50, density=True)</preformat>
<sec id="cell-528f6a0d-output-0-nb-1" specific-use="notebook-output">
<sec id="f31daa87-output-0-nb-1" specific-use="notebook-output">
<preformat>&lt;Axes: ylabel='Frequency'&gt;</preformat>
</sec>
<sec id="cell-528f6a0d-output-1-nb-1" specific-use="notebook-output">
<sec id="f31daa87-output-1-nb-1" specific-use="notebook-output">
<fig>
<caption><p></p></caption>
<graphic id="fig-539a35d47e664c97a50115a146a7f1bd-2-nb-1" mimetype="image" mime-subtype="png" xlink:href="data-screening_files/figure-jats/cell-7-output-2.png" />
</fig>
</sec>
</sec>
<sec id="cell-6bcba60c-nb-1" specific-use="notebook-content">
<sec id="cell-2e9530fb-nb-1" specific-use="notebook-content">
</sec>
<sec id="spatial-plot-nb-1">
<title>Spatial Plot</title>
Expand All @@ -808,7 +808,7 @@ plt.show()</preformat>
</fig>
</sec>
</sec>
<sec id="b9129c3f-nb-1" specific-use="notebook-content">
<sec id="f0aaa739-nb-1" specific-use="notebook-content">
<sec id="timeline-plot-nb-1">
<title>Timeline Plot</title>
<p>Scatter plot the event time series and look for any quantization
Expand Down
Binary file added index_files/figure-html/cell-5-output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added index_files/figure-html/cell-7-output-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added index_files/figure-html/fig-timeline-output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2aa31e4

Please sign in to comment.