Skip to content

Commit

Permalink
deploy: 9819864
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Oct 8, 2024
1 parent 2b739fb commit 1253b75
Show file tree
Hide file tree
Showing 18 changed files with 131 additions and 67 deletions.
6 changes: 3 additions & 3 deletions _preview/1/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<link rel="next" title="How to Cite This Cookbook" href="notebooks/how-to-cite.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -853,7 +853,7 @@ <h3>Running on Your Own Machine<a class="headerlink" href="#running-on-your-own-

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -907,7 +907,7 @@ <h3>Running on Your Own Machine<a class="headerlink" href="#running-on-your-own-

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 50 additions & 15 deletions _preview/1/_sources/notebooks/tutorials/arc_path.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _preview/1/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -570,7 +570,7 @@ <h1 id="index">Index</h1>

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -624,7 +624,7 @@ <h1 id="index">Index</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
10 changes: 6 additions & 4 deletions _preview/1/notebooks/foundations/coordinates.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<link rel="prev" title="Great Circle Terminology" href="terminology.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -1148,7 +1148,9 @@ <h3>World Map<a class="headerlink" href="#world-map" title="Link to this heading
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/miniconda3/envs/cookbook-dev/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_cultural/ne_110m_admin_0_boundary_lines_land.zip
warnings.warn(f&#39;Downloading: {url}&#39;, DownloadWarning)
/home/runner/miniconda3/envs/cookbook-dev/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_cultural/ne_110m_admin_1_states_provinces_lakes.zip
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/miniconda3/envs/cookbook-dev/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_cultural/ne_110m_admin_1_states_provinces_lakes.zip
warnings.warn(f&#39;Downloading: {url}&#39;, DownloadWarning)
</pre></div>
</div>
Expand Down Expand Up @@ -1555,7 +1557,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -1609,7 +1611,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _preview/1/notebooks/foundations/terminology.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<link rel="prev" title="How to Cite This Cookbook" href="../how-to-cite.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -923,7 +923,7 @@ <h3>What’s next?<a class="headerlink" href="#whats-next" title="Link to this h

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -977,7 +977,7 @@ <h3>What’s next?<a class="headerlink" href="#whats-next" title="Link to this h

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _preview/1/notebooks/how-to-cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<link rel="prev" title="Great Circle Cookbook" href="../README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -673,7 +673,7 @@ <h1>How to Cite This Cookbook<a class="headerlink" href="#how-to-cite-this-cookb

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -727,7 +727,7 @@ <h1>How to Cite This Cookbook<a class="headerlink" href="#how-to-cite-this-cookb

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions _preview/1/notebooks/notebook-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<link rel="search" title="Search" href="../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -529,8 +529,8 @@ <h5>of further and further<a class="headerlink" href="#of-further-and-further" t
<section id="header-levels">
<h6>header levels<a class="headerlink" href="#header-levels" title="Link to this heading"><i class="fas fa-link"></i></a></h6>
<p>as well <span class="math notranslate nohighlight">\(m = a * t / h\)</span> text! Similarly, you have access to other <span class="math notranslate nohighlight">\(\LaTeX\)</span> equation <a class="reference external" href="https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Typesetting%20Equations.html"><strong>functionality</strong></a> via MathJax (demo below from link),</p>
<div class="amsmath math notranslate nohighlight" id="equation-49c8f4c6-cebd-434e-a93e-4906e55cc186">
<span class="eqno">()<a class="headerlink" href="#equation-49c8f4c6-cebd-434e-a93e-4906e55cc186" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-d1034ff1-c739-4945-a4aa-7f95438a869c">
<span class="eqno">()<a class="headerlink" href="#equation-d1034ff1-c739-4945-a4aa-7f95438a869c" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
\dot{x} &amp; = \sigma(y-x) \\
\dot{y} &amp; = \rho x - y - xz \\
\dot{z} &amp; = -\beta z + xy
Expand Down Expand Up @@ -902,7 +902,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -956,7 +956,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _preview/1/notebooks/tutorials/angles.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<link rel="prev" title="Intersections of Great Circles" href="path_intersection.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -1409,7 +1409,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -1463,7 +1463,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
51 changes: 39 additions & 12 deletions _preview/1/notebooks/tutorials/arc_path.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<link rel="prev" title="Coordinate Types" href="../foundations/coordinates.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -1526,38 +1526,65 @@ <h2>Antipodal<a class="headerlink" href="#antipodal" title="Link to this heading
</div>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">antipodal</span><span class="p">(</span><span class="s2">&quot;boulder&quot;</span><span class="p">)</span>
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">plot_antipodal</span><span class="p">(</span><span class="n">start_point</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="c1"># Set up world map plot</span>
<span class="n">fig</span> <span class="o">=</span> <span class="n">plt</span><span class="o">.</span><span class="n">subplots</span><span class="p">(</span><span class="n">figsize</span><span class="o">=</span><span class="p">(</span><span class="mi">15</span><span class="p">,</span> <span class="mi">10</span><span class="p">))</span>
<span class="n">projection_map</span> <span class="o">=</span> <span class="n">ccrs</span><span class="o">.</span><span class="n">PlateCarree</span><span class="p">()</span>
<span class="n">ax</span> <span class="o">=</span> <span class="n">plt</span><span class="o">.</span><span class="n">axes</span><span class="p">(</span><span class="n">projection</span><span class="o">=</span><span class="n">projection_map</span><span class="p">)</span>
<span class="n">lon_west</span><span class="p">,</span> <span class="n">lon_east</span><span class="p">,</span> <span class="n">lat_south</span><span class="p">,</span> <span class="n">lat_north</span> <span class="o">=</span> <span class="o">-</span><span class="mi">180</span><span class="p">,</span> <span class="mi">180</span><span class="p">,</span> <span class="o">-</span><span class="mi">90</span><span class="p">,</span> <span class="mi">90</span>
<span class="n">ax</span><span class="o">.</span><span class="n">set_extent</span><span class="p">([</span><span class="n">lon_west</span><span class="p">,</span> <span class="n">lon_east</span><span class="p">,</span> <span class="n">lat_south</span><span class="p">,</span> <span class="n">lat_north</span><span class="p">],</span> <span class="n">crs</span><span class="o">=</span><span class="n">projection_map</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">coastlines</span><span class="p">(</span><span class="n">color</span><span class="o">=</span><span class="s2">&quot;black&quot;</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">add_feature</span><span class="p">(</span><span class="n">cfeature</span><span class="o">.</span><span class="n">BORDERS</span><span class="p">,</span> <span class="n">edgecolor</span><span class="o">=</span><span class="s1">&#39;grey&#39;</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">add_feature</span><span class="p">(</span><span class="n">cfeature</span><span class="o">.</span><span class="n">STATES</span><span class="p">,</span> <span class="n">edgecolor</span><span class="o">=</span><span class="s2">&quot;grey&quot;</span><span class="p">)</span>

<span class="c1"># Plot Start point</span>
<span class="n">plt</span><span class="o">.</span><span class="n">scatter</span><span class="p">(</span><span class="n">location_df</span><span class="o">.</span><span class="n">loc</span><span class="p">[[</span><span class="n">start_point</span><span class="p">]][</span><span class="s2">&quot;longitude&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span>
<span class="n">location_df</span><span class="o">.</span><span class="n">loc</span><span class="p">[[</span><span class="n">start_point</span><span class="p">]][</span><span class="s2">&quot;latitude&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span>
<span class="n">s</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span> <span class="n">c</span><span class="o">=</span><span class="s2">&quot;cornflowerblue&quot;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="n">start_point</span><span class="o">.</span><span class="n">title</span><span class="p">())</span>

<span class="c1"># Plot Antipodal Point</span>
<span class="n">antipodal_point</span> <span class="o">=</span> <span class="n">antipodal</span><span class="p">(</span><span class="n">start_point</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">scatter</span><span class="p">(</span><span class="n">antipodal_point</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span class="n">antipodal_point</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">s</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span> <span class="n">c</span><span class="o">=</span><span class="s2">&quot;red&quot;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s2">&quot;Antipodal&quot;</span><span class="p">)</span>

<span class="c1"># Setup Axis Limits and Title/Labels</span>
<span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">start_point</span><span class="o">.</span><span class="n">title</span><span class="p">()</span><span class="si">}</span><span class="s2"> and Antipodal Point </span><span class="si">{</span><span class="n">antipodal_point</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">legend</span><span class="p">(</span><span class="n">loc</span><span class="o">=</span><span class="s2">&quot;lower right&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(-40.015), np.float64(74.7295))
</div>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">antipodal</span><span class="p">(</span><span class="s2">&quot;boulder&quot;</span><span class="p">)</span>
<span class="n">plot_antipodal</span><span class="p">(</span><span class="s2">&quot;boulder&quot;</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/fd9d865ed3b9037c3c59f0013640c91943adba6be65e525d6c1dbc4a71bcc11a.png" src="../../_images/fd9d865ed3b9037c3c59f0013640c91943adba6be65e525d6c1dbc4a71bcc11a.png" />
</div>
</div>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">antipodal</span><span class="p">(</span><span class="s2">&quot;svalbard&quot;</span><span class="p">)</span>
<span class="n">plot_antipodal</span><span class="p">(</span><span class="s2">&quot;svalbard&quot;</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(-77.875), np.float64(-159.0248))
</pre></div>
</div>
<img alt="../../_images/493cb2d849699437784a317a9d39cf215925740593f7b33c0b2dc0fbe2117cf9.png" src="../../_images/493cb2d849699437784a317a9d39cf215925740593f7b33c0b2dc0fbe2117cf9.png" />
</div>
</div>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">antipodal</span><span class="p">(</span><span class="s2">&quot;cairo&quot;</span><span class="p">)</span>
<span class="n">plot_antipodal</span><span class="p">(</span><span class="s2">&quot;cairo&quot;</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(-30.0444), np.float64(-148.7643))
</pre></div>
</div>
<img alt="../../_images/ff0d5e416f1421f4bb4d07094e14fc2ee41e92c7989fb0525658cc8bc7872106.png" src="../../_images/ff0d5e416f1421f4bb4d07094e14fc2ee41e92c7989fb0525658cc8bc7872106.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -1918,7 +1945,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -1972,7 +1999,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _preview/1/notebooks/tutorials/arc_to_point.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<link rel="prev" title="Great Circle Arcs and Path" href="arc_path.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="2 October 2024"/>
<meta name="docbuild:last-update" content="8 October 2024"/>
</head>


Expand Down Expand Up @@ -1324,7 +1324,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

<div class="footer-item">
<p class="last-updated">
Last updated on 2 October 2024.
Last updated on 8 October 2024.
<br/>
</p>
</div>
Expand Down Expand Up @@ -1378,7 +1378,7 @@ <h2>Resources and references<a class="headerlink" href="#resources-and-reference

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 2 October 2024.
Last updated on 8 October 2024.
</p>
</div>
</div>
Expand Down
Loading

0 comments on commit 1253b75

Please sign in to comment.