Skip to content

Commit

Permalink
deploy: 7f3a570
Browse files Browse the repository at this point in the history
  • Loading branch information
JoerivanEngelen committed Feb 13, 2024
1 parent 0c1cfd0 commit bed0511
Show file tree
Hide file tree
Showing 65 changed files with 479 additions and 368 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d4701ddec579109ca76b9cbeb78633cf
config: 432cb801f0e547906ef959d0a10cf09d
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/api/xugrid.Ugrid1d.doctree
Binary file not shown.
Binary file modified .doctrees/api/xugrid.Ugrid2d.doctree
Binary file not shown.
Binary file modified .doctrees/changelog.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/provinces_nl.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/sg_execution_times.doctree
Binary file not shown.
Binary file modified .doctrees/sample_data/xoxo.doctree
Binary file not shown.
177 changes: 120 additions & 57 deletions _modules/xugrid/ugrid/partitioning.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions _modules/xugrid/ugrid/ugrid2d.html
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,16 @@ <h1>Source code for xugrid.ugrid.ugrid2d</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="o">.</span><span class="n">face_dimension</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">n_face</span><span class="p">,</span>
<span class="p">}</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">max_face_node_dimension</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_attrs</span><span class="p">[</span><span class="s2">&quot;max_face_nodes_dimension&quot;</span><span class="p">]</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">max_connectivity_dimensions</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">return</span> <span class="p">{</span>
<span class="bp">self</span><span class="o">.</span><span class="n">max_face_node_dimension</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">n_max_node_per_face</span><span class="p">,</span>
<span class="p">}</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">topology_dimension</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Highest dimensionality of the geometric elements: 2&quot;&quot;&quot;</span>
Expand Down
2 changes: 2 additions & 0 deletions _sources/api/xugrid.Ugrid1d.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
~Ugrid1d.edge_x
~Ugrid1d.edge_y
~Ugrid1d.is_geographic
~Ugrid1d.max_connectivity_dimensions
~Ugrid1d.mesh
~Ugrid1d.meshkernel
~Ugrid1d.n_edge
Expand All @@ -73,6 +74,7 @@
~Ugrid1d.node_dimension
~Ugrid1d.node_edge_connectivity
~Ugrid1d.node_node_connectivity
~Ugrid1d.sizes
~Ugrid1d.topology_dimension


3 changes: 3 additions & 0 deletions _sources/api/xugrid.Ugrid2d.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
~Ugrid2d.face_x
~Ugrid2d.face_y
~Ugrid2d.is_geographic
~Ugrid2d.max_connectivity_dimensions
~Ugrid2d.max_face_node_dimension
~Ugrid2d.mesh
~Ugrid2d.meshkernel
~Ugrid2d.n_edge
Expand All @@ -116,6 +118,7 @@
~Ugrid2d.node_face_connectivity
~Ugrid2d.node_node_connectivity
~Ugrid2d.perimeter
~Ugrid2d.sizes
~Ugrid2d.topology_dimension
~Ugrid2d.triangulation
~Ugrid2d.voronoi_topology
Expand Down
9 changes: 9 additions & 0 deletions _sources/changelog.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Fixed
copies).
- Fixed bug in :meth:`xugrid.Ugrid1d.merge_partitions`, which caused
``ValueError: indexes must be provided for attrs``.
- :func:`xugrid.merge_partitions` merges partitions with grids not contained in
other partitions.

Added
~~~~~
Expand All @@ -31,12 +33,19 @@ Added
UGRID topologies from "intervals": the (M + 1, N + 1) vertex coordinates for N faces.
- :meth:`xugrid.UgridDataArrayAccessor.from_structured` now takes ``x`` and ``y``
arguments to specify which coordinates to use as the UGRID x and y coordinates.
- :attr:`xugrid.UgridDataset.sizes` as an alternative to :attr:`xugrid.UgridDataset.dimensions`
- :attr:`xugrid.Ugrid2d.max_face_node_dimension` which returns the dimension
name designating nodes per face.
- :attr:`xugrid.AbstractUgrid.max_connectivity_dimensions` which returns all
maximum connectivity dimensions and their corresponding size.

Changed
~~~~~~~

