We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5836af2 commit 0d7f0abCopy full SHA for 0d7f0ab
pygmt/src/grdproject.py
@@ -116,8 +116,8 @@ def grdproject(
116
>>> # Project the geographic gridded data onto a rectangular grid
117
>>> new_grid = pygmt.grdproject(grid=grid, projection="M10c", region=region)
118
"""
119
- if projection is None:
120
- msg = "The projection must be specified."
+ if kwargs.get("J", projection) is None:
+ msg = "Parameter 'projection' must be specified."
121
raise GMTInvalidInput(msg)
122
123
aliasdict = AliasSystem().add_common(
0 commit comments