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

Mask by feature should not change dtype #155

Closed uchchwhash closed 6 years ago

uchchwhash commented 6 years ago

When tasks are feature-based, we mask out data outside the feature. This masking converts the data to float, which is often unwanted.

codecov-io commented 6 years ago

Codecov Report

Merging #155 into master will decrease coverage by 0.25%. The diff coverage is 7.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage    53.1%   52.85%   -0.26%     
==========================================
  Files          16       16              
  Lines        2365     2380      +15     
==========================================
+ Hits         1256     1258       +2     
- Misses       1109     1122      +13
Impacted Files Coverage Δ
datacube_stats/utils/__init__.py 39.19% <0%> (-0.6%) :arrow_down:
datacube_stats/utils/tide_utility.py 12.42% <0%> (-0.08%) :arrow_down:
datacube_stats/main.py 39.91% <8.57%> (-0.52%) :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 46d5504...6017464. Read the comment docs.