Skip to content

Commit

Permalink
deploy: 7538cbb
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Jan 6, 2025
1 parent 1716398 commit 4c4c1f1
Show file tree
Hide file tree
Showing 12 changed files with 195 additions and 195 deletions.
74 changes: 37 additions & 37 deletions _preview/168/applications/climatology.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _preview/168/applications/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ <h2>The <code class="docutils literal notranslate"><span class="pre">datetime</s
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>datetime.date.today() -&gt; 2025-01-06
datetime.datetime.now() -&gt; 2025-01-06 22:58:55.513196
datetime.datetime.now() -&gt; 2025-01-06 23:01:04.434005
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -481,10 +481,10 @@ <h3><code class="docutils literal notranslate"><span class="pre">strftime()</spa
2025

now.strftime(&#39;%A, %B %d %Y %I:%M:%S %p&#39;)
Monday, January 06 2025 10:58:55 PM
Monday, January 06 2025 11:01:04 PM

now.strftime(&#39;%c&#39;)
Mon Jan 6 22:58:55 2025
Mon Jan 6 23:01:04 2025
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _preview/168/applications/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ <h3><code class="docutils literal notranslate"><span class="pre">cosecant</span>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;&gt;:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
&lt;&gt;:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
/tmp/ipykernel_2201/1093943048.py:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
/tmp/ipykernel_2219/1093943048.py:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
print(&quot;\Multiple Value Input (array/list)&quot;)
</pre></div>
</div>
Expand Down
34 changes: 17 additions & 17 deletions _preview/168/applications/humid_heat_metrics.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions _preview/168/applications/spectral_analysis.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions _preview/168/ncl/ncl_entries/spectral_analysis.html

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions _preview/168/ncl/receipts/climatology_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,33 +594,33 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>calcMonAnomTLL:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>rmMonAnnCycTLL:
python: 0.0033192038536071777
ncl: 0.003319263

clmMonTLL:
python: 0.8063018918037415
ncl: 0.8063018

clmDayTLL:
python: 0.7408185005187988
ncl: 0.7408184

month_to_season:
python: 0.9931214451789856
ncl: 0.9931215
clmMonTLL:
python: 0.8063018918037415
ncl: 0.8063018

calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263

stdMonTLL:
python: 0.07392024993896484
ncl: 0.07392025

month_to_season:
python: 0.9931214451789856
ncl: 0.9931215

calcDayAnomTLL:
python: -0.02774369716644287
ncl: -0.02774364

rmMonAnnCycTLL:
python: 0.0033192038536071777
ncl: 0.003319263
</pre></div>
</div>
</div>
Expand All @@ -637,20 +637,20 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>calcMonAnomTLL:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>rmMonAnnCycTLL:
-5.9146392822079924e-08
clmMonTLL:
9.180374149764248e-08
clmDayTLL:
1.0051879884009907e-07
month_to_season:
-5.482101439469034e-08
clmMonTLL:
9.180374149764248e-08
calcMonAnomTLL:
-5.9146392822079924e-08
stdMonTLL:
-6.103516303479495e-11
month_to_season:
-5.482101439469034e-08
calcDayAnomTLL:
-5.7166442871126044e-08
rmMonAnnCycTLL:
-5.9146392822079924e-08
</pre></div>
</div>
</div>
Expand Down
40 changes: 20 additions & 20 deletions _preview/168/ncl/receipts/days_in_month.html
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,23 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>standard:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>366_day:
python: [29, 29, 31, 29]
ncl: [29, 29, 31, 29]

all_leap:
python: [29, 29, 31, 29]
ncl: [29, 29, 31, 29]

365_day:
python: [28, 28, 31, 28]
ncl: [28, 28, 31, 28]

standard:
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 28]

gregorian:
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 28]

Expand All @@ -559,26 +575,10 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 29]

365_day:
python: [28, 28, 31, 28]
ncl: [28, 28, 31, 28]

noleap:
python: [28, 28, 31, 28]
ncl: [28, 28, 31, 28]

gregorian:
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 28]

366_day:
python: [29, 29, 31, 29]
ncl: [29, 29, 31, 29]

all_leap:
python: [29, 29, 31, 29]
ncl: [29, 29, 31, 29]

none:
ncl: [29, 28, 31, 28]

