Skip to content

Commit

Permalink
deploy: bcc0217
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Mar 14, 2024
1 parent e2498e6 commit 5249a49
Show file tree
Hide file tree
Showing 34 changed files with 1,297 additions and 1,305 deletions.
32 changes: 16 additions & 16 deletions api/DataArray.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ <h1 class="title d-none d-lg-block">DataArray</h1>
</ul>
<section id="examples" class="level2">
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
<div id="6a0d1bee" class="cell" data-execution_count="1">
<div id="dd047bdd" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a></span>
Expand Down Expand Up @@ -810,15 +810,15 @@ <h4 class="anchored" data-anchor-id="returns-2">Returns</h4>
</section>
<section id="examples-2" class="level4">
<h4 class="anchored" data-anchor-id="examples-2">Examples</h4>
<div id="bf5c24dd" class="cell" data-execution_count="2">
<div id="343426c1" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb6-1"><a href="#cb6-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="cb6-2"><a href="#cb6-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="cb6-3"><a href="#cb6-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="98041c01" class="cell" data-execution_count="3">
<div id="e157aa86" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb8"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a>da3 <span class="op">=</span> mikeio.DataArray.concat([da1,da2])</span>
<span id="cb8-2"><a href="#cb8-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 @@ -1116,7 +1116,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">
<h4 class="anchored" data-anchor-id="examples-5">Examples</h4>
<div id="845c9d31" class="cell" data-execution_count="4">
<div id="74e8e93a" class="cell" data-execution_count="4">
<div class="sourceCode cell-code" id="cb13"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span>
<span id="cb13-2"><a href="#cb13-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
<span id="cb13-3"><a href="#cb13-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 @@ -1131,7 +1131,7 @@ <h4 class="anchored" data-anchor-id="examples-5">Examples</h4>
values: [0, nan, 2]</code></pre>
</div>
</div>
<div id="44f44734" class="cell" data-execution_count="5">
<div id="beb78519" class="cell" data-execution_count="5">
<div class="sourceCode cell-code" id="cb15"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb15-1"><a href="#cb15-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 @@ -1314,7 +1314,7 @@ <h4 class="anchored" data-anchor-id="see-also-3">See Also</h4>
</section>
<section id="examples-6" class="level4">
<h4 class="anchored" data-anchor-id="examples-6">Examples</h4>
<div id="e9ac4790" class="cell" data-execution_count="6">
<div id="55bd97fa" class="cell" data-execution_count="6">
<div class="sourceCode cell-code" id="cb17"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb17-1"><a href="#cb17-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="cb17-2"><a href="#cb17-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 @@ -1325,7 +1325,7 @@ <h4 class="anchored" data-anchor-id="examples-6">Examples</h4>
geometry: Grid2D (ny=101, nx=221)</code></pre>
</div>
</div>
<div id="11f79582" class="cell" data-execution_count="7">
<div id="f73227a2" class="cell" data-execution_count="7">
<div class="sourceCode cell-code" id="cb19"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb19-1"><a href="#cb19-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 @@ -1335,7 +1335,7 @@ <h4 class="anchored" data-anchor-id="examples-6">Examples</h4>
geometry: Grid2D (ny=101, nx=221)</code></pre>
</div>
</div>
<div id="8934df31" class="cell" data-execution_count="8">
<div id="7513bb4d" class="cell" data-execution_count="8">
<div class="sourceCode cell-code" id="cb21"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb21-1"><a href="#cb21-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 @@ -1345,7 +1345,7 @@ <h4 class="anchored" data-anchor-id="examples-6">Examples</h4>
geometry: Grid2D (ny=20, nx=10)</code></pre>
</div>
</div>
<div id="a0785a74" class="cell" data-execution_count="9">
<div id="3adceec0" class="cell" data-execution_count="9">
<div class="sourceCode cell-code" id="cb23"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb23-1"><a href="#cb23-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="cb23-2"><a href="#cb23-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 @@ -2022,7 +2022,7 @@ <h4 class="anchored" data-anchor-id="see-also-13">See Also</h4>
</section>
<section id="examples-9" class="level4">
<h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
<div id="6c7d3b98" class="cell" data-execution_count="10">
<div id="3c95a92b" class="cell" data-execution_count="10">
<div class="sourceCode cell-code" id="cb34"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb34-1"><a href="#cb34-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="cb34-2"><a href="#cb34-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 @@ -2033,7 +2033,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
geometry: Grid1D (n=3, dx=100)</code></pre>
</div>
</div>
<div id="a1322220" class="cell" data-execution_count="11">
<div id="8eabf970" class="cell" data-execution_count="11">
<div class="sourceCode cell-code" id="cb36"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb36-1"><a href="#cb36-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 @@ -2043,7 +2043,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
geometry: Grid1D (n=3, dx=100)</code></pre>
</div>
</div>
<div id="9087225b" class="cell" data-execution_count="12">
<div id="6abe891f" class="cell" data-execution_count="12">
<div class="sourceCode cell-code" id="cb38"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb38-1"><a href="#cb38-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 @@ -2054,7 +2054,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
values: [0.3231, 0.6315, ..., 0.7506]</code></pre>
</div>
</div>
<div id="ad199ec2" class="cell" data-execution_count="13">
<div id="4e6ba910" class="cell" data-execution_count="13">
<div class="sourceCode cell-code" id="cb40"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb40-1"><a href="#cb40-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="cb40-2"><a href="#cb40-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 @@ -2070,7 +2070,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
projection: UTM-33</code></pre>
</div>
</div>
<div id="a932e381" class="cell" data-execution_count="14">
<div id="f97720e6" class="cell" data-execution_count="14">
<div class="sourceCode cell-code" id="cb42"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb42-1"><a href="#cb42-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 @@ -2086,7 +2086,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
values: [16.31, 16.43, ..., 16.69]</code></pre>
</div>
</div>
<div id="df06bb65" class="cell" data-execution_count="15">
<div id="2adb1419" class="cell" data-execution_count="15">
<div class="sourceCode cell-code" id="cb44"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb44-1"><a href="#cb44-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 @@ -2097,7 +2097,7 @@ <h4 class="anchored" data-anchor-id="examples-9">Examples</h4>
values: [17.54, 17.31, 17.08]</code></pre>
</div>
</div>
<div id="49629c51" class="cell" data-execution_count="16">
<div id="98353996" class="cell" data-execution_count="16">
<div class="sourceCode cell-code" id="cb46"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb46-1"><a href="#cb46-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 @@ -428,7 +428,7 @@ <h2 class="anchored" data-anchor-id="selecting-items">Selecting Items</h2>
</section>
<section id="examples" class="level2">
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
<div id="822fc0f6" class="cell" data-execution_count="1">
<div id="d5912088" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb1-2"><a href="#cb1-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">
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
<div id="0ec20c00" class="cell" data-execution_count="1">
<div id="ddfa82ba" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb1-2"><a href="#cb1-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="4d8aa6b5" class="cell" data-execution_count="2">
<div id="144d6149" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-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">
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
<div id="df7b1cb9" class="cell" data-execution_count="1">
<div id="e2f99f58" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> mikeio</span>
<span id="cb1-2"><a href="#cb1-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 5249a49

Please sign in to comment.