opendatacube / datacube-stats

Data Cube Temporal Statistic Tools
http://www.ga.gov.au/about/projects/geographic/digital-earth-australia
Other
22 stars 6 forks source link

Continue with computation even if union operation failed #174

Closed Kirill888 closed 5 years ago

Kirill888 commented 5 years ago

datacube-stats computes "valid region" == "union(ds.extent.to_crs(output_crs) for ds in dss)"

This computation can fail for whatever reason, rather than giving up, continue with an assumption that the entire ouptut tile is "valid region", this is really just used as work saving measure, i.e. don't try to load regions that are outside of "available data region" and will have nothing but nodata values there anyway.

codecov[bot] commented 5 years ago

Codecov Report

Merging #174 into master will decrease coverage by 0.02%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage    54.5%   54.48%   -0.03%     
==========================================
  Files          21       21              
  Lines        2407     2410       +3     
==========================================
+ Hits         1312     1313       +1     
- Misses       1095     1097       +2
Impacted Files Coverage Δ
datacube_stats/output_drivers.py 65.41% <33.33%> (-0.27%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c1b94d4...8cc5949. Read the comment docs.