Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 25, 2023
1 parent c1b1112 commit a8a3ac8
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0eec4327
063f7f63
184 changes: 92 additions & 92 deletions build/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions core/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#edge" id="toc-edge" class="nav-link" data-scroll-target="#edge"><span class="header-section-number">4</span> Edge</a></li>
<li><a href="#basin" id="toc-basin" class="nav-link" data-scroll-target="#basin"><span class="header-section-number">5</span> Basin</a>
<ul class="collapse">
<li><a href="#basin-forcing" id="toc-basin-forcing" class="nav-link" data-scroll-target="#basin-forcing"><span class="header-section-number">5.1</span> Basin / forcing</a></li>
<li><a href="#basin-time" id="toc-basin-time" class="nav-link" data-scroll-target="#basin-time"><span class="header-section-number">5.1</span> Basin / time</a></li>
<li><a href="#basin-state" id="toc-basin-state" class="nav-link" data-scroll-target="#basin-state"><span class="header-section-number">5.2</span> Basin / state</a></li>
<li><a href="#basin-profile" id="toc-basin-profile" class="nav-link" data-scroll-target="#basin-profile"><span class="header-section-number">5.3</span> Basin / profile</a></li>
<li><a href="#basin-output" id="toc-basin-output" class="nav-link" data-scroll-target="#basin-output"><span class="header-section-number">5.4</span> Basin output</a></li>
Expand Down Expand Up @@ -325,7 +325,7 @@ <h1 data-number="1"><span class="header-section-number">1</span> Configuration f
<span id="cb2-21"><a href="#cb2-21" aria-hidden="true" tabindex="-1"></a><span class="co"># For large tables this can benefit from better compressed file sizes.</span></span>
<span id="cb2-22"><a href="#cb2-22" aria-hidden="true" tabindex="-1"></a><span class="co"># This is optional, tables are retrieved from the GeoPackage if not specified in the TOML.</span></span>
<span id="cb2-23"><a href="#cb2-23" aria-hidden="true" tabindex="-1"></a><span class="kw">[</span><span class="dt">basin</span><span class="kw">]</span></span>
<span id="cb2-24"><a href="#cb2-24" aria-hidden="true" tabindex="-1"></a><span class="dt">forcing</span> <span class="op">=</span> <span class="st">"forcing.arrow"</span></span>
<span id="cb2-24"><a href="#cb2-24" aria-hidden="true" tabindex="-1"></a><span class="dt">time</span> <span class="op">=</span> <span class="st">"basin/time.arrow"</span></span>
<span id="cb2-25"><a href="#cb2-25" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-26"><a href="#cb2-26" aria-hidden="true" tabindex="-1"></a><span class="kw">[</span><span class="dt">solver</span><span class="kw">]</span></span>
<span id="cb2-27"><a href="#cb2-27" aria-hidden="true" tabindex="-1"></a><span class="dt">algorithm</span> <span class="op">=</span> <span class="st">"QNDF"</span> <span class="co"># optional, default "QNDF"</span></span>
Expand Down Expand Up @@ -423,7 +423,7 @@ <h1 data-number="3"><span class="header-section-number">3</span> Node</h1>
<ul>
<li><code>Basin / static</code>: default forcing values, used if no dynamic data given in the forcing table</li>
<li><code>Basin / profile</code>: geometries of the basins</li>
<li><code>Basin / forcing</code>: time series of the forcing values</li>
<li><code>Basin / time</code>: time series of the forcing values</li>
<li><code>Basin / state</code>: used as initial condition of the basins</li>
</ul></li>
<li>FractionalFlow: connect two of these from a Basin to get a fixed ratio bifurcation
Expand Down Expand Up @@ -530,7 +530,7 @@ <h1 data-number="4"><span class="header-section-number">4</span> Edge</h1>
</section>
<section id="basin" class="level1" data-number="5">
<h1 data-number="5"><span class="header-section-number">5</span> Basin</h1>
<p>The Basin table can be used to set the static value of variables. The forcing table has a similar schema, with the time column added. A static value for a variable is only used if there is no dynamic forcing data for that variable. Specifically, if there is either no forcing table, it is empty, or all timestamps of that variable are missing.</p>
<p>The Basin table can be used to set the static value of variables. The time table has a similar schema, with the time column added. A static value for a variable is only used if there is no dynamic forcing data for that variable. Specifically, if there is either no time table, it is empty, or all timestamps of that variable are missing.</p>
<table class="table">
<thead>
<tr class="header">
Expand Down Expand Up @@ -580,8 +580,8 @@ <h1 data-number="5"><span class="header-section-number">5</span> Basin</h1>
</tbody>
</table>
<p>Note that if variables are not set in the static table, default values are used when possible. These are generally zero, e.g.&nbsp;no precipitation, no inflow. If it is not possible to have a reasonable and safe default, a value must be provided in the static table.</p>
<section id="basin-forcing" class="level2" data-number="5.1">
<h2 data-number="5.1" class="anchored" data-anchor-id="basin-forcing"><span class="header-section-number">5.1</span> Basin / forcing</h2>
<section id="basin-time" class="level2" data-number="5.1">
<h2 data-number="5.1" class="anchored" data-anchor-id="basin-time"><span class="header-section-number">5.1</span> Basin / time</h2>
<p>This table is the transient form of the <code>Basin</code> table. The only difference is that a time column is added. The table must by sorted by time, and per time it must be sorted by <code>node_id</code>. A linear interpolation between the given timesteps is currently done if the solver takes timesteps between the given data points. More options will be available later.</p>
</section>
<section id="basin-state" class="level2" data-number="5.2">
Expand Down
4 changes: 2 additions & 2 deletions python/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ <h1 data-number="2"><span class="header-section-number">2</span> Update the basi
<span id="cb21-7"><a href="#cb21-7" aria-hidden="true" tabindex="-1"></a>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<div class="cell" data-execution_count="22">
<div class="sourceCode cell-code" id="cb22"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb22-1"><a href="#cb22-1" aria-hidden="true" tabindex="-1"></a>model.basin.forcing <span class="op">=</span> forcing</span>
<div class="sourceCode cell-code" id="cb22"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb22-1"><a href="#cb22-1" aria-hidden="true" tabindex="-1"></a>model.basin.time <span class="op">=</span> forcing</span>
<span id="cb22-2"><a href="#cb22-2" aria-hidden="true" tabindex="-1"></a>model.basin.state <span class="op">=</span> state</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<div class="cell" data-execution_count="23">
Expand Down Expand Up @@ -548,7 +548,7 @@ <h1 data-number="2"><span class="header-section-number">2</span> Update the basi
<span id="cb26-4"><a href="#cb26-4" aria-hidden="true" tabindex="-1"></a>ax <span class="op">=</span> df_flow.pivot_table(index<span class="op">=</span><span class="st">"time"</span>, columns<span class="op">=</span><span class="st">"edge"</span>, values<span class="op">=</span><span class="st">"flow_m3d"</span>).plot()</span>
<span id="cb26-5"><a href="#cb26-5" aria-hidden="true" tabindex="-1"></a>ax.legend(bbox_to_anchor<span class="op">=</span>(<span class="fl">1.3</span>, <span class="dv">1</span>), title<span class="op">=</span><span class="st">"Edge"</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="26">
<pre><code>&lt;matplotlib.legend.Legend at 0x7f2fd1cbe190&gt;</code></pre>
<pre><code>&lt;matplotlib.legend.Legend at 0x7f5d5dbdd310&gt;</code></pre>
</div>
<div class="cell-output cell-output-display">
<p><img src="examples_files/figure-html/cell-27-output-2.png" width="727" height="412"></p>
Expand Down
2 changes: 1 addition & 1 deletion python/reference/Basin.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h2 data-number="1.1" class="anchored" data-anchor-id="parameters"><span class="
<td><em>required</em></td>
</tr>
<tr class="odd">
<td><code>forcing</code></td>
<td><code>time</code></td>
<td>pandas.DataFrame</td>
<td>Table describing the time-varying fluxes.</td>
<td><em>required</em></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"precipitation",
"urban_runoff"
],
"$id": "https://deltares.github.io/Ribasim/schema/BasinForcing.schema.json",
"title": "BasinForcing",
"description": "A BasinForcing object based on Ribasim.BasinForcingV1",
"$id": "https://deltares.github.io/Ribasim/schema/BasinTime.schema.json",
"title": "BasinTime",
"description": "A BasinTime object based on Ribasim.BasinTimeV1",
"type": "object"
}
4 changes: 2 additions & 2 deletions schema/Config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@
},
"basin": {
"default": {
"forcing": null,
"profile": null,
"state": null,
"static": null
"static": null,
"time": null
},
"$ref": "https://deltares.github.io/Ribasim/schema/basin.schema.json"
},
Expand Down
4 changes: 2 additions & 2 deletions schema/basin.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"default": null
},
"static": {
"time": {
"format": "default",
"anyOf": [
{
Expand All @@ -25,7 +25,7 @@
],
"default": null
},
"forcing": {
"static": {
"format": "default",
"anyOf": [
{
Expand Down
10 changes: 5 additions & 5 deletions schema/root.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"BasinTime": {
"$ref": "BasinTime.schema.json"
},
"DiscreteControlLogic": {
"$ref": "DiscreteControlLogic.schema.json"
},
Expand All @@ -25,15 +28,12 @@
"DiscreteControlCondition": {
"$ref": "DiscreteControlCondition.schema.json"
},
"BasinForcing": {
"$ref": "BasinForcing.schema.json"
"LinearResistanceStatic": {
"$ref": "LinearResistanceStatic.schema.json"
},
"FractionalFlowStatic": {
"$ref": "FractionalFlowStatic.schema.json"
},
"LinearResistanceStatic": {
"$ref": "LinearResistanceStatic.schema.json"
},
"PidControlStatic": {
"$ref": "PidControlStatic.schema.json"
},
Expand Down
14 changes: 7 additions & 7 deletions search.json

Large diffs are not rendered by default.

0 comments on commit a8a3ac8

Please sign in to comment.