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 f9fdb04 commit 985ce6b
Show file tree
Hide file tree
Showing 14 changed files with 220 additions and 233 deletions.
30 changes: 11 additions & 19 deletions _preview/152/_sources/ncl/receipts/great_circle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,18 @@
"## Python Functionality"
]
},
{
"cell_type": "markdown",
"id": "6dc1d6c4-ac26-4346-9aa3-2c73182a7511",
"metadata": {},
"source": [
"### area_poly_sphere"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "95225429-62d5-4d38-b170-850526c28107",
"id": "2ba99b37-a743-4776-bc7b-d5a08b977642",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -74,24 +82,8 @@
" \"Half of the World\",\n",
" \"Single Point -> Invalid NCL\",\n",
" \"Single Degree\",\n",
"]"
]
},
{
"cell_type": "markdown",
"id": "6dc1d6c4-ac26-4346-9aa3-2c73182a7511",
"metadata": {},
"source": [
"### area_poly_sphere"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2ba99b37-a743-4776-bc7b-d5a08b977642",
"metadata": {},
"outputs": [],
"source": [
"]\n",
"\n",
"ncl_lat = [\n",
" [40.0150, 42.3601, 29.5518],\n",
" [41.00488, 41.00203, 37.00540, 37.00051],\n",
Expand Down
74 changes: 37 additions & 37 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:32:34.846299
datetime.datetime.now() -&gt; 2024-12-04 18:38:32.852981
</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:32:34 PM
Wednesday, December 04 2024 06:38:32 PM

now.strftime(&#39;%c&#39;)
Wed Dec 4 18:32:34 2024
Wed Dec 4 18:38:32 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_2022/1093943048.py:14: SyntaxWarning: invalid escape sequence &#39;\M&#39;
/tmp/ipykernel_2108/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.

42 changes: 21 additions & 21 deletions _preview/152/ncl/receipts/climatology_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ <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>clmDayTLL:
python: 0.7408185005187988
ncl: 0.7408184
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263

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

stdMonTLL:
python: 0.07392024993896484
Expand All @@ -605,17 +605,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
clmDayTLL:
python: 0.7408185005187988
ncl: 0.7408184

month_to_season:
python: 0.9931214451789856
ncl: 0.9931215

calcDayAnomTLL:
python: -0.02774369716644287
ncl: -0.02774364

calcMonAnomTLL:
python: 0.0033192038536071777
ncl: 0.003319263
</pre></div>
</div>
</div>
Expand All @@ -632,20 +632,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>clmDayTLL:
1.0051879884009907e-07
month_to_season:
-5.482101439469034e-08
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>calcMonAnomTLL:
-5.9146392822079924e-08
clmMonTLL:
9.180374149764248e-08
stdMonTLL:
-6.103516303479495e-11
rmMonAnnCycTLL:
-5.9146392822079924e-08
clmMonTLL:
9.180374149764248e-08
clmDayTLL:
1.0051879884009907e-07
month_to_season:
-5.482101439469034e-08
calcDayAnomTLL:
-5.7166442871126044e-08
calcMonAnomTLL:
-5.9146392822079924e-08
</pre></div>
</div>
</div>
Expand Down
38 changes: 19 additions & 19 deletions _preview/152/ncl/receipts/days_in_month.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,37 +542,37 @@ <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>julian:
python: [29, 28, 31, 29]
ncl: [29, 28, 31, 29]

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

360_day:
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>360_day:
python: [30, 30, 30, 30]
ncl: [30, 30, 30, 30]

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

noleap:
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]

365_day:
noleap:
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]

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

none:
ncl: [29, 28, 31, 28]
Expand All @@ -598,10 +598,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
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>standard: [29, 28, 31, 29] != [29, 28, 31, 28]
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>
</div>
Expand Down
60 changes: 30 additions & 30 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
min:
0.0
0.0
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
ceil:
product:
0
0
abs:
0
0
0.0
log10:
1.704225516263591e-08
1.704225516263591e-08
sum:
0
0
max:
0.0
0.0
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
get_pi:
get_r2d:
0.0
0.0
floor:
0
0.0
get_d2r:
-3.469446951953614e-18
-3.469446951953614e-18
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
round:
0
0.0
exp:
-4.6922018159811785e-08
-4.6922018159811785e-08
qsort:
[0. 0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0.]
sqrt:
-9.406726242389141e-08
-9.406726242389141e-08
abs:
0
0
product:
0
0
sum:
0
0
round:
ceil:
0
0.0
min:
0.0
0.0
get_pi:
0.0
0.0
log:
-1.5453793578146247e-07
-1.5453793578146247e-07
</pre></div>
</div>
</div>
Expand Down
13 changes: 4 additions & 9 deletions _preview/152/ncl/receipts/great_circle.html
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ <h2>NCL code<a class="headerlink" href="#ncl-code" title="Link to this heading">
</section>
<section id="python-functionality">
<h2>Python Functionality<a class="headerlink" href="#python-functionality" title="Link to this heading">#</a></h2>
<section id="area-poly-sphere">
<h3>area_poly_sphere<a class="headerlink" href="#area-poly-sphere" title="Link to this heading">#</a></h3>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">math</span>
Expand All @@ -534,15 +536,8 @@ <h2>Python Functionality<a class="headerlink" href="#python-functionality" title
<span class="s2">&quot;Single Point -&gt; Invalid NCL&quot;</span><span class="p">,</span>
<span class="s2">&quot;Single Degree&quot;</span><span class="p">,</span>
<span class="p">]</span>
</pre></div>
</div>
</div>
</div>
<section id="area-poly-sphere">
<h3>area_poly_sphere<a class="headerlink" href="#area-poly-sphere" title="Link to this heading">#</a></h3>
<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">ncl_lat</span> <span class="o">=</span> <span class="p">[</span>

<span class="n">ncl_lat</span> <span class="o">=</span> <span class="p">[</span>
<span class="p">[</span><span class="mf">40.0150</span><span class="p">,</span> <span class="mf">42.3601</span><span class="p">,</span> <span class="mf">29.5518</span><span class="p">],</span>
<span class="p">[</span><span class="mf">41.00488</span><span class="p">,</span> <span class="mf">41.00203</span><span class="p">,</span> <span class="mf">37.00540</span><span class="p">,</span> <span class="mf">37.00051</span><span class="p">],</span>
<span class="p">[</span><span class="mf">34.1377</span><span class="p">,</span> <span class="mf">53.9333</span><span class="p">,</span> <span class="mf">51.4934</span><span class="p">,</span> <span class="mf">48.8575</span><span class="p">,</span> <span class="mf">40.4167</span><span class="p">],</span>
Expand Down
Loading

0 comments on commit 985ce6b

Please sign in to comment.