Skip to content

Commit

Permalink
deploy: c5c85a6
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Dec 4, 2024
1 parent 33f032c commit f9fdb04
Show file tree
Hide file tree
Showing 13 changed files with 3,633 additions and 345 deletions.
3,661 changes: 3,467 additions & 194 deletions _preview/152/applications/climatology.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _preview/152/applications/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,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; 2024-12-04
datetime.datetime.now() -&gt; 2024-12-04 18:21:42.956090
datetime.datetime.now() -&gt; 2024-12-04 18:32:34.846299
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -476,10 +476,10 @@ <h3><code class="docutils literal notranslate"><span class="pre">strftime()</spa
2024

now.strftime(&#39;%A, %B %d %Y %I:%M:%S %p&#39;)
Wednesday, December 04 2024 06:21:42 PM
Wednesday, December 04 2024 06:32:34 PM

now.strftime(&#39;%c&#39;)
Wed Dec 4 18:21:42 2024
Wed Dec 4 18:32:34 2024
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _preview/152/applications/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,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_2037/1093943048.py:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
/tmp/ipykernel_2022/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/152/applications/humid_heat_metrics.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions _preview/152/ncl/receipts/climatology_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -593,29 +593,29 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
python: 0.7408185005187988
ncl: 0.7408184

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

month_to_season:
python: 0.9931214451789856
ncl: 0.9931215

rmMonAnnCycTLL:
python: 0.0033192038536071777
ncl: 0.003319263

clmMonTLL:
python: 0.8063018918037415
ncl: 0.8063018

calcDayAnomTLL:
python: -0.02774369716644287
ncl: -0.02774364

calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263
</pre></div>
</div>
</div>
Expand All @@ -634,18 +634,18 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>clmDayTLL:
1.0051879884009907e-07
calcDayAnomTLL:
-5.7166442871126044e-08
calcMonAnomTLL:
-5.9146392822079924e-08
stdMonTLL:
-6.103516303479495e-11
month_to_season:
-5.482101439469034e-08
stdMonTLL:
-6.103516303479495e-11
rmMonAnnCycTLL:
-5.9146392822079924e-08
clmMonTLL:
9.180374149764248e-08
calcDayAnomTLL:
-5.7166442871126044e-08
calcMonAnomTLL:
-5.9146392822079924e-08
</pre></div>
</div>
</div>
Expand Down
22 changes: 11 additions & 11 deletions _preview/152/ncl/receipts/days_in_month.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,9 @@ <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>365_day:
python: [28, 28, 31, 28]
ncl: [28, 28, 31, 28]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>julian:
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 29]

gregorian:
python: [29, 28, 31, 29]
Expand All @@ -554,22 +554,22 @@ <h2>Comparison<a class="headerlink" href="#comparison" title="Link to this headi
python: [30, 30, 30, 30]
ncl: [30, 30, 30, 30]

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

noleap:
python: [28, 28, 31, 28]
ncl: [28, 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]

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

366_day:
python: [29, 29, 31, 29]
ncl: [29, 29, 31, 29]
Expand Down Expand Up @@ -598,9 +598,9 @@ <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>gregorian: [29, 28, 31, 29] != [29, 28, 31, 28]
proleptic_gregorian: calendar not available in ncl
<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]
standard: [29, 28, 31, 29] != [29, 28, 31, 28]
</pre></div>
</div>
Expand Down
66 changes: 33 additions & 33 deletions _preview/152/ncl/receipts/general_applied_math.html
Original file line number Diff line number Diff line change
Expand Up @@ -1012,60 +1012,60 @@ <h2>Differences<a class="headerlink" href="#differences" title="Link to this hea
sum:
0
0
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
get_pi:
0.0
min:
0.0
floor:
0
0.0
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
ceil:
0
0.0
product:
0
0
sqrt:
-9.406726242389141e-08
-9.406726242389141e-08
mod:
0
0
round:
0
0.0
decimalPlaces:
0.0
0.0
sum:
0
0
min:
0.0
0.0
log10:
1.704225516263591e-08
1.704225516263591e-08
get_r2d:
max:
0.0
0.0
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
max:
get_pi:
0.0
0.0
floor:
0
0.0
mod:
0
0
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
decimalPlaces:
0.0
0.0
get_r2d:
0.0
0.0
sqrt:
-9.406726242389141e-08
-9.406726242389141e-08
abs:
0
0
product:
0
0
sum:
0
0
round:
0
0.0
</pre></div>
</div>
</div>
Expand Down
15 changes: 15 additions & 0 deletions _preview/152/ncl/receipts/great_circle.html
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,21 @@ <h2>NCL code<a class="headerlink" href="#ncl-code" title="Link to this heading">
<span class="p">;</span> <span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="kc">True</span>
<span class="nb">print</span><span class="p">(</span><span class="n">area_poly_sphere</span><span class="p">(</span><span class="n">lat7</span><span class="p">,</span> <span class="n">lon7</span><span class="p">,</span> <span class="mf">6370.997</span><span class="p">))</span>
<span class="p">;(</span><span class="mi">0</span><span class="p">)</span> <span class="mf">9401.705</span>

<span class="p">;</span> <span class="n">css2c</span>
<span class="p">;</span> <span class="n">Adapted</span> <span class="kn">from</span> <span class="nn">https</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">ncl</span><span class="o">.</span><span class="n">ucar</span><span class="o">.</span><span class="n">edu</span><span class="o">/</span><span class="n">Document</span><span class="o">/</span><span class="n">Functions</span><span class="o">/</span><span class="n">Built</span><span class="o">-</span><span class="ow">in</span><span class="o">/</span><span class="n">css2c</span><span class="o">.</span><span class="n">shtml</span>

<span class="p">;</span> <span class="n">ncl</span> <span class="o">-</span><span class="n">n</span> <span class="n">css2c</span><span class="o">.</span><span class="n">ncl</span> <span class="o">&gt;&gt;</span> <span class="n">css2c_output</span><span class="o">.</span><span class="n">txt</span>

<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Latitude (Degree), Longitude (Degree), Cartesian X, Cartesian Y, Cartesian Z&quot;</span><span class="p">)</span>
<span class="n">do</span> <span class="n">lat</span><span class="o">=-</span><span class="mi">90</span><span class="p">,</span><span class="mi">90</span>
<span class="n">do</span> <span class="n">lon</span><span class="o">=-</span><span class="mi">180</span><span class="p">,</span><span class="mi">180</span>
<span class="n">begin</span>
<span class="n">cart</span> <span class="o">=</span> <span class="n">css2c</span><span class="p">(</span><span class="n">lat</span><span class="p">,</span> <span class="n">lon</span><span class="p">)</span>
<span class="nb">print</span> <span class="p">(</span><span class="n">lat</span> <span class="o">+</span> <span class="s2">&quot;,&quot;</span> <span class="o">+</span> <span class="n">lon</span> <span class="o">+</span> <span class="s2">&quot;,&quot;</span> <span class="o">+</span> <span class="n">cart</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">)</span> <span class="o">+</span> <span class="s2">&quot;,&quot;</span> <span class="o">+</span> <span class="n">cart</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="mi">0</span><span class="p">)</span> <span class="o">+</span> <span class="s2">&quot;,&quot;</span> <span class="o">+</span> <span class="n">cart</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>
<span class="n">end</span>
<span class="n">end</span> <span class="n">do</span>
<span class="n">end</span> <span class="n">do</span>
</pre></div>
</div>
</section>
Expand Down
Loading

0 comments on commit f9fdb04

Please sign in to comment.