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

WIP: pygmt.grdcut: Support both grids and images #3115

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

seisman
Copy link
Member

@seisman seisman commented Mar 17, 2024

PR #2398 works well for storing output 2-D grid in virtual files, but doesn't work for output images. This PR is an initial try to make PR #2398 support images without too much efforts.

Ideally, we should wrap the GMT_IMAGE data structure, which may take more time.

pygmt/src/grdcut.py Outdated Show resolved Hide resolved
pygmt/clib/session.py Outdated Show resolved Hide resolved
pygmt/src/grdcut.py Outdated Show resolved Hide resolved
@seisman seisman changed the title WIP: Initial try to support raster images using temporary files WIP: pygmt.grdcut: Support both grids and images Mar 27, 2024
@seisman seisman force-pushed the datatypes/gmtgrid branch 3 times, most recently from d8f1160 to d0517e0 Compare April 1, 2024 07:11
@seisman seisman changed the base branch from datatypes/gmtgrid to main April 1, 2024 11:32
@seisman seisman added the enhancement Improving an existing feature label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants