cmosig / sentle

Sentinel-1 & Sentinel-2 data cubes at large scale (bigger-than-memory) on any machine with integrated cloud detection, snow masking, harmonization, merging, and temporal composites.
MIT License
23 stars 2 forks source link

suppress divide by zero warning with snow mask generation #21

Closed cmosig closed 1 month ago

cmosig commented 3 months ago

simple warning suppress

[/net/home/cmosig/projects/sentle/sentle/snow_mask.py:22](http://localhost:8888/net/home/cmosig/projects/sentle/sentle/snow_mask.py#line=21): RuntimeWarning: divide by zero encountered in divide
  NDSI = (G - S1) [/](http://localhost:8888/) (G + S1)