Skip to content

Commit

Permalink
Deploy dev to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
roeldegoede committed Aug 24, 2023
1 parent 8cc2fff commit 18aeeca
Show file tree
Hide file tree
Showing 177 changed files with 4,751 additions and 14,498 deletions.
14 changes: 7 additions & 7 deletions dev/_examples/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=e353d410970836974a52" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52" />

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=ccbe24c1"></script>
<script src="../_static/documentation_options.js?v=8a448e45"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=4825356b"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/design-tabs.js?v=36754332"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script>DOCUMENTATION_OPTIONS.pagename = '_examples/README';</script>
Expand Down Expand Up @@ -406,18 +406,18 @@
<p>These examples can be run online or on your local machine.
To run these examples online press the <strong>binder</strong> badge above.</p>
<section id="local-installation">
<h1>Local installation<a class="headerlink" href="#local-installation" title="Permalink to this heading">#</a></h1>
<h1>Local installation<a class="headerlink" href="#local-installation" title="Link to this heading">#</a></h1>
<p>To run these examples on your local machine you need a copy of the examples folder
of the repository and an installation of HydroMT-SFINCS including some additional
packages required to run the notebooks.</p>
<section id="install-hydromt-sfincs">
<h2>1 - Install HydroMT-SFINCS<a class="headerlink" href="#install-hydromt-sfincs" title="Permalink to this heading">#</a></h2>
<h2>1 - Install HydroMT-SFINCS<a class="headerlink" href="#install-hydromt-sfincs" title="Link to this heading">#</a></h2>
<p>The first step is to install HydroMT-SFINCS and the other Python dependencies in a separate environment,
see the <strong>Install HydroMT-SFINCS in a new environment</strong> section in the
<a class="reference external" href="https://deltares.github.io/hydromt_sfincs/latest/getting_started/installation.html">installation guide</a></p>
</section>
<section id="download-the-content-of-the-hydromt-github-repository">
<h2>2 - Download the content of the HydroMT github repository<a class="headerlink" href="#download-the-content-of-the-hydromt-github-repository" title="Permalink to this heading">#</a></h2>
<h2>2 - Download the content of the HydroMT github repository<a class="headerlink" href="#download-the-content-of-the-hydromt-github-repository" title="Link to this heading">#</a></h2>
<p>To run the examples locally, you will need to download the content of the examples folder in the HydroMT-SFINCS repository.
You can do a <a class="reference external" href="https://github.com/Deltares/hydromt_sfincs/archive/refs/heads/main.zip">manual download</a>
and extract the content of the downloaded ZIP folder <strong>or</strong> clone the repository locally (this requires git):</p>
Expand All @@ -426,7 +426,7 @@ <h2>2 - Download the content of the HydroMT github repository<a class="headerlin
</div>
</section>
<section id="running-the-examples">
<h2>3 - Running the examples<a class="headerlink" href="#running-the-examples" title="Permalink to this heading">#</a></h2>
<h2>3 - Running the examples<a class="headerlink" href="#running-the-examples" title="Link to this heading">#</a></h2>
<p>Finally, start a jupyter lab server inside the <strong>examples</strong> folder
after activating the <strong>hydromt-sfincs</strong> environment, see below.</p>
<p>Alternatively, you can run the notebooks from <a class="reference external" href="https://code.visualstudio.com/download">Visual Studio Code</a>.</p>
Expand Down Expand Up @@ -513,7 +513,7 @@ <h2>3 - Running the examples<a class="headerlink" href="#running-the-examples" t

