Skip to content

Commit

Permalink
deploy: eb44d1a
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Aug 6, 2024
1 parent ffa69aa commit 43ce120
Show file tree
Hide file tree
Showing 67 changed files with 329 additions and 317 deletions.
Binary file modified .doctrees/api/xugrid.OverlapRegridder.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/examples-dev/sg_execution_times.doctree
Binary file not shown.
Binary file modified .doctrees/examples-dev/voronoi.doctree
Binary file not shown.
Binary file modified .doctrees/examples/connectivity.doctree
Binary file not shown.
Binary file modified .doctrees/examples/overlap_regridder.doctree
Binary file not shown.
Binary file modified .doctrees/examples/partitioning.doctree
Binary file not shown.
Binary file modified .doctrees/examples/plotting.doctree
Binary file not shown.
Binary file modified .doctrees/examples/quick_overview.doctree
Binary file not shown.
Binary file modified .doctrees/examples/regridder_overview.doctree
Binary file not shown.
Binary file modified .doctrees/examples/selection.doctree
Binary file not shown.
Binary file modified .doctrees/examples/sg_execution_times.doctree
Binary file not shown.
Binary file modified .doctrees/examples/vector_conversion.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/adh_san_diego.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/disk.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/elevation_nl.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/sg_execution_times.doctree
Binary file not shown.
Binary file modified .doctrees/sg_execution_times.doctree
Binary file not shown.
Binary file modified _downloads/1da8bbc63e9e34158260eadd1533549c/quick_overview.zip
Binary file not shown.
Binary file modified _downloads/2dbba5ebb6d2057d196983a008981162/voronoi.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/3e8af3e56da80727f8440a5b5f94f5cb/disk.zip
Binary file not shown.
Binary file modified _downloads/3eb350a8b54f214b88c5181e546a155e/adh_san_diego.zip
Binary file not shown.
Binary file modified _downloads/422003fc9b51482872f8f3701ce47abe/provinces_nl.zip
Binary file not shown.
Binary file modified _downloads/43d7b47db560c8c70c383a84a444ed83/connectivity.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/97eabe2c66fc9328b1e51f27fdee52f6/partitioning.zip
Binary file not shown.
Binary file modified _downloads/9be12df0ec6c323839ed0cb99cc89228/elevation_nl.zip
Binary file not shown.
Binary file modified _downloads/a50ba9731493d1c74010dcadb8694b20/selection.zip
Binary file not shown.
Binary file modified _downloads/cc393383c363f7c590c6ef714836f52a/xoxo.zip
Binary file not shown.
Binary file modified _downloads/d2379110fee2f2fbaf724f0142daaa8d/plotting.zip
Binary file not shown.
Binary file not shown.
8 changes: 7 additions & 1 deletion _modules/xugrid/regrid/regridder.html
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,16 @@ <h1>Source code for xugrid.regrid.regridder</h1><div class="highlight"><pre>

<span class="sd"> Examples</span>
<span class="sd"> --------</span>
<span class="sd"> Create an OverlapRegridder to regrid with mean:</span>

<span class="sd"> &gt;&gt;&gt; regridder = OverlapRegridder(source_grid, target_grid, method=&quot;mean&quot;)</span>
<span class="sd"> &gt;&gt;&gt; regridder.regrid(source_data)</span>

<span class="sd"> Setup a custom percentile method and apply it:</span>

<span class="sd"> &gt;&gt;&gt; p33_3 = OverlapRegridder.create_percentile_method(33.3)</span>
<span class="sd"> &gt;&gt;&gt; regridder = OverlapRegridder(source, target, method=p33_3)</span>
<span class="sd"> &gt;&gt;&gt; regridder = OverlapRegridder(source_grid, target_grid, method=p33_3)</span>
<span class="sd"> &gt;&gt;&gt; regridder.regrid(source_data)</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">_JIT_FUNCTIONS</span> <span class="o">=</span> <span class="p">{</span>
Expand Down
4 changes: 2 additions & 2 deletions _sources/examples-dev/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:01.147** total execution time for 1 file **from examples-dev**:
**00:01.161** total execution time for 1 file **from examples-dev**:

.. container::

