-
Notifications
You must be signed in to change notification settings - Fork 224
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
Add a test for xarray shading #581
Conversation
Weird, can you try with |
No changes at all. |
In #364 (comment), I mentioned that shading works well for 6.1.0, but now no shading at all, and sometimes crashes. |
Possible regression in GMT? 🤦 Hold on, let me try this branch. |
Yes, that's possible. There are some bigger changes in dealing with matrix grids in 6.1.1. |
Yes, I can confirm this locally. Also get an whitened image sometimes (compared to your darker one). Next thing I would try is with the GMT_IS_DUPLICATE/GMT_IS_REFERENCE settings. |
The test won't pass unless the upstream GMT fixes the bug. Maybe we can mark the test as "xfail" and merge it? |
Do we know what's wrong here (since 6.1.0 works)? I'm ok with using xfail, but please remove "Fixes #364." from the top post first. |
There are a lot of GMT API changes in GMT 6.1.1. These changes fix some crashes and issues, but unfortunately, break the grid shading. We may file another bug report to GMT later, and hopefully, it can be fixed again in GMT 6.2.0. |
Can we take this PR out of draft mode @seisman? It looks ready for review/approval, the Windows test failure is just that random one that occasionally breaks. |
Description of proposed changes
This PR adds a test checking if grid shading works for xarray.
It may work for GMT 6.1.0, but unfortunately, it doesn't work for GMT 6.1.1.
Tried to address #364 but failed.
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.