<div class="footer-item">
<p class="sphinx-version">
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.1.2.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.3.
<br/>
</p>
</div>
Expand Down
9,174 changes: 111 additions & 9,063 deletions dev/_examples/build_from_cli.html

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions dev/_examples/build_from_script.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dev/_examples/example_datasources.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=e353d410970836974a52" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52" />

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=ccbe24c1"></script>
<script src="../_static/documentation_options.js?v=8a448e45"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=4825356b"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/design-tabs.js?v=36754332"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script>window.MathJax = {"tex": {"inlineMath": [["$", "$"], ["\\(", "\\)"]], "processEscapes": true}, "options": {"ignoreHtmlClass": "tex2jax_ignore|mathjax_ignore|document", "processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
Expand Down Expand Up @@ -453,7 +453,7 @@
<a href="https://mybinder.org/v2/gh/Deltares/hydromt_sfincs/main?urlpath=lab/tree/examples/example_datasources.ipynb" target="_blank" rel="noopener noreferrer"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg"></a>
</div></div>
<section id="Working-with-data-in-HydroMT">
<h1>Working with data in HydroMT<a class="headerlink" href="#Working-with-data-in-HydroMT" title="Permalink to this heading">#</a></h1>
<h1>Working with data in HydroMT<a class="headerlink" href="#Working-with-data-in-HydroMT" title="Link to this heading">#</a></h1>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[3]:
</pre></div>
Expand Down Expand Up @@ -908,7 +908,7 @@ <h1>Working with data in HydroMT<a class="headerlink" href="#Working-with-data-i
</table></div></div></li><li class='xr-section-item'><input id='section-93e470f0-d8ce-47eb-ad9b-7e46dd4597cc' class='xr-section-summary-in' type='checkbox' checked><label for='section-93e470f0-d8ce-47eb-ad9b-7e46dd4597cc' class='xr-section-summary' >Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>x</span></div><div class='xr-var-dims'>(x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>11.6 11.6 11.6 ... 13.0 13.0 13.0</div><input id='attrs-9a149322-103d-46f2-8941-bf4344db1131' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-9a149322-103d-46f2-8941-bf4344db1131' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d01eff4a-7156-4716-8937-27200a3ce83a' class='xr-var-data-in' type='checkbox'><label for='data-d01eff4a-7156-4716-8937-27200a3ce83a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([11.600417, 11.60125 , 11.602083, ..., 12.997917, 12.99875 , 12.999583])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>y</span></div><div class='xr-var-dims'>(y)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>46.8 46.8 46.8 ... 45.2 45.2 45.2</div><input id='attrs-7ae93ab6-9c97-4b8d-a882-0dc2bf624164' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7ae93ab6-9c97-4b8d-a882-0dc2bf624164' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-84b01b8d-967d-4f0b-8d84-834ab37b7aed' class='xr-var-data-in' type='checkbox'><label for='data-84b01b8d-967d-4f0b-8d84-834ab37b7aed' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([46.799583, 46.79875 , 46.797917, ..., 45.202083, 45.20125 , 45.200417])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>spatial_ref</span></div><div class='xr-var-dims'>()</div><div class='xr-var-dtype'>int32</div><div class='xr-var-preview xr-preview'>0</div><input id='attrs-3992cd07-7297-493a-a491-da0d9530dd35' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-3992cd07-7297-493a-a491-da0d9530dd35' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-62cafd50-0eab-4103-bd2a-1d7d73e6fc22' class='xr-var-data-in' type='checkbox'><label for='data-62cafd50-0eab-4103-bd2a-1d7d73e6fc22' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>crs_wkt :</span></dt><dd>GEOGCS[&quot;WGS 84&quot;,DATUM[&quot;WGS_1984&quot;,SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],PRIMEM[&quot;Greenwich&quot;,0,AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],UNIT[&quot;degree&quot;,0.0174532925199433,AUTHORITY[&quot;EPSG&quot;,&quot;9122&quot;]],AXIS[&quot;Latitude&quot;,NORTH],AXIS[&quot;Longitude&quot;,EAST],AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</dd><dt><span>semi_major_axis :</span></dt><dd>6378137.0</dd><dt><span>semi_minor_axis :</span></dt><dd>6356752.314245179</dd><dt><span>inverse_flattening :</span></dt><dd>298.257223563</dd><dt><span>reference_ellipsoid_name :</span></dt><dd>WGS 84</dd><dt><span>longitude_of_prime_meridian :</span></dt><dd>0.0</dd><dt><span>prime_meridian_name :</span></dt><dd>Greenwich</dd><dt><span>geographic_crs_name :</span></dt><dd>WGS 84</dd><dt><span>grid_mapping_name :</span></dt><dd>latitude_longitude</dd><dt><span>spatial_ref :</span></dt><dd>GEOGCS[&quot;WGS 84&quot;,DATUM[&quot;WGS_1984&quot;,SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],PRIMEM[&quot;Greenwich&quot;,0,AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],UNIT[&quot;degree&quot;,0.0174532925199433,AUTHORITY[&quot;EPSG&quot;,&quot;9122&quot;]],AXIS[&quot;Latitude&quot;,NORTH],AXIS[&quot;Longitude&quot;,EAST],AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</dd><dt><span>GeoTransform :</span></dt><dd>11.600000000000023 0.0008333333333333203 0.0 46.8 0.0 -0.0008333333333333345</dd><dt><span>x_dim :</span></dt><dd>x</dd><dt><span>y_dim :</span></dt><dd>y</dd></dl></div><div class='xr-var-data'><pre>array(0)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-beadb210-5920-46a0-afa6-026391a74d7a' class='xr-section-summary-in' type='checkbox' checked><label for='section-beadb210-5920-46a0-afa6-026391a74d7a' class='xr-section-summary' >Attributes: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>AREA_OR_POINT :</span></dt><dd>Area</dd><dt><span>_FillValue :</span></dt><dd>-9999.0</dd><dt><span>source_file :</span></dt><dd>elevtn.tif</dd></dl></div></li></ul></div></div></div>
</div>
<section id="Often-we-don't-need-the-entire-extent-of-certain-datasets,-but-only-part-of-it">
<h2>Often we don’t need the entire extent of certain datasets, but only part of it<a class="headerlink" href="#Often-we-don't-need-the-entire-extent-of-certain-datasets,-but-only-part-of-it" title="Permalink to this heading">#</a></h2>
<h2>Often we don’t need the entire extent of certain datasets, but only part of it<a class="headerlink" href="#Often-we-don't-need-the-entire-extent-of-certain-datasets,-but-only-part-of-it" title="Link to this heading">#</a></h2>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[5]:
</pre></div>
Expand Down Expand Up @@ -953,7 +953,7 @@ <h2>Often we don’t need the entire extent of certain datasets, but only part o
</div>
</section>
<section id="Intermezzo:-We-can-also-download-the-data-to-a-local-folder">
<h2>Intermezzo: We can also download the data to a local folder<a class="headerlink" href="#Intermezzo:-We-can-also-download-the-data-to-a-local-folder" title="Permalink to this heading">#</a></h2>
<h2>Intermezzo: We can also download the data to a local folder<a class="headerlink" href="#Intermezzo:-We-can-also-download-the-data-to-a-local-folder" title="Link to this heading">#</a></h2>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[7]:
</pre></div>
Expand All @@ -975,7 +975,7 @@ <h2>Intermezzo: We can also download the data to a local folder<a class="headerl
</div>
</section>
<section id="Local-data-can-be-added-to-the-model-as-well">
<h2>Local data can be added to the model as well<a class="headerlink" href="#Local-data-can-be-added-to-the-model-as-well" title="Permalink to this heading">#</a></h2>
<h2>Local data can be added to the model as well<a class="headerlink" href="#Local-data-can-be-added-to-the-model-as-well" title="Link to this heading">#</a></h2>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[8]:
</pre></div>
Expand Down Expand Up @@ -1401,7 +1401,7 @@ <h2>Local data can be added to the model as well<a class="headerlink" href="#Loc
</div>
</section>
<section id="For-higher-resolution-datasets,-sometimes-making-xyz-tiles-is-beneficial-for-speed">
<h2>For higher-resolution datasets, sometimes making xyz-tiles is beneficial for speed<a class="headerlink" href="#For-higher-resolution-datasets,-sometimes-making-xyz-tiles-is-beneficial-for-speed" title="Permalink to this heading">#</a></h2>
<h2>For higher-resolution datasets, sometimes making xyz-tiles is beneficial for speed<a class="headerlink" href="#For-higher-resolution-datasets,-sometimes-making-xyz-tiles-is-beneficial-for-speed" title="Link to this heading">#</a></h2>
<div class="nbinput docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[13]:
</pre></div>
Expand Down Expand Up @@ -1431,7 +1431,7 @@ <h2>For higher-resolution datasets, sometimes making xyz-tiles is beneficial for
</div>
</section>
<section id="Now-build-a-model-that-uses:">
<h2>Now build a model that uses:<a class="headerlink" href="#Now-build-a-model-that-uses:" title="Permalink to this heading">#</a></h2>
<h2>Now build a model that uses:<a class="headerlink" href="#Now-build-a-model-that-uses:" title="Link to this heading">#</a></h2>
<ul><li><p>local dataset : Local download of gebco</p>
</li><li><p>data catalog xyz-tiles : Local xyz tiles of fabdem</p>
</li><li><p>delft dashboard data (in progress): global tiled datasets hosted on the opendap server</p>
Expand Down Expand Up @@ -1622,7 +1622,7 @@ <h2>Now build a model that uses:<a class="headerlink" href="#Now-build-a-model-t

<div class="footer-item">
<p class="sphinx-version">
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.1.2.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.3.
<br/>
</p>
</div>
Expand Down
Loading

0 comments on commit 18aeeca

Please sign in to comment.