- :meth:`xugrid.Ugrid2d.from_structured` now takes ``x`` and ``y`` arguments instead
of ``x_bounds`` and ``y_bounds`` arguments.
- :func:`xugrid.merge_partitions` allows merging partitions with different grids
per partition.

[0.8.1] 2024-01-19
------------------
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,8 +6,8 @@

Computation times
=================
**00:01.347** total execution time for **examples-dev** files:
**00:01.146** total execution time for **examples-dev** files:

+----------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples-dev_voronoi.py` (``voronoi.py``) | 00:01.347 | 0.0 MB |
| :ref:`sphx_glr_examples-dev_voronoi.py` (``voronoi.py``) | 00:01.146 | 0.0 MB |
+----------------------------------------------------------+-----------+--------+
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.347 seconds)
**Total running time of the script:** (0 minutes 1.146 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 0x7fa3cb214950>
<matplotlib.collections.PolyCollection object at 0x7f9d39c68190>
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 0x7fa3cb4d56d0>
<matplotlib.collections.PolyCollection object at 0x7f9d39c65810>
Expand Down Expand Up @@ -200,7 +200,7 @@ alternative border value:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3d3f920d0>
<matplotlib.collections.PolyCollection object at 0x7f9d3ae0d810>
Expand Down Expand Up @@ -238,7 +238,7 @@ analyse connected parts of the mesh.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3cb34cd50>
<matplotlib.collections.PolyCollection object at 0x7f9d3af8d550>
Expand Down Expand Up @@ -272,7 +272,7 @@ Tesselation.
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7fa3cb326290>
<matplotlib.collections.LineCollection object at 0x7f9d3ba92190>
Expand Down Expand Up @@ -316,7 +316,7 @@ the original.
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7fa3cb4a4390>
<matplotlib.collections.LineCollection object at 0x7f9d3af23d10>
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 0x7fa3ca968f90>
<matplotlib.collections.LineCollection object at 0x7f9d45f0bd10>
Expand Down Expand Up @@ -409,7 +409,7 @@ the upper and lower parts:
.. code-block:: none
<matplotlib.collections.LineCollection object at 0x7fa3d5feaf10>
<matplotlib.collections.LineCollection object at 0x7f9d3a59c710>
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 0x7fa3cb1dd6d0>
<matplotlib.collections.PolyCollection object at 0x7f9d39b25810>
Expand Down Expand Up @@ -477,7 +477,7 @@ interpolation.
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3cb28ac10>
<matplotlib.collections.PolyCollection object at 0x7f9d3aa7c210>
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 0x7fa3ca9b5a10>
<matplotlib.image.AxesImage object at 0x7f9d3a5dbcd0>
Expand Down Expand Up @@ -554,14 +554,14 @@ locality:
.. code-block:: none
<matplotlib.image.AxesImage object at 0x7fa3cad86010>
<matplotlib.image.AxesImage object at 0x7f9d45f64810>
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 1.608 seconds)
**Total running time of the script:** (0 minutes 1.719 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 0x7fa3c9f03cd0>
<matplotlib.collections.LineCollection object at 0x7f9d3a73bd10>
Expand Down Expand Up @@ -202,7 +202,7 @@ conservative methods, such as conductance:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3d3f49590>
<matplotlib.collections.PolyCollection object at 0x7f9d470022d0>
Expand Down Expand Up @@ -280,7 +280,7 @@ To use our custom method, we provide at initialization of the OverlapRegridder:
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3cb30d090>
<matplotlib.collections.PolyCollection object at 0x7f9d3b1b3810>
Expand Down Expand Up @@ -320,7 +320,7 @@ function can deal with NaN values! -- hence ``nanpercentile`` rather than
.. code-block:: none
<matplotlib.collections.PolyCollection object at 0x7fa3d747b6d0>
<matplotlib.collections.PolyCollection object at 0x7f9d45b8d810>
Expand All @@ -331,7 +331,7 @@ function can deal with NaN values! -- hence ``nanpercentile`` rather than

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

**Total running time of the script:** (0 minutes 4.047 seconds)
**Total running time of the script:** (0 minutes 4.036 seconds)


.. _sphx_glr_download_examples_overlap_regridder.py:
Expand Down
Loading

0 comments on commit bed0511

Please sign in to comment.