Skip to content

Commit

Permalink
deploy: 3008321
Browse files Browse the repository at this point in the history
  • Loading branch information
anissa111 committed Feb 23, 2025
1 parent 20e9aa2 commit 055af6c
Show file tree
Hide file tree
Showing 13 changed files with 199 additions and 207 deletions.
8 changes: 0 additions & 8 deletions _static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,14 +741,6 @@ abbr, acronym {
cursor: help;
}

.translated {
background-color: rgba(207, 255, 207, 0.2)
}

.untranslated {
background-color: rgba(255, 207, 207, 0.2)
}

/* -- code displays --------------------------------------------------------- */

pre {
Expand Down
74 changes: 37 additions & 37 deletions applications/climatology.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions applications/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ <h2>The <code class="docutils literal notranslate"><span class="pre">datetime</s
</div>
</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-02-22
datetime.datetime.now() -&gt; 2025-02-22 00:07:59.758395
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>datetime.date.today() -&gt; 2025-02-23
datetime.datetime.now() -&gt; 2025-02-23 00:09:04.040154
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -495,10 +495,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;)
Saturday, February 22 2025 12:07:59 AM
Sunday, February 23 2025 12:09:04 AM

now.strftime(&#39;%c&#39;)
Sat Feb 22 00:07:59 2025
Sun Feb 23 00:09:04 2025
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion applications/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,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_3404/1093943048.py:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
/tmp/ipykernel_3448/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 applications/humid_heat_metrics.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions ncl/receipts/climatology_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,18 +608,14 @@ <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>calcDayAnomTLL:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>clmMonTLL:
python: 0.8063018918037415
ncl: 0.8063018

calcDayAnomTLL:
python: -0.02774369716644287
ncl: -0.02774364

calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263

month_to_season:
python: 0.9931214451789856
ncl: 0.9931215

stdMonTLL:
python: 0.07392024993896484
ncl: 0.07392025
Expand All @@ -628,13 +624,17 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
python: 0.0033192038536071777
ncl: 0.003319263

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

clmDayTLL:
python: 0.7408185005187988
ncl: 0.7408184

calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263
</pre></div>
</div>
</div>
Expand All @@ -651,20 +651,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>calcDayAnomTLL:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>clmMonTLL:
9.180374149764248e-08
calcDayAnomTLL:
-5.7166442871126044e-08
calcMonAnomTLL:
-5.9146392822079924e-08
month_to_season:
-5.482101439469034e-08
stdMonTLL:
-6.103516303479495e-11
rmMonAnnCycTLL:
-5.9146392822079924e-08
clmMonTLL:
9.180374149764248e-08
month_to_season:
-5.482101439469034e-08
clmDayTLL:
1.0051879884009907e-07
calcMonAnomTLL:
-5.9146392822079924e-08
</pre></div>
</div>
</div>
Expand Down
32 changes: 16 additions & 16 deletions ncl/receipts/days_in_month.html
Original file line number Diff line number Diff line change
Expand Up @@ -565,34 +565,34 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
python: [30, 30, 30, 30]
ncl: [30, 30, 30, 30]

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

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

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

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

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

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

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

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

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

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

Expand All @@ -617,10 +617,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>proleptic_gregorian: calendar not available in ncl
none: calendar not available in python
gregorian: [29, 28, 31, 29] != [29, 28, 31, 28]
<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
68 changes: 34 additions & 34 deletions ncl/receipts/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -1031,60 +1031,60 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
sum:
0
0
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
get_r2d:
0.0
0.0
log10:
1.704225516263591e-08
1.704225516263591e-08
min:
0.0
0.0
abs:
0
0
ceil:
0
0.0
mod:
0
0
get_pi:
0.0
0.0
sum:
0
0
product:
0
0
round:
0
0.0
floor:
0
0.0
decimalPlaces:
0.0
0.0
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
log10:
1.704225516263591e-08
1.704225516263591e-08
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
max:
decimalPlaces:
0.0
0.0
round:
0
0.0
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
get_r2d:
0.0
0.0
abs:
0
0
max:
0.0
0.0
sqrt:
-9.406726242389141e-08
-9.406726242389141e-08
sum:
0
0
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
floor:
0
0.0
mod:
0
0
ceil:
0
0.0
</pre></div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ncl/receipts/specx_anal.html
Original file line number Diff line number Diff line change
Expand Up @@ -886,10 +886,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-30bb334e-f7ba-427d-924d-cf3bff87d8bc' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-30bb334e-f7ba-427d-924d-cf3bff87d8bc' 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-dd845318-855a-457f-be3a-7307f8f8c4e6' class='xr-section-summary-in' type='checkbox' checked><label for='section-dd845318-855a-457f-be3a-7307f8f8c4e6' 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-fed64bbf-9211-469b-8e99-2acf2431abb7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-fed64bbf-9211-469b-8e99-2acf2431abb7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7ed23f8c-0664-4de9-aff8-01988a401a52' class='xr-var-data-in' type='checkbox'><label for='data-7ed23f8c-0664-4de9-aff8-01988a401a52' 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-dcff247f-4136-46ae-b4be-138fe1f43d62' class='xr-section-summary-in' type='checkbox' checked><label for='section-dcff247f-4136-46ae-b4be-138fe1f43d62' 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-c954a8db-533d-456a-9993-6794587fd149' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c954a8db-533d-456a-9993-6794587fd149' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0076f1f4-2d7e-4b12-b5c3-419ea94f41f3' class='xr-var-data-in' type='checkbox'><label for='data-0076f1f4-2d7e-4b12-b5c3-419ea94f41f3' 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-5efbab94-5987-4d52-962b-f546f46a819a' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-5efbab94-5987-4d52-962b-f546f46a819a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-220bb584-647b-489a-8509-f4ab13e47107' class='xr-var-data-in' type='checkbox'><label for='data-220bb584-647b-489a-8509-f4ab13e47107' 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-937be7c8-e827-46b1-bed9-64f0c5f57fe6' class='xr-section-summary-in' type='checkbox' ><label for='section-937be7c8-e827-46b1-bed9-64f0c5f57fe6' 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-519dbd3b-c4cf-45ea-9353-0ec353c4f866' class='xr-index-data-in' type='checkbox'/><label for='index-519dbd3b-c4cf-45ea-9353-0ec353c4f866' 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-b458422c-8fb7-49fe-92b4-235947428c8b' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-b458422c-8fb7-49fe-92b4-235947428c8b' 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-5c4fa439-5c41-4c92-9909-5e23751a044d' class='xr-section-summary-in' type='checkbox' checked><label for='section-5c4fa439-5c41-4c92-9909-5e23751a044d' 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-61f6870f-435a-4204-a0f9-23bf1528e1e1' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-61f6870f-435a-4204-a0f9-23bf1528e1e1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-eb3fe1d8-03ab-4b1f-9f7c-abf0aa2e0429' class='xr-var-data-in' type='checkbox'><label for='data-eb3fe1d8-03ab-4b1f-9f7c-abf0aa2e0429' 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-02f2c7a5-f216-450b-9667-aa772ae7fdfc' class='xr-section-summary-in' type='checkbox' checked><label for='section-02f2c7a5-f216-450b-9667-aa772ae7fdfc' 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-05e7b570-c1cd-4a4a-a85b-1044b46c8720' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-05e7b570-c1cd-4a4a-a85b-1044b46c8720' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a874180e-607a-4ab6-834f-b4b737819f63' class='xr-var-data-in' type='checkbox'><label for='data-a874180e-607a-4ab6-834f-b4b737819f63' 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-d9e9f0cf-103b-43fa-b89d-dabc512afc8d' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-d9e9f0cf-103b-43fa-b89d-dabc512afc8d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6455d330-d5bc-429b-9405-d3bd5d9f18c5' class='xr-var-data-in' type='checkbox'><label for='data-6455d330-d5bc-429b-9405-d3bd5d9f18c5' 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-eb315063-3ffa-489d-a04c-d9b9d63f84cf' class='xr-section-summary-in' type='checkbox' ><label for='section-eb315063-3ffa-489d-a04c-d9b9d63f84cf' 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-ec7ba0db-bf5e-48a6-86eb-0b143094dad4' class='xr-index-data-in' type='checkbox'/><label for='index-ec7ba0db-bf5e-48a6-86eb-0b143094dad4' 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-80c9aec7-4ae6-42b1-8664-05031358c913' class='xr-section-summary-in' type='checkbox' checked><label for='section-80c9aec7-4ae6-42b1-8664-05031358c913' 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-4880255e-1936-42be-8fde-79ce6193738f' class='xr-section-summary-in' type='checkbox' checked><label for='section-4880255e-1936-42be-8fde-79ce6193738f' 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 055af6c

Please sign in to comment.