marpet
2
Hi,
simple things first. You can simplify the reading of the product.
reader500 = snappy.ProductIO.readProduct(in_file, 'Sen3_SLSTRL1B_500m')
I think this will work.
Regarding the memory issue. You can configure how much memory can be used. Please see this post: