diff --git a/.buildinfo b/.buildinfo index ac0a25c26..8048b087a 100644 --- a/.buildinfo +++ b/.buildinfo @@ -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: 12a7603a2ecbb17c01033bde41b95c23 +config: 8d20069a5ad17e464a276db66857ed03 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.doctrees/changelog.doctree b/.doctrees/changelog.doctree index 8c632fed5..fd606db5d 100644 Binary files a/.doctrees/changelog.doctree and b/.doctrees/changelog.doctree differ diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 077fe54d9..69ef5e67b 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/examples-dev/sg_execution_times.doctree b/.doctrees/examples-dev/sg_execution_times.doctree index 2c7f82560..b22428b5c 100644 Binary files a/.doctrees/examples-dev/sg_execution_times.doctree and b/.doctrees/examples-dev/sg_execution_times.doctree differ diff --git a/.doctrees/examples-dev/voronoi.doctree b/.doctrees/examples-dev/voronoi.doctree index 8e11eb4e0..e0ed2579b 100644 Binary files a/.doctrees/examples-dev/voronoi.doctree and b/.doctrees/examples-dev/voronoi.doctree differ diff --git a/.doctrees/examples/connectivity.doctree b/.doctrees/examples/connectivity.doctree index 19128c960..8603a8b3e 100644 Binary files a/.doctrees/examples/connectivity.doctree and b/.doctrees/examples/connectivity.doctree differ diff --git a/.doctrees/examples/overlap_regridder.doctree b/.doctrees/examples/overlap_regridder.doctree index 1ab44129b..e2da143d8 100644 Binary files a/.doctrees/examples/overlap_regridder.doctree and b/.doctrees/examples/overlap_regridder.doctree differ diff --git a/.doctrees/examples/partitioning.doctree b/.doctrees/examples/partitioning.doctree index bf89cf734..584b213cd 100644 Binary files a/.doctrees/examples/partitioning.doctree and b/.doctrees/examples/partitioning.doctree differ diff --git a/.doctrees/examples/plotting.doctree b/.doctrees/examples/plotting.doctree index 91038299c..92166bb85 100644 Binary files a/.doctrees/examples/plotting.doctree and b/.doctrees/examples/plotting.doctree differ diff --git a/.doctrees/examples/quick_overview.doctree b/.doctrees/examples/quick_overview.doctree index 01f16a326..fb306c84c 100644 Binary files a/.doctrees/examples/quick_overview.doctree and b/.doctrees/examples/quick_overview.doctree differ diff --git a/.doctrees/examples/regridder_overview.doctree b/.doctrees/examples/regridder_overview.doctree index 81fbc0f4c..e7cc320ea 100644 Binary files a/.doctrees/examples/regridder_overview.doctree and b/.doctrees/examples/regridder_overview.doctree differ diff --git a/.doctrees/examples/selection.doctree b/.doctrees/examples/selection.doctree index e3e7d9c47..a4a503bed 100644 Binary files a/.doctrees/examples/selection.doctree and b/.doctrees/examples/selection.doctree differ diff --git a/.doctrees/examples/sg_execution_times.doctree b/.doctrees/examples/sg_execution_times.doctree index 3326c21b3..1deb24d7f 100644 Binary files a/.doctrees/examples/sg_execution_times.doctree and b/.doctrees/examples/sg_execution_times.doctree differ diff --git a/.doctrees/examples/vector_conversion.doctree b/.doctrees/examples/vector_conversion.doctree index adacc9cd1..d0c4a068e 100644 Binary files a/.doctrees/examples/vector_conversion.doctree and b/.doctrees/examples/vector_conversion.doctree differ diff --git a/.doctrees/sample_data/adh_san_diego.doctree b/.doctrees/sample_data/adh_san_diego.doctree index 976ce5e65..b2af6213e 100644 Binary files a/.doctrees/sample_data/adh_san_diego.doctree and b/.doctrees/sample_data/adh_san_diego.doctree differ diff --git a/.doctrees/sample_data/disk.doctree b/.doctrees/sample_data/disk.doctree index 6fd426cc1..99473b0e4 100644 Binary files a/.doctrees/sample_data/disk.doctree and b/.doctrees/sample_data/disk.doctree differ diff --git a/.doctrees/sample_data/elevation_nl.doctree b/.doctrees/sample_data/elevation_nl.doctree index 5e0eae807..7f7cb8b34 100644 Binary files a/.doctrees/sample_data/elevation_nl.doctree and b/.doctrees/sample_data/elevation_nl.doctree differ diff --git a/.doctrees/sample_data/provinces_nl.doctree b/.doctrees/sample_data/provinces_nl.doctree index 9b78ae7f4..76a243133 100644 Binary files a/.doctrees/sample_data/provinces_nl.doctree and b/.doctrees/sample_data/provinces_nl.doctree differ diff --git a/.doctrees/sample_data/sg_execution_times.doctree b/.doctrees/sample_data/sg_execution_times.doctree index cb27b64fc..5d9987e86 100644 Binary files a/.doctrees/sample_data/sg_execution_times.doctree and b/.doctrees/sample_data/sg_execution_times.doctree differ diff --git a/.doctrees/sample_data/xoxo.doctree b/.doctrees/sample_data/xoxo.doctree index 9f2086f82..a30eb7b2c 100644 Binary files a/.doctrees/sample_data/xoxo.doctree and b/.doctrees/sample_data/xoxo.doctree differ diff --git a/_modules/index.html b/_modules/index.html index 8891fac6d..ee1bcb227 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -7,7 +7,7 @@
-<xarray.DataArray 'elevation' (mesh2d_nFaces: 5248)> array([False, False, False, ..., False, False, False]) Coordinates: - * mesh2d_nFaces (mesh2d_nFaces) int64 0 1 2 3 4 ... 5243 5244 5245 5246 5247+ * mesh2d_nFaces (mesh2d_nFaces) int64 0 1 2 3 4 ... 5243 5244 5245 5246 5247
<xarray.Dataset> Dimensions: (mesh2d_nNodes: 217, mesh2d_nFaces: 384, mesh2d_nEdges: 600) Coordinates: - * mesh2d_nEdges (mesh2d_nEdges) int64 0 1 2 3 4 5 ... 594 595 596 597 598 599 * mesh2d_nFaces (mesh2d_nFaces) int64 0 1 2 3 4 5 ... 378 379 380 381 382 383 + * mesh2d_nEdges (mesh2d_nEdges) int64 0 1 2 3 4 5 ... 594 595 596 597 598 599 * mesh2d_nNodes (mesh2d_nNodes) int64 0 1 2 3 4 5 ... 211 212 213 214 215 216 Data variables: node_z (mesh2d_nNodes) float64 1.933 2.091 1.875 ... 5.688 7.491 face_z (mesh2d_nFaces) float64 1.737 1.918 2.269 ... 5.408 6.424 - edge_z (mesh2d_nEdges) float64 1.989 1.875 1.8 ... 3.929 4.909 6.544
PandasIndex(RangeIndex(start=0, stop=384, step=1, name='mesh2d_nFaces'))
PandasIndex(RangeIndex(start=0, stop=600, step=1, name='mesh2d_nEdges'))
PandasIndex(RangeIndex(start=0, stop=217, step=1, name='mesh2d_nNodes'))
<xarray.DataArray (mesh2d_nFaces: 2)> array([1., 2.]) Coordinates: - * mesh2d_nFaces (mesh2d_nFaces) int64 0 1+ * mesh2d_nFaces (mesh2d_nFaces) int64 0 1
<xarray.DataArray (mesh2d_nFaces: 2)> array([11., 12.]) Coordinates: - * mesh2d_nFaces (mesh2d_nFaces) int64 0 1+ * mesh2d_nFaces (mesh2d_nFaces) int64 0 1
<xarray.Dataset> Dimensions: (mesh2d_nNodes: 217, mesh2d_nFaces: 384, mesh2d_nEdges: 600) Coordinates: - * mesh2d_nEdges (mesh2d_nEdges) int64 0 1 2 3 4 5 ... 594 595 596 597 598 599 * mesh2d_nFaces (mesh2d_nFaces) int64 0 1 2 3 4 5 ... 378 379 380 381 382 383 + * mesh2d_nEdges (mesh2d_nEdges) int64 0 1 2 3 4 5 ... 594 595 596 597 598 599 * mesh2d_nNodes (mesh2d_nNodes) int64 0 1 2 3 4 5 ... 211 212 213 214 215 216 Data variables: node_z (mesh2d_nNodes) float64 1.933 2.091 1.875 ... 5.688 7.491 face_z (mesh2d_nFaces) float64 1.737 1.918 2.269 ... 5.408 6.424 - edge_z (mesh2d_nEdges) float64 1.989 1.875 1.8 ... 3.929 4.909 6.544
PandasIndex(RangeIndex(start=0, stop=384, step=1, name='mesh2d_nFaces'))
PandasIndex(RangeIndex(start=0, stop=600, step=1, name='mesh2d_nEdges'))
PandasIndex(RangeIndex(start=0, stop=217, step=1, name='mesh2d_nNodes'))
<xarray.Dataset> Dimensions: () Data variables: - *empty*+ *empty*
[5248 values with dtype=float64]
[5248 values with dtype=float64]
array([1, 2, 3, 4, 5])
array([ 0, 1, 2, ..., 5245, 5246, 5247])
PandasIndex(Index([1, 2, 3, 4, 5], dtype='int64', name='layer'))
PandasIndex(RangeIndex(start=0, stop=5248, step=1, name='mesh2d_nFaces'))
PandasIndex(Index([1, 2, 3, 4, 5], dtype='int64', name='layer'))
PandasIndex(RangeIndex(start=0, stop=98, step=1, name='mesh2d_nFaces'))
array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11.])
PandasIndex(Index([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0], dtype='float64', name='id'))
xugrid.UgridDataArrayAccessor.reindex_like()
will now take the tolerance
argument into account before sorting. In the past, near ties could be resolved
differently between otherwise similar grid topologies due to roundoff.
xugrid.UgridDataArrayAccessor.laplace_interpolate()
now also supports
interpolation of node associated data, and Ugrid1d topologies.
xugrid.UgridDataArrayAccessor.laplace_interpolate()
no longer uses scipy’s
ILU decomposition as a preconditioner. A simpler and more effective preconditioner
@@ -730,10 +730,10 @@
Initialize Meshkernel with a spherical projection if the coordinate reference system (crs) is geographic.
Support for Meshkernel 3 (#171). Initialize Meshkernel with defaults, setting it to cartesian projection.
xugrid.Ugrid2d.to_nonperiodic()
,
xugrid.UgridDataArrayAccessor.to_nonperiodic()
and
@@ -774,15 +774,15 @@
UGRID 2D topologies are no longer automatically forced in counterclockwise orientation during initialization.
Using an index which only reorders but does not change the size in
xugrid.Ugrid1d.topology_subset()
or
@@ -794,10 +794,10 @@
xugrid.Ugrid2d.intersect_line()
,
xugrid.Ugrid2d.intersect_linestring()
@@ -808,8 +808,8 @@
Selection operations along a line, or at point locations, will now prefix the name of the grid in the x and y coordinates. This avoids name collisions when @@ -819,8 +819,8 @@
xugrid.UgridDatasetAccessor.sel()
would return only a single grid
topology even when the selection subject contains more than one grid. It now
@@ -828,20 +828,20 @@
Bug in xugrid.snap_to_grid()
, which caused an IndexError
.
See #122.
Added xugrid.burn_vector_geometries()
to burn vector geometries in the
form of geopandas GeoDataFrames into a Ugrid2d topology.
xugrid.CentroidLocatorRegridder
, xugrid.OverlapRegridder
,
and xugrid.BarycentricInterpolator
will now also regrid structured
@@ -884,8 +884,8 @@
Initializing a Ugrid2d topology with an invalid edge_node_connectivity will no longer raise an error.
Computing indexer to avoid dask array of unknown shape upon plotting. See #117.
Fillvalue was not properly replaced in cast. See #113.
xugrid.Ugrid2d.label_partitions()
, xugrid.Ugrid2d.partition()
,
xugrid.Ugrid2d.merge_partitions()
have been added to partition and merge
@@ -944,8 +944,8 @@
xugrid.Ugrid1d.contract_vertices()
has been added.
Regridding structured grids now throws error if computed weights < 0.0 or > 1.0, before these weights were clipped to 0.0 and 1.0 respectively.
xugrid.BarycentricInterpolator
,
xugrid.CentroidLocatorRegridder
, xugrid.OverlapRegridder
,
@@ -977,10 +977,10 @@
xugrid.Ugrid2d.tesselate_centroidal_voronoi()
and
xugrid.Ugrid2d.tesselate_circumcenter_voronoi()
will only include
@@ -992,8 +992,8 @@
geopandas
was missing in the environment.xugrid.Ugrid2d.sel_points()
and
xugrid.UgridDataArrayAccessor.sel_points()
now return a result with an
@@ -1006,8 +1006,8 @@
xugrid.Ugrid2d.tesselate_circumcenter_voronoi()
has been added to
provide orthogonal voronoi cells for triangular grids.
pygeos
has been replaced by shapely >= 2.0
.
xugrid.snap_to_grid()
will now return a UgridDataset and a geopandas
@@ -1047,18 +1047,18 @@
xugrid.Ugrid2d.tesselate_circumcenter_voronoi()
has been added to
provide orthogonal voronoi cells for triangular grids.
xugrid.open_dataarray()
will now return xugrid.UgridDataArray
instead of only an xarray DataArray without topology.
Several regridding methods have been added for face associated data:
xugrid.BarycentricInterpolator
have been added to interpolate
@@ -1085,10 +1085,10 @@
xugrid.Ugrid1d.topology_subset()
,
xugrid.Ugrid2d.topology_subset()
, and therefore also
@@ -1110,8 +1110,8 @@
Forwarding to the internal xarray object is now setup at class definition of
UgridDataArray
and UgridDataset
rather than at runtime.
@@ -1137,8 +1137,8 @@
xugrid.Ugrid1d
and xugrid.Ugrid2d
can now be initialized
with an attrs
argument to setup non-default UGRID attributes such as
@@ -1158,28 +1158,28 @@
Move matplotlib import into a function body so matplotlib remains an optional dependency.
Warn instead of error when the UGRID attributes indicate a set of coordinate that are not present in the dataset.
Use pyproject.toml for setuptools instead of setup.cfg.
xugrid.Ugrid1d.edge_bounds
has been added to get the bounds
for every edge contained in the grid.
xugrid.UgridDataArray.from_structured()
will no longer result in
a flipped grid when the structured coordintes are not ascending.
The setitem method of xugrid.UgridDataset
has been updated to check
the dimensions of grids rather than the dimensions of objects to decide
@@ -1222,25 +1222,25 @@
list
and dict
type annotations have been replaced with List
and Dict
from the typing module to support older versions of Python (<3.9).
The inplace
argument has been removed from xugrid.Ugrid1d.to_crs()
and xugrid.Ugrid2d.to_crs()
; A copy is returned when the CRS is already
as requested.
xugrid.UgridDataArrayAccessor.set_crs()
has been added to set the CRS.
xugrid.UgridDataArrayAccessor.to_crs()
has been added to reproject the
@@ -1259,18 +1259,18 @@
A start_index
of 1 in connectivity arrays is handled and will no longer
result in indexing errors.
levels
argument is now respected in line and pcolormesh plotting methods.
UGRID variables are now extracted via xugrid.UgridRolesAccessor
to
allow for multiple UGRID topologies in a single dataset.
xugrid.UgridRolesAccessor
has been added to extract UGRID variables
from xarray Datasets.