Remote-sensing opensource python library reading optical and SAR sensors, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
When you open a product with the method Reader().open(...), you have to delete the product at the end.
Otherwise, if your program open a lot of products, you can have a space problem.
With a context manager, you can have a clearer code without a try finally statement.
When you open a product with the method
Reader().open(...)
, you have to delete the product at the end. Otherwise, if your program open a lot of products, you can have a space problem.With a context manager, you can have a clearer code without a
try finally
statement.