EOA-team / eodal

Earth Observation Data Analysis Library
https://eodal.readthedocs.io/en/latest/
GNU General Public License v3.0
93 stars 15 forks source link

Generation of binary masks from Landsat and Sentinel-2 scenes #88

Closed lukasValentin closed 1 year ago

lukasValentin commented 1 year ago

The way binary masks (e.g., for clouds) has been improved and harmonized for Landsat and Sentinel-2 scenes. The method get_cloud_and_shadow_mask can now be used for Landsat and Sentinel-2 instances to obtain a binary, boolean cloud mask.

codecov[bot] commented 1 year ago

Codecov Report

Merging #88 (ed5aede) into master (3796df3) will increase coverage by 0.20%. The diff coverage is 63.88%.

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   57.58%   57.78%   +0.20%     
==========================================
  Files          68       68              
  Lines        5300     5323      +23     
  Branches     1063     1068       +5     
==========================================
+ Hits         3052     3076      +24     
+ Misses       1943     1937       -6     
- Partials      305      310       +5     
Flag Coverage Δ
unittests 57.78% <63.88%> (+0.20%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
eodal/core/sensors/sentinel2.py 61.92% <55.55%> (-0.23%) :arrow_down:
eodal/core/sensors/landsat.py 73.84% <66.66%> (+3.52%) :arrow_up:

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!