Expand All @@ -33,5 +33,5 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples-dev_voronoi.py` (``voronoi.py``)
- 00:01.147
- 00:01.161
- 0.0
2 changes: 1 addition & 1 deletion _sources/examples-dev/voronoi.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ The figure shows:
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 1.147 seconds)
**Total running time of the script:** (0 minutes 1.161 seconds)


.. _sphx_glr_download_examples-dev_voronoi.py:
Expand Down
26 changes: 13 additions & 13 deletions _sources/examples/connectivity.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ By default, the border value for binary erosion is set to ``False`` (equal to
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f512423b6b0>
<matplotlib.collections.PolyCollection object at 0x7fed0d833aa0>
Expand Down Expand Up @@ -165,7 +165,7 @@ start by setting a single value in the center of the grid to ``True``.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f512dff3470>
<matplotlib.collections.PolyCollection object at 0x7fed169dd220>
Expand Down Expand Up @@ -200,7 +200,7 @@ alternative border value:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f51242e7b00>
<matplotlib.collections.PolyCollection object at 0x7fed0c9ed490>
Expand Down Expand Up @@ -238,7 +238,7 @@ analyse connected parts of the mesh.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f5124069b50>
<matplotlib.collections.PolyCollection object at 0x7fed0cbbd220>
Expand Down Expand Up @@ -272,7 +272,7 @@ Tesselation.
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7f51243a50a0>
<matplotlib.collections.LineCollection object at 0x7fed0e80ba70>
Expand Down Expand Up @@ -316,7 +316,7 @@ the original.
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7f5125070500>
<matplotlib.collections.LineCollection object at 0x7fed0ce8b470>
Expand Down Expand Up @@ -355,7 +355,7 @@ We can break down one of the Voronoi tesselations from above into triangles:
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7f5124fb43b0>
<matplotlib.collections.LineCollection object at 0x7fed0cb9d190>
Expand Down Expand Up @@ -409,7 +409,7 @@ the upper and lower parts:
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7f5125332900>
<matplotlib.collections.LineCollection object at 0x7fed0dbc3e60>
Expand Down Expand Up @@ -439,7 +439,7 @@ We can now use Laplace interpolation to fill the gaps in the grid.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f5124d55640>
<matplotlib.collections.PolyCollection object at 0x7fed0cb39370>
Expand Down Expand Up @@ -477,7 +477,7 @@ interpolation.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f5124d1ccb0>
<matplotlib.collections.PolyCollection object at 0x7fed0db2f9b0>
Expand Down Expand Up @@ -518,7 +518,7 @@ To illustrate, let's take a look at the connectivity matrix of the Xoxo grid.
.. code-block:: none
<matplotlib.image.AxesImage object at 0x7f5125330500>
<matplotlib.image.AxesImage object at 0x7fed0d7a0b60>
Expand Down Expand Up @@ -554,14 +554,14 @@ locality:
.. code-block:: none
<matplotlib.image.AxesImage object at 0x7f5125333620>
<matplotlib.image.AxesImage object at 0x7fed16977a10>
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 1.351 seconds)
**Total running time of the script:** (0 minutes 1.395 seconds)


.. _sphx_glr_download_examples_connectivity.py:
Expand Down
10 changes: 5 additions & 5 deletions _sources/examples/overlap_regridder.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ some bathymetry) of the Netherlands, and a coarser target grid.
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7f5124f21c40>
<matplotlib.collections.LineCollection object at 0x7fed0dccecf0>
Expand Down Expand Up @@ -202,7 +202,7 @@ conservative methods, such as conductance:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f512ebb8d40>
<matplotlib.collections.PolyCollection object at 0x7fed0d801580>
Expand Down Expand Up @@ -298,7 +298,7 @@ OverlapRegridder:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f5125e37140>
<matplotlib.collections.PolyCollection object at 0x7fed17715220>
Expand Down Expand Up @@ -373,7 +373,7 @@ Then, provide it as the regridder method as above:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7f51242e7a40>
<matplotlib.collections.PolyCollection object at 0x7fed16992b10>
Expand All @@ -384,7 +384,7 @@ Then, provide it as the regridder method as above:

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 4.057 seconds)
**Total running time of the script:** (0 minutes 4.050 seconds)


.. _sphx_glr_download_examples_overlap_regridder.py:
Expand Down
24 changes: 12 additions & 12 deletions _sources/examples/partitioning.rst.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 43ce120

Please sign in to comment.