Skip to content

Update GMT caches for testings #4004

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

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Update GMT caches for testings #4004

merged 1 commit into from
Aug 20, 2020

Conversation

seisman
Copy link
Member

@seisman seisman commented Aug 20, 2020

This PR improves the CI step to cache GMT remote files. It should fixes the weird failures in #3982.

@seisman seisman added the backport 6.1 Backport this PR to 6.1 branch label Aug 20, 2020
@seisman seisman requested a review from PaulWessel August 20, 2020 19:12
@seisman seisman merged commit d16fc6e into master Aug 20, 2020
@seisman seisman deleted the ci-cache branch August 20, 2020 19:51
github-actions bot pushed a commit that referenced this pull request Aug 20, 2020
seisman added a commit that referenced this pull request Aug 20, 2020
PaulWessel added a commit that referenced this pull request Sep 22, 2021
As a way to debug and implement subsets of images, I am letting grdcut -I get the ability to cut a subset out of an image.  This also makes it easier to debug this feature which is still not working in GMT (and affects grdimage, for instance, where the entire image must be read in).  Derives bits and pieces from stalled PR #4004.
PaulWessel added a commit that referenced this pull request Sep 28, 2021
* WIP Let grdcut -I operate on images

As a way to debug and implement subsets of images, I am letting grdcut -I get the ability to cut a subset out of an image.  This also makes it easier to debug this feature which is still not working in GMT (and affects grdimage, for instance, where the entire image must be read in).  Derives bits and pieces from stalled PR #4004.

* Handle i->colormap as columns

* Update gmt_gdalread.c

* set no pad

* Finalize

* Remove -I and let grdcut figure out if it is an image instead

* Make sure we update "grid" type after reading image

* Implement west/west reading if straddling boundary

* Allow -S -F as well for images

* Update grdcut.c

* Update grdcut.c

* Better comments and add gmt_gdalread: to print statements

* Fix depadding in gmt_gdalwrite

* Update gmt_support.c

* Also unpack colors for pattern fills

* Want no subset of image here

* Update grdimage.c

* Finalize metadata explorer

* Improve BC handling for images

* BC stuff

* Use the data BC for images

* A few more things

* Update grdimage.c

* Update gmt_support.c

* Update gmt_gdalwrite.c

Minor initializations etc

* Update grdcut.c

Needed to turn on data padding in grdcut.

* Fix bad rounding

Better use irint to get nearest integer than rely on adding noise and cast to int.

* Update 3 PS files

* Update gmt_gdalread.c

* Better determination of tiff images

Add to gmt_raster_type since also needed in grdcut.

* Add extra test

Test based on Federico's Caribbean case plus a similar one straddling 180.  Passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 6.1 Backport this PR to 6.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants