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
22 stars 2 forks source link

crash when `S1_assets` is set to empty list instead of `None` #22

Closed cmosig closed 1 month ago

cmosig commented 2 months ago

Some users set S1_assets to an empty list instead of None leading the package to crash. Solution is to simply catch an empty list and set it parameter internally to None.