Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax the need for -R in grdproject #8286

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Relax the need for -R in grdproject #8286

merged 1 commit into from
Jan 12, 2024

Conversation

PaulWessel
Copy link
Member

It used to be that way but in pursuit of a bug we added the requirement to grdproject that -R be set if -J was given a size. This resulted in a global grid (-180/180/-90/90) given -JH10c gave the final grid wesn as 0/10/-5/5 and no longer geographic, but that is not really our business. I have removed that check and should no longer bother anyone. All tests pass now, including the examples posted.

gmt grdproject @earth_relief_01d_g -JH10c -Gtmp.nc

It used to be that way but in pursuit of a bug we added the requirement that -R be set if -J was given.  This resulted in -180/180/-90/90 with -JH10c giving grid wesn as 0/10/-5/5 and no longer geographic, but that is not really our business.  I have removed that check and should no longer bother anyone. All tests pass now, including the examples posted.
@PaulWessel PaulWessel added the deprecation Deprecating a feature label Jan 12, 2024
@PaulWessel PaulWessel added this to the 6.6.0 milestone Jan 12, 2024
@PaulWessel PaulWessel self-assigned this Jan 12, 2024
@PaulWessel PaulWessel merged commit 95b1ced into master Jan 12, 2024
6 checks passed
@PaulWessel PaulWessel deleted the grdproject-region branch January 12, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Deprecating a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants