Hey!
I’ve noticed a possible issue in the writing code of the ProductIO class.
The code iterates over all bands and fully writes each to disk.
This is okay when all bands are independent, but for GPF operators which implement the computeTileStack
method this is not good.
If now the ProductIO requests the data tiles for one band, the data for all bands is requested and put into the cache. It can happen that the data doesn’t fit into the cache and for the next band which shall be written all data must be computed again.
It would be better the writing code would first iterate over the tiles and then write each band tile data.
Also, I noticed that the JAI tile cache is still set to 1GB by default. I think it would be good to increase it.