Skip to content

Commit

Permalink
Deploying to gh-pages from @ 825cdcd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-rose committed Oct 23, 2024
1 parent 634ffb0 commit 1e72730
Show file tree
Hide file tree
Showing 32 changed files with 766 additions and 768 deletions.
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.
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.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
3 changes: 1 addition & 2 deletions _sources/core/data-formats/netcdf-cf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,6 @@
"\n",
"- [CF Conventions doc (1.7)](http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html)\n",
"- [Jonathan Gregory's old CF presentation](http://cfconventions.org/Data/cf-documents/overview/viewgraphs.pdf)\n",
"- [NASA ESDS \"Dataset Interoperability Recommendations for Earth Science\"](https://earthdata.nasa.gov/user-resources/standards-and-references/dataset-interoperability-recommendations-for-earth-science)\n",
"- [CF Data Model (cfdm) python package tutorial](https://ncas-cms.github.io/cfdm/tutorial.html)\n",
"- [Tim Whiteaker's cfgeom python package (GitHub repo)](https://github.com/twhiteaker/CFGeom) and [(tutorial)]( https://twhiteaker.github.io/CFGeom/tutorial.html)\n",
"- [netCDF4 Documentation](https://unidata.github.io/netcdf4-python/)"
Expand Down Expand Up @@ -1013,7 +1012,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions appendix/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,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>Each section in your notebook can also contain <span class="math notranslate nohighlight">\(\LaTeX\)</span> equations, enabled through MathJax. In the following example, we illustrate some sample MathJax equations. (Rendering instructions, as well as detailed information about MathJax, can be found in <a class="reference external" href="https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Typesetting%20Equations.html">this documentation</a>.)</p>
<div class="amsmath math notranslate nohighlight" id="equation-97f437be-a1d8-462f-96d5-8360c7afe950">
<span class="eqno">(1)<a class="headerlink" href="#equation-97f437be-a1d8-462f-96d5-8360c7afe950" title="Permalink to this equation"><i class="fas fa-link"></i></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-34dbb3ad-dd86-4721-a197-ba21b110007c">
<span class="eqno">(1)<a class="headerlink" href="#equation-34dbb3ad-dd86-4721-a197-ba21b110007c" 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
4 changes: 2 additions & 2 deletions core/cartopy/cartopy.html
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ <h3>Create a map with a specified projection<a class="headerlink" href="#create-
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f15f4d2a950&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f63b8eb19d0&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -612,7 +612,7 @@ <h3>Add cartographic features to the map<a class="headerlink" href="#add-cartogr
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f15f4bea210&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;cartopy.mpl.feature_artist.FeatureArtist at 0x7f63a40810d0&gt;
</pre></div>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions core/data-formats/netcdf-cf.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ <h3>Creating the file and dimensions<a class="headerlink" href="#creating-the-fi
title: Forecast model run
institution: Unidata
source: WRF-1.5
history: 2024-10-23 19:28:50.882561 Python
history: 2024-10-23 20:07:39.732213 Python
references:
comment:
dimensions(sizes): forecast_time(0), x(101), y(67), pressure(7)
Expand Down Expand Up @@ -1223,7 +1223,6 @@ <h2>Resources and References<a class="headerlink" href="#resources-and-reference
<ul class="simple">
<li><p><a class="reference external" href="http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html">CF Conventions doc (1.7)</a></p></li>
<li><p><a class="reference external" href="http://cfconventions.org/Data/cf-documents/overview/viewgraphs.pdf">Jonathan Gregory’s old CF presentation</a></p></li>
<li><p><a class="reference external" href="https://earthdata.nasa.gov/user-resources/standards-and-references/dataset-interoperability-recommendations-for-earth-science">NASA ESDS “Dataset Interoperability Recommendations for Earth Science”</a></p></li>
<li><p><a class="reference external" href="https://ncas-cms.github.io/cfdm/tutorial.html">CF Data Model (cfdm) python package tutorial</a></p></li>
<li><p><a class="reference external" href="https://github.com/twhiteaker/CFGeom">Tim Whiteaker’s cfgeom python package (GitHub repo)</a> and <a class="reference external" href="https://twhiteaker.github.io/CFGeom/tutorial.html">(tutorial)</a></p></li>
<li><p><a class="reference external" href="https://unidata.github.io/netcdf4-python/">netCDF4 Documentation</a></p></li>
Expand Down
16 changes: 8 additions & 8 deletions core/datetime/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ <h3>Some core terminology<a class="headerlink" href="#some-core-terminology" tit
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1729711732.1285927
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>1729714060.967924
</pre></div>
</div>
</div>
Expand All @@ -623,7 +623,7 @@ <h3><code class="docutils literal notranslate"><span class="pre">time</span></co
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The benchmark took 1.0002615451812744 seconds
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The benchmark took 1.0002424716949463 seconds
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -824,8 +824,8 @@ <h3>Time Zone Naive Versus Time Zone Aware <code class="docutils literal notrans
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive 2024-10-23 19:28:53.164603.
I am time zone aware 2024-10-23 19:28:53.164628+00:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive 2024-10-23 20:07:42.003084.
I am time zone aware 2024-10-23 20:07:42.003108+00:00.
</pre></div>
</div>
</div>
Expand All @@ -848,8 +848,8 @@ <h3>Full time zone support with the <code class="docutils literal notranslate"><
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive: 2024-10-23 19:28:53.168910.
I am time zone aware: 2024-10-23 13:28:53.179101-06:00.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>I am time zone naive: 2024-10-23 20:07:42.007229.
I am time zone aware: 2024-10-23 14:07:42.017399-06:00.
</pre></div>
</div>
</div>
Expand All @@ -871,8 +871,8 @@ <h3>Print Time with a Different Time Zone<a class="headerlink" href="#print-time
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The UTC time is October 23, 2024, 7:28PM.
The &#39;US/Mountain&#39; time is October 23, 2024, 1:28PM.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The UTC time is October 23, 2024, 8:07PM.
The &#39;US/Mountain&#39; time is October 23, 2024, 2:07PM.
</pre></div>
</div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions core/matplotlib/annotations-colorbars-layouts.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/bb292e78306b54405c27ce1ab047e2a178e81db3b349c7504d3f6d974fc14aa8.png" src="../../_images/bb292e78306b54405c27ce1ab047e2a178e81db3b349c7504d3f6d974fc14aa8.png" />
<img alt="../../_images/0f00f86a64c2541f62e2cfe65a324e4ecf2fb631e4578f22f9e19c217e28fcc3.png" src="../../_images/0f00f86a64c2541f62e2cfe65a324e4ecf2fb631e4578f22f9e19c217e28fcc3.png" />
</div>
</div>
<p>We can change which colormap to use by setting the keyword argument <code class="docutils literal notranslate"><span class="pre">cmap</span> <span class="pre">=</span> <span class="pre">'colormap_name'</span></code> in the plotting function call. This sets the colormap not only for the plot, but for the colorbar as well. In this case, we use the <code class="docutils literal notranslate"><span class="pre">magma</span></code> colormap:</p>
Expand All @@ -754,7 +754,7 @@ <h2>Basic Colorbars<a class="headerlink" href="#basic-colorbars" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/c63b78685e55324601c5a9dfb9d8094b92dec3f37690b4210a92cf35858d3f3e.png" src="../../_images/c63b78685e55324601c5a9dfb9d8094b92dec3f37690b4210a92cf35858d3f3e.png" />
<img alt="../../_images/76504b3ac59456e4a87daebc4532c0a850e50dd3d6f35f506a4064bad3491287.png" src="../../_images/76504b3ac59456e4a87daebc4532c0a850e50dd3d6f35f506a4064bad3491287.png" />
</div>
</div>
</section>
Expand All @@ -773,10 +773,10 @@ <h2>Shared Colorbars<a class="headerlink" href="#shared-colorbars" title="Link t
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.colorbar.Colorbar at 0x7f06194abb10&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.colorbar.Colorbar at 0x7f97ac628e10&gt;
</pre></div>
</div>
<img alt="../../_images/dae67d08b16916dd8813f6a7b9742279ddfd9ca3eb3738846eb4747c09e4cd6e.png" src="../../_images/dae67d08b16916dd8813f6a7b9742279ddfd9ca3eb3738846eb4747c09e4cd6e.png" />
<img alt="../../_images/4d0d35f769f429a5ea91c9aa45e629f43f1f4f408382c9da5a98239dc37805a2.png" src="../../_images/4d0d35f769f429a5ea91c9aa45e629f43f1f4f408382c9da5a98239dc37805a2.png" />
</div>
</div>
<p>You may be wondering why the call to <code class="docutils literal notranslate"><span class="pre">fig.colorbar</span></code> uses the argument <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code>. The explanation is as follows: <code class="docutils literal notranslate"><span class="pre">hist1</span></code> is a tuple returned by <code class="docutils literal notranslate"><span class="pre">hist2d</span></code>, and <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code> contains a <code class="docutils literal notranslate"><span class="pre">matplotlib.collections.QuadMesh</span></code> that points to the colormap for the first histogram. To make sure that both histograms are using the same colormap with the same range of values, <code class="docutils literal notranslate"><span class="pre">vmax</span></code> is set to 0.18 for both plots. This ensures that both histograms are using colormaps that represent values from 0 (the default for histograms) to 0.18. Because the same data values are used for both plots, it doesn’t matter whether we pass in <code class="docutils literal notranslate"><span class="pre">hist1[3]</span></code> or <code class="docutils literal notranslate"><span class="pre">hist2[3]</span></code> to <code class="docutils literal notranslate"><span class="pre">fig.colorbar</span></code>.
Expand Down Expand Up @@ -857,7 +857,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Link t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/fa47216ef9f551f1ad685ad7cfda26fe2c780f1c4a609444caa2ac4bf660f795.png" src="../../_images/fa47216ef9f551f1ad685ad7cfda26fe2c780f1c4a609444caa2ac4bf660f795.png" />
<img alt="../../_images/bce48c4e3990a5e76d1566cc5c5d9f3b7a7eda17af9bb9aeb9bc9c87caef2b23.png" src="../../_images/bce48c4e3990a5e76d1566cc5c5d9f3b7a7eda17af9bb9aeb9bc9c87caef2b23.png" />
</div>
</div>
<div class="cell docutils container">
Expand All @@ -874,7 +874,7 @@ <h2>Custom Colorbars<a class="headerlink" href="#custom-colorbars" title="Link t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/f9e785ae6800ad4271f64d3d6c8c94d32cc0592f5ed6640cc6738d2639468a49.png" src="../../_images/f9e785ae6800ad4271f64d3d6c8c94d32cc0592f5ed6640cc6738d2639468a49.png" />
<img alt="../../_images/0762fc01a25d91abb019d9f6ac79b0dbbeb86d33bb2c258b309363e6e37a8675.png" src="../../_images/0762fc01a25d91abb019d9f6ac79b0dbbeb86d33bb2c258b309363e6e37a8675.png" />
</div>
</div>
<section id="the-normalize-class">
Expand Down Expand Up @@ -911,7 +911,7 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/ff437eb4eb5828627784d4439eea7b0aa68aa6efd37af2c07718122db2fd09f1.png" src="../../_images/ff437eb4eb5828627784d4439eea7b0aa68aa6efd37af2c07718122db2fd09f1.png" />
<img alt="../../_images/f439a1afba62b375ad1b25dbf27d1d39c2ed1bb503a5c12724418ae75419e8bc.png" src="../../_images/f439a1afba62b375ad1b25dbf27d1d39c2ed1bb503a5c12724418ae75419e8bc.png" />
</div>
</div>
<p>You’ll notice there is not a colorbar plotted by default. When constructing the colorbar, we need to specify the following:</p>
Expand Down Expand Up @@ -939,13 +939,13 @@ <h2>Mosaic Subplots<a class="headerlink" href="#mosaic-subplots" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2695/1337655102.py:12: UserWarning: Adding colorbar to a different Figure &lt;Figure size 640x480 with 4 Axes&gt; than &lt;Figure size 640x480 with 3 Axes&gt; which fig.colorbar is called on.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2531/1337655102.py:12: UserWarning: Adding colorbar to a different Figure &lt;Figure size 640x480 with 4 Axes&gt; than &lt;Figure size 640x480 with 3 Axes&gt; which fig.colorbar is called on.
fig.colorbar(histA[3], ax=[axdict[&#39;A&#39;], axdict[&#39;B&#39;]], location=&#39;bottom&#39;)
/tmp/ipykernel_2695/1337655102.py:13: UserWarning: Adding colorbar to a different Figure &lt;Figure size 640x480 with 5 Axes&gt; than &lt;Figure size 640x480 with 3 Axes&gt; which fig.colorbar is called on.
/tmp/ipykernel_2531/1337655102.py:13: UserWarning: Adding colorbar to a different Figure &lt;Figure size 640x480 with 5 Axes&gt; than &lt;Figure size 640x480 with 3 Axes&gt; which fig.colorbar is called on.
fig.colorbar(histC[3], ax=[axdict[&#39;C&#39;]], location=&#39;right&#39;);
</pre></div>
</div>
<img alt="../../_images/d1de26d28194445dd7ed7be74f88f291c558168196c5158492e311e9d39a6da1.png" src="../../_images/d1de26d28194445dd7ed7be74f88f291c558168196c5158492e311e9d39a6da1.png" />
<img alt="../../_images/fb5f0476934049c6dd748f964b166b2ce190dacd0207f28cd696fdd7b1da7e9e.png" src="../../_images/fb5f0476934049c6dd748f964b166b2ce190dacd0207f28cd696fdd7b1da7e9e.png" />
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion core/numpy/numpy-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ <h3>Array math functions<a class="headerlink" href="#array-math-functions" title
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2823/67500735.py:1: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2649/67500735.py:1: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.
sine_integral = np.trapz(sin_t, t)
</pre></div>
</div>
Expand Down
Loading

0 comments on commit 1e72730

Please sign in to comment.