pytroll / fogpy

Satellite based fog and low stratus detection and nowcasting
http://fogpy.readthedocs.io/en/latest
GNU General Public License v3.0
20 stars 10 forks source link

Change masking, invert flagging #71

Closed gerritholl closed 4 years ago

gerritholl commented 4 years ago

Change the meaning of the mask from "fog" to "no fog" so that only the fog is visualised and not only the "no fog". Change the fill value from 9000 to np.nan so that the default stretching is still done well. Disable the botched attempt at "manual" stretching in a fogpy-specific enhancement for now.

Fixes #70.

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1f82e46). Click here to learn what that means. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #71   +/-   ##
=========================================
  Coverage          ?   68.60%           
=========================================
  Files             ?       15           
  Lines             ?     3816           
  Branches          ?        0           
=========================================
  Hits              ?     2618           
  Misses            ?     1198           
  Partials          ?        0           
Impacted Files Coverage Δ
fogpy/composites.py 98.93% <100.00%> (ø)
fogpy/test/test_composites.py 100.00% <100.00%> (ø)
fogpy/utils/export_synop.py 0.00% <0.00%> (ø)
fogpy/__init__.py 100.00% <0.00%> (ø)
fogpy/test/__init__.py 44.44% <0.00%> (ø)
fogpy/test/test_filters.py 92.43% <0.00%> (ø)
fogpy/utils/add_synop.py 0.00% <0.00%> (ø)
fogpy/utils/import_synop.py 6.31% <0.00%> (ø)
fogpy/lowwatercloud.py 87.41% <0.00%> (ø)
... and 7 more

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 1f82e46...fdb20c3. Read the comment docs.