-
Notifications
You must be signed in to change notification settings - Fork 220
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
Ensure plotting xarray grids with different central meridians work on some projections #560
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d4282d0
Revert runfirst workaround for test_grdimage_over_dateline
weiji14 d6ce55e
Merge branch 'master' into test/central_meridians
weiji14 a302be6
Revert grdtrack example workaround in #531 crashing due to bad meridian
weiji14 d1f7df6
Merge branch 'master' into test/central_meridians
weiji14 1caaac4
Remove unneeded pytest mpl_image_compare and runfirst markers
weiji14 840fe6b
Merge branch 'master' into test/central_meridians
weiji14 0d702fd
Test different central meridians and projection system
weiji14 b83ddbf
Improve tests on different central meridians and standard parallels
weiji14 e7e51f3
Merge branch 'master' into test/central_meridians
weiji14 af0cc0a
Test using General Stereographic (S) instead of Transverse Mercator (T)
weiji14 c26d7a2
Silence pylint complaints on ALLOWED_CHARS & KEYWORD_ONLY variable names
weiji14 4d7d545
Mention fullname of projections in test_grdimage_central_meridians* docs
weiji14 ad432e5
Merge branch 'master' into test/central_meridians
weiji14 0134272
Add result_images folder to gitignore and make clean list
weiji14 f228e5c
Expect some failures on Cylindrical Equidistant (Q) plots
weiji14 406f847
Merge branch 'master' into test/central_meridians
weiji14 b3e063a
Fix doctest failures on helpers/testing.py
weiji14 8f14fe2
Merge branch 'master' into test/central_meridians
weiji14 0516b06
Initialize fig_ref and fig_test on one line instead of two
weiji14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
xfail
(again) to temporarily allow the Cylindrical Equidistant (Q) tests to pass (instructions at https://docs.pytest.org/en/latest/skipping.html#skip-xfail-with-parametrize). Note that there are **2xpass
**es (because not all projections are wrong), and 4 xfails.Also, I've set the RMS tolerance to 1.5 to allow the General Stereographic (S) projection tests to pass, for reference, here are the plot diffs (along the Greenwich Meridian):