Skip to content
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 tests for Sentinel 2 products, limited WKT support #32

Merged
merged 5 commits into from
Sep 20, 2018
Merged

Add tests for Sentinel 2 products, limited WKT support #32

merged 5 commits into from
Sep 20, 2018

Conversation

jeremyh
Copy link
Collaborator

@jeremyh jeremyh commented Sep 20, 2018

This is not complete WKT support, but most CRSes defined as WKTs we've seen end with an AUTHORITY[] section containing their EPSG code. This adds a simple fallback that extracts this EPSG code using a regexp if it exists.

It's enough for Sentinel product support, and tests are included for the current Sentinel Level1 and ARD products.

See #30 for full WKT support.

#30

(Fixes previous S2 data tests)
It's too slow and we're not using it in the short term.
@coveralls
Copy link

coveralls commented Sep 20, 2018

Pull Request Test Coverage Report for Build 286

  • 20 of 22 (90.91%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 88.988%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cubedash/summary/_extents.py 19 21 90.48%
Totals Coverage Status
Change from base Build 280: 0.01%
Covered Lines: 1301
Relevant Lines: 1462

💛 - Coveralls

@jeremyh jeremyh merged commit 48c8e9d into opendatacube:develop Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants