Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions pygmt/src/triangulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class triangulate: # noqa: N801
@use_alias(
I="spacing",
R="region",
V="verbose",
b="binary",
d="nodata",
e="find",
Expand All @@ -72,6 +71,10 @@ def regular_grid(
z=None,
outgrid: PathLike | None = None,
projection=None,
verbose: Literal[
"quiet", "error", "warning", "timing", "info", "compat", "debug"
]
| bool = False,
**kwargs,
) -> xr.DataArray | None:
"""
Expand Down Expand Up @@ -99,6 +102,7 @@ def regular_grid(

{aliases}
- J = projection
- V = verbose

Parameters
----------
Expand Down Expand Up @@ -145,6 +149,7 @@ def regular_grid(
"""
aliasdict = AliasSystem().add_common(
J=projection,
V=verbose,
)
aliasdict.merge(kwargs)

Expand All @@ -166,7 +171,6 @@ def regular_grid(
@use_alias(
I="spacing",
R="region",
V="verbose",
b="binary",
d="nodata",
e="find",
Expand All @@ -187,6 +191,10 @@ def delaunay_triples(
output_type: Literal["pandas", "numpy", "file"] = "pandas",
outfile: PathLike | None = None,
projection=None,
verbose: Literal[
"quiet", "error", "warning", "timing", "info", "compat", "debug"
]
| bool = False,
**kwargs,
) -> pd.DataFrame | np.ndarray | None:
"""
Expand All @@ -207,6 +215,7 @@ def delaunay_triples(

{aliases}
- J = projection
- V = verbose

Parameters
----------
Expand Down Expand Up @@ -251,6 +260,7 @@ def delaunay_triples(

aliasdict = AliasSystem().add_common(
J=projection,
V=verbose,
)
aliasdict.merge(kwargs)

Expand Down
Loading