-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix issues with unwrapping longitudes in RangeXY stream #756
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #756 +/- ##
==========================================
+ Coverage 67.40% 69.30% +1.90%
==========================================
Files 45 45
Lines 4669 4721 +52
==========================================
+ Hits 3147 3272 +125
+ Misses 1522 1449 -73 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
I'm starting to think #722 wasn't the right solution because if the data extents are global from I think we need to either warn and project the lons to -180 to 180 or raise an error mentioning that data must be from -180 to 180 for operations to work properly, i.e. ds["lon"] = (ds["lon"] + 180) % 360 - 180
ds = ds.sortby("lon") Separately, there seems to be some padding with the x0/x1:
|
Actually, if we extend the range from -180 to 540, it seems to work as expected: Screen.Recording.2024-10-16.at.10.38.58.AM.movScreen.Recording.2024-10-16.at.10.45.50.AM.mov |
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.
Can you add test cases for all the cases you have tested locally so we don't get any regressions?
If needed, I can set up UI tests.
Yes can you help me set up ui tests or show me a reference? |
1 similar comment
Yes can you help me set up ui tests or show me a reference? |
I have opened a PR with the infrastructure here: #760. I will also try to fix the CI in it and then merge it. |
Any ideas how to make test-core skip UI? |
fb25069
to
b1c252a
Compare
Pushed some updates. I think the main problem was no Also moved rasterize import into the function, so it does not fail when collecting test on core. |
Looking at the logs it is likely you need to add cartopy naturalearth download to scripts/download_data.py. https://github.com/holoviz/geoviews/actions/runs/11973974023/job/33384069933?pr=756#step:3:926 edit: did this in dd72524 |
dd72524
to
81ba4db
Compare
Have you seen this before?
|
:) Thanks for the assist. |
This PR introduced two separate issues: #722
Fixes #753