Expand All @@ -603,10 +603,10 @@ <h3>Differences<a class="headerlink" href="#differences" title="Link to this hea
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>standard: [29, 28, 31, 29] != [29, 28, 31, 28]
gregorian: [29, 28, 31, 29] != [29, 28, 31, 28]
none: calendar not available in python
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>none: calendar not available in python
standard: [29, 28, 31, 29] != [29, 28, 31, 28]
proleptic_gregorian: calendar not available in ncl
gregorian: [29, 28, 31, 29] != [29, 28, 31, 28]
</pre></div>
</div>
</div>
Expand Down
56 changes: 28 additions & 28 deletions _preview/168/ncl/receipts/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -1017,45 +1017,48 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
sum:
0
0
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
decimalPlaces:
0.0
0.0
mod:
0
floor:
0
0.0
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
product:
0
0
max:
0.0
0.0
get_pi:
0.0
0.0
abs:
0
0
min:
0.0
0.0
log10:
1.704225516263591e-08
1.704225516263591e-08
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
round:
0
0.0
sqrt:
-9.406726242389141e-08
-9.406726242389141e-08
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
floor:
0
min:
0.0
0.0
max:
0.0
0.0
decimalPlaces:
0.0
0.0
mod:
0
0
sum:
0
0
Expand All @@ -1065,12 +1068,9 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
ceil:
0
0.0
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
abs:
0
0
</pre></div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _preview/168/ncl/receipts/specx_anal.html
Original file line number Diff line number Diff line change
Expand Up @@ -872,10 +872,10 @@ <h2>Python Functionality<a class="headerlink" href="#python-functionality" title
creation_date: Tue Mar 30 09:29:20 MST 1999
references: Trenberth, Mon. Wea. Rev: 2/1984
time_span: 1882 - 1998
conventions: None</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-efc46141-4259-4c6e-8ac8-9a3b267d1dce' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-efc46141-4259-4c6e-8ac8-9a3b267d1dce' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 1404</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-d8a0e6b8-5005-4dee-a874-d33d2ffcd8c9' class='xr-section-summary-in' type='checkbox' checked><label for='section-d8a0e6b8-5005-4dee-a874-d33d2ffcd8c9' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>int32</div><div class='xr-var-preview xr-preview'>0 1 2 3 4 ... 1400 1401 1402 1403</div><input id='attrs-57cc9603-6e85-427e-b464-b76da2d7f6a2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-57cc9603-6e85-427e-b464-b76da2d7f6a2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9beac792-6f50-4bd1-9cb5-1a2fdb728dbf' class='xr-var-data-in' type='checkbox'><label for='data-9beac792-6f50-4bd1-9cb5-1a2fdb728dbf' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Months Since January 1882</dd><dt><span>units :</span></dt><dd>months</dd></dl></div><div class='xr-var-data'><pre>array([ 0, 1, 2, ..., 1401, 1402, 1403], dtype=int32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-3a7b560e-6a45-42d7-82b8-ff01feff0043' class='xr-section-summary-in' type='checkbox' checked><label for='section-3a7b560e-6a45-42d7-82b8-ff01feff0043' class='xr-section-summary' >Data variables: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>date</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-1539b3f5-2f2a-4f1e-907c-24a83ad8eaf4' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-1539b3f5-2f2a-4f1e-907c-24a83ad8eaf4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-789642aa-88c8-477d-b269-3d4ba249177f' class='xr-var-data-in' type='checkbox'><label for='data-789642aa-88c8-477d-b269-3d4ba249177f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>short_name :</span></dt><dd>Yr-Mo</dd><dt><span>long_name :</span></dt><dd>Year-Month</dd><dt><span>units :</span></dt><dd>YYYYMM</dd></dl></div><div class='xr-var-data'><pre>[1404 values with dtype=float64]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>DSOI</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-73a4f2c5-0de9-4060-93b2-dcec56aad486' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-73a4f2c5-0de9-4060-93b2-dcec56aad486' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fcbe480e-08d5-436a-a666-ad6f39cfd20c' class='xr-var-data-in' type='checkbox'><label for='data-fcbe480e-08d5-436a-a666-ad6f39cfd20c' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>short_name :</span></dt><dd>DSOI</dd><dt><span>long_name :</span></dt><dd>Darwin Southern Oscillation Index</dd><dt><span>units :</span></dt><dd>dimensionless</dd></dl></div><div class='xr-var-data'><pre>[1404 values with dtype=float32]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-387890c8-b354-4959-9f7a-5b38fb27f652' class='xr-section-summary-in' type='checkbox' ><label for='section-387890c8-b354-4959-9f7a-5b38fb27f652' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><input type='checkbox' disabled/><label></label><input id='index-41636e4d-f2bb-488c-8011-ea7716a2535e' class='xr-index-data-in' type='checkbox'/><label for='index-41636e4d-f2bb-488c-8011-ea7716a2535e' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Index([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
conventions: None</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-ee6193bc-b78d-46a4-84ca-89e1f5cd6424' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-ee6193bc-b78d-46a4-84ca-89e1f5cd6424' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>time</span>: 1404</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-e75272e7-16e0-4a06-8a54-07ff0013ef94' class='xr-section-summary-in' type='checkbox' checked><label for='section-e75272e7-16e0-4a06-8a54-07ff0013ef94' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>int32</div><div class='xr-var-preview xr-preview'>0 1 2 3 4 ... 1400 1401 1402 1403</div><input id='attrs-19db2745-822a-4133-af26-8ac40abb9804' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-19db2745-822a-4133-af26-8ac40abb9804' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b13c99d8-043f-427d-837c-4fe688ac89cf' class='xr-var-data-in' type='checkbox'><label for='data-b13c99d8-043f-427d-837c-4fe688ac89cf' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>Months Since January 1882</dd><dt><span>units :</span></dt><dd>months</dd></dl></div><div class='xr-var-data'><pre>array([ 0, 1, 2, ..., 1401, 1402, 1403], dtype=int32)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-5e26b66c-5c58-47a2-b4c9-a286a87bafcf' class='xr-section-summary-in' type='checkbox' checked><label for='section-5e26b66c-5c58-47a2-b4c9-a286a87bafcf' class='xr-section-summary' >Data variables: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>date</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-57ecfcda-6788-45b8-9049-e486d91b28b7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-57ecfcda-6788-45b8-9049-e486d91b28b7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-cf5dadd6-5991-41b5-b724-00f8e2696199' class='xr-var-data-in' type='checkbox'><label for='data-cf5dadd6-5991-41b5-b724-00f8e2696199' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>short_name :</span></dt><dd>Yr-Mo</dd><dt><span>long_name :</span></dt><dd>Year-Month</dd><dt><span>units :</span></dt><dd>YYYYMM</dd></dl></div><div class='xr-var-data'><pre>[1404 values with dtype=float64]</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>DSOI</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-df5be8ce-4a2d-4426-b8cf-6167226c00b2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-df5be8ce-4a2d-4426-b8cf-6167226c00b2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a4095aa7-3371-4fec-9e25-38e8ab860ae7' class='xr-var-data-in' type='checkbox'><label for='data-a4095aa7-3371-4fec-9e25-38e8ab860ae7' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>short_name :</span></dt><dd>DSOI</dd><dt><span>long_name :</span></dt><dd>Darwin Southern Oscillation Index</dd><dt><span>units :</span></dt><dd>dimensionless</dd></dl></div><div class='xr-var-data'><pre>[1404 values with dtype=float32]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-68aa4fa7-a0a9-4ec4-8eb1-f76dbcccaaba' class='xr-section-summary-in' type='checkbox' ><label for='section-68aa4fa7-a0a9-4ec4-8eb1-f76dbcccaaba' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>time</div></div><div class='xr-index-preview'>PandasIndex</div><input type='checkbox' disabled/><label></label><input id='index-744f7588-0589-49a2-9b73-c2271afbf55a' class='xr-index-data-in' type='checkbox'/><label for='index-744f7588-0589-49a2-9b73-c2271afbf55a' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Index([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
...
1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403],
dtype=&#x27;int32&#x27;, name=&#x27;time&#x27;, length=1404))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-e1a379ec-b69f-4166-b5b2-ec75c6c246c6' class='xr-section-summary-in' type='checkbox' checked><label for='section-e1a379ec-b69f-4166-b5b2-ec75c6c246c6' class='xr-section-summary' >Attributes: <span>(7)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>title :</span></dt><dd>Darwin Southern Oscillation Index</dd><dt><span>source :</span></dt><dd>Climate Analysis Section, NCAR</dd><dt><span>history :</span></dt><dd>
dtype=&#x27;int32&#x27;, name=&#x27;time&#x27;, length=1404))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-65ac3d84-8437-49a8-a418-aa532f7a48f5' class='xr-section-summary-in' type='checkbox' checked><label for='section-65ac3d84-8437-49a8-a418-aa532f7a48f5' class='xr-section-summary' >Attributes: <span>(7)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>title :</span></dt><dd>Darwin Southern Oscillation Index</dd><dt><span>source :</span></dt><dd>Climate Analysis Section, NCAR</dd><dt><span>history :</span></dt><dd>
DSOI = - Normalized Darwin
Normalized sea level pressure is used.
The normalization is done using Trenberth&#x27;s method.
Expand Down
Loading

0 comments on commit 4c4c1f1

Please sign in to comment.