Skip to content

Commit

Permalink
deploy: 7ec68b2
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Oct 16, 2024
1 parent fdec0a6 commit d302b34
Show file tree
Hide file tree
Showing 33 changed files with 267 additions and 267 deletions.
32 changes: 16 additions & 16 deletions api/DataArray.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ <h1 class="title d-none d-lg-block">DataArray</h1>
</ul>
<section id="examples" class="level2 doc-section doc-section-examples">
<h2 class="doc-section doc-section-examples anchored" data-anchor-id="examples">Examples</h2>
<div id="9096ea8f" class="cell" data-execution_count="1">
<div id="89021faf" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a></span>
Expand Down Expand Up @@ -818,15 +818,15 @@ <h4 class="doc-section doc-section-returns anchored" data-anchor-id="returns-2">
</section>
<section id="examples-2" class="level4 doc-section doc-section-examples">
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-2">Examples</h4>
<div id="f723025d" class="cell" data-execution_count="2">
<div id="ab83eb40" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb10"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a>da1 <span class="op">=</span> mikeio.read(<span class="st">"../data/HD2D.dfsu"</span>, time<span class="op">=</span>[<span class="dv">0</span>,<span class="dv">1</span>])[<span class="dv">0</span>]</span>
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a>da2 <span class="op">=</span> mikeio.read(<span class="st">"../data/HD2D.dfsu"</span>, time<span class="op">=</span>[<span class="dv">2</span>,<span class="dv">3</span>])[<span class="dv">0</span>]</span>
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a>da1.time</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="2">
<pre><code>DatetimeIndex(['1985-08-06 07:00:00', '1985-08-06 09:30:00'], dtype='datetime64[ns]', freq=None)</code></pre>
</div>
</div>
<div id="f9c31136" class="cell" data-execution_count="3">
<div id="ded2b352" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb12"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a>da3 <span class="op">=</span> mikeio.DataArray.concat([da1,da2])</span>
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a>da3</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="3">
Expand Down Expand Up @@ -1135,7 +1135,7 @@ <h3 class="anchored" data-anchor-id="mikeio.DataArray.interp_na">interp_na</h3>
<p>Wrapper of <a href="https://xarray.pydata.org/en/stable/generated/xarray.DataArray.interpolate_na.html#xarray.DataArray.interpolate_na"><code>xarray.DataArray.interpolate_na</code></a></p>
<section id="examples-5" class="level4 doc-section doc-section-examples">
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-5">Examples</h4>
<div id="326fde91" class="cell" data-execution_count="4">
<div id="8a909afa" class="cell" data-execution_count="4">
<div class="sourceCode cell-code" id="cb25"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb25-1"><a href="#cb25-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span>
<span id="cb25-2"><a href="#cb25-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
<span id="cb25-3"><a href="#cb25-3" aria-hidden="true" tabindex="-1"></a>time <span class="op">=</span> pd.date_range(<span class="st">"2000"</span>, periods<span class="op">=</span><span class="dv">3</span>, freq<span class="op">=</span><span class="st">"D"</span>)</span>
Expand All @@ -1150,7 +1150,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-5
values: [0, nan, 2]</code></pre>
</div>
</div>
<div id="27f38257" class="cell" data-execution_count="5">
<div id="063c6f48" class="cell" data-execution_count="5">
<div class="sourceCode cell-code" id="cb27"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb27-1"><a href="#cb27-1" aria-hidden="true" tabindex="-1"></a>da.interp_na()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="5">
<pre><code>&lt;mikeio.DataArray&gt;
Expand Down Expand Up @@ -1339,7 +1339,7 @@ <h4 class="doc-section doc-section-see-also anchored" data-anchor-id="see-also-3
</section>
<section id="examples-6" class="level4 doc-section doc-section-examples">
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-6">Examples</h4>
<div id="26d67403" class="cell" data-execution_count="6">
<div id="deda8a5a" class="cell" data-execution_count="6">
<div class="sourceCode cell-code" id="cb31"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb31-1"><a href="#cb31-1" aria-hidden="true" tabindex="-1"></a>da <span class="op">=</span> mikeio.read(<span class="st">"../data/europe_wind_long_lat.dfs2"</span>)[<span class="dv">0</span>]</span>
<span id="cb31-2"><a href="#cb31-2" aria-hidden="true" tabindex="-1"></a>da</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="6">
Expand All @@ -1350,7 +1350,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-6
geometry: Grid2D (ny=101, nx=221)</code></pre>
</div>
</div>
<div id="1a275693" class="cell" data-execution_count="7">
<div id="3f9d99a8" class="cell" data-execution_count="7">
<div class="sourceCode cell-code" id="cb33"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb33-1"><a href="#cb33-1" aria-hidden="true" tabindex="-1"></a>da.isel(time<span class="op">=-</span><span class="dv">1</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="7">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -1360,7 +1360,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-6
geometry: Grid2D (ny=101, nx=221)</code></pre>
</div>
</div>
<div id="525ca132" class="cell" data-execution_count="8">
<div id="32b0478d" class="cell" data-execution_count="8">
<div class="sourceCode cell-code" id="cb35"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb35-1"><a href="#cb35-1" aria-hidden="true" tabindex="-1"></a>da.isel(x<span class="op">=</span><span class="bu">slice</span>(<span class="dv">10</span>,<span class="dv">20</span>), y<span class="op">=</span><span class="bu">slice</span>(<span class="dv">40</span>,<span class="dv">60</span>))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="8">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -1370,7 +1370,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-6
geometry: Grid2D (ny=20, nx=10)</code></pre>
</div>
</div>
<div id="c14ac942" class="cell" data-execution_count="9">
<div id="b890925b" class="cell" data-execution_count="9">
<div class="sourceCode cell-code" id="cb37"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb37-1"><a href="#cb37-1" aria-hidden="true" tabindex="-1"></a>da <span class="op">=</span> mikeio.read(<span class="st">"../data/oresund_sigma_z.dfsu"</span>).Temperature</span>
<span id="cb37-2"><a href="#cb37-2" aria-hidden="true" tabindex="-1"></a>da.isel(element<span class="op">=</span><span class="bu">range</span>(<span class="dv">200</span>))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="9">
Expand Down Expand Up @@ -2061,7 +2061,7 @@ <h4 class="doc-section doc-section-see-also anchored" data-anchor-id="see-also-1
</section>
<section id="examples-9" class="level4 doc-section doc-section-examples">
<h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9">Examples</h4>
<div id="fad04e60" class="cell" data-execution_count="10">
<div id="a67997ff" class="cell" data-execution_count="10">
<div class="sourceCode cell-code" id="cb59"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb59-1"><a href="#cb59-1" aria-hidden="true" tabindex="-1"></a>da <span class="op">=</span> mikeio.read(<span class="st">"../data/random.dfs1"</span>)[<span class="dv">0</span>]</span>
<span id="cb59-2"><a href="#cb59-2" aria-hidden="true" tabindex="-1"></a>da</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="10">
Expand All @@ -2072,7 +2072,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
geometry: Grid1D (n=3, dx=100)</code></pre>
</div>
</div>
<div id="a184d812" class="cell" data-execution_count="11">
<div id="c5e706e1" class="cell" data-execution_count="11">
<div class="sourceCode cell-code" id="cb61"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb61-1"><a href="#cb61-1" aria-hidden="true" tabindex="-1"></a>da.sel(time<span class="op">=</span><span class="bu">slice</span>(<span class="va">None</span>, <span class="st">"2012-1-1 00:02"</span>))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="11">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -2082,7 +2082,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
geometry: Grid1D (n=3, dx=100)</code></pre>
</div>
</div>
<div id="7e61d2b7" class="cell" data-execution_count="12">
<div id="ef759036" class="cell" data-execution_count="12">
<div class="sourceCode cell-code" id="cb63"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb63-1"><a href="#cb63-1" aria-hidden="true" tabindex="-1"></a>da.sel(x<span class="op">=</span><span class="dv">100</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="12">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -2093,7 +2093,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
values: [0.3231, 0.6315, ..., 0.7506]</code></pre>
</div>
</div>
<div id="7bd97958" class="cell" data-execution_count="13">
<div id="5bd4d6b8" class="cell" data-execution_count="13">
<div class="sourceCode cell-code" id="cb65"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb65-1"><a href="#cb65-1" aria-hidden="true" tabindex="-1"></a>da <span class="op">=</span> mikeio.read(<span class="st">"../data/oresund_sigma_z.dfsu"</span>).Temperature</span>
<span id="cb65-2"><a href="#cb65-2" aria-hidden="true" tabindex="-1"></a>da</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="13">
Expand All @@ -2109,7 +2109,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
projection: UTM-33</code></pre>
</div>
</div>
<div id="daf3d4c7" class="cell" data-execution_count="14">
<div id="8848ab3f" class="cell" data-execution_count="14">
<div class="sourceCode cell-code" id="cb67"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb67-1"><a href="#cb67-1" aria-hidden="true" tabindex="-1"></a>da.sel(time<span class="op">=</span><span class="st">"1997-09-15"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="14">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -2125,7 +2125,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
values: [16.31, 16.43, ..., 16.69]</code></pre>
</div>
</div>
<div id="ef8cfb40" class="cell" data-execution_count="15">
<div id="eff72f1f" class="cell" data-execution_count="15">
<div class="sourceCode cell-code" id="cb69"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb69-1"><a href="#cb69-1" aria-hidden="true" tabindex="-1"></a>da.sel(x<span class="op">=</span><span class="dv">340000</span>, y<span class="op">=</span><span class="dv">6160000</span>, z<span class="op">=-</span><span class="dv">3</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="15">
<pre><code>&lt;mikeio.DataArray&gt;
Expand All @@ -2136,7 +2136,7 @@ <h4 class="doc-section doc-section-examples anchored" data-anchor-id="examples-9
values: [17.54, 17.31, 17.08]</code></pre>
</div>
</div>
<div id="c21261ae" class="cell" data-execution_count="16">
<div id="c63fc85c" class="cell" data-execution_count="16">
<div class="sourceCode cell-code" id="cb71"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb71-1"><a href="#cb71-1" aria-hidden="true" tabindex="-1"></a>da.sel(layers<span class="op">=</span><span class="st">"bottom"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="16">
<pre><code>&lt;mikeio.DataArray&gt;
Expand Down
2 changes: 1 addition & 1 deletion api/Dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h2 class="doc-section doc-section-selecting-items anchored" data-anchor-id="sel
</section>
<section id="examples" class="level2 doc-section doc-section-examples">
<h2 class="doc-section doc-section-examples anchored" data-anchor-id="examples">Examples</h2>
<div id="15ce35ce" class="cell" data-execution_count="1">
<div id="5c44fb10" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>mikeio.read(<span class="st">"../data/europe_wind_long_lat.dfs2"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="1">
Expand Down
4 changes: 2 additions & 2 deletions api/EUMType.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,14 @@ <h1 class="title d-none d-lg-block">EUMType</h1>
<p>EUM type</p>
<section id="examples" class="level2 doc-section doc-section-examples">
<h2 class="doc-section doc-section-examples anchored" data-anchor-id="examples">Examples</h2>
<div id="9bdd2948" class="cell" data-execution_count="1">
<div id="0a5516f1" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>mikeio.EUMType.Temperature</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>Temperature</code></pre>
</div>
</div>
<div id="6876c38f" class="cell" data-execution_count="2">
<div id="8f532a80" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>mikeio.EUMType.Temperature.units</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="2">
<pre><code>[degree Celsius, degree Fahrenheit, degree Kelvin]</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion api/EUMUnit.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ <h1 class="title d-none d-lg-block">EUMUnit</h1>
<p>EUM unit</p>
<section id="examples" class="level2 doc-section doc-section-examples">
<h2 class="doc-section doc-section-examples anchored" data-anchor-id="examples">Examples</h2>
<div id="1b52c6cf" class="cell" data-execution_count="1">
<div id="e0696258" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>mikeio.EUMUnit.degree_Kelvin</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="1">
Expand Down
Loading

0 comments on commit d302b34

Please sign in to comment.