-
Notifications
You must be signed in to change notification settings - Fork 37
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
Remove checking against crs valid extent #1076
Conversation
if base_extent is None: | ||
click.echo(f"Layer {layer.name} has no extent in CRS {base_crs}. Skipping.") | ||
return |
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.
Not sure this is a good idea, probably needs testing. Empty products were failing in update ranges though.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop-1.9 #1076 +/- ##
===============================================
+ Coverage 93.28% 93.33% +0.05%
===============================================
Files 53 53
Lines 7039 7032 -7
===============================================
- Hits 6566 6563 -3
+ Misses 473 469 -4
|
projbbox = starting_box.to_crs(crs).boundingbox | ||
result[crsid] = sanitise_bbox(projbbox) | ||
projbbox = starting_box.to_crs(crs).boundingbox | ||
result[crsid] = sanitise_bbox(projbbox) |
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.
I can see issues with this, but with the way WMS is defined I'm not sure we can do better.
Some code here was doing a similar thing to what we fixed in
datacube-core
here: opendatacube/datacube-core#1635📚 Documentation preview 📚: https://datacube-ows--1076.org.readthedocs.build/en/1076/