Skip to content

Commit

Permalink
Merge 5fbe3bd into a021f19
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer authored Nov 17, 2023
2 parents a021f19 + 5fbe3bd commit 882c4b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ all = [
'geopandas',
'mapbox_earcut',
'matplotlib',
'meshkernel',
'meshkernel >= 3.0.0',
'netcdf4',
'pooch',
'shapely >= 2.0',
Expand Down
2 changes: 1 addition & 1 deletion xugrid/ugrid/ugrid1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def meshkernel(self) -> "mk.MeshKernel": # type: ignore # noqa
import meshkernel as mk

if self._meshkernel is None:
self._meshkernel = mk.MeshKernel(is_geographic=False)
self._meshkernel = mk.MeshKernel(projection=mk.ProjectionType.CARTESIAN)
self._meshkernel.mesh1d_set(self.mesh)
return self._meshkernel

Expand Down
2 changes: 1 addition & 1 deletion xugrid/ugrid/ugrid2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def meshkernel(self) -> "mk.MeshKernel": # type: ignore # noqa
import meshkernel as mk

if self._meshkernel is None:
self._meshkernel = mk.MeshKernel(is_geographic=False)
self._meshkernel = mk.MeshKernel(projection=mk.ProjectionType.CARTESIAN)
self._meshkernel.mesh2d_set(self.mesh)
return self._meshkernel

Expand Down

0 comments on commit 882c4b2

Please sign in to comment.