multiwriter incompatible with automatic-adaptative-streaming
The following function cannot work proprely:
multi_writer->SetAutomaticAdaptativeStreaming(availableRAM)
The reason is here https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/IO/ImageIO/src/otbMultiImageFileWriter.cxx#L406
m_StreamingManager->GetSplitter()->GetSplit(m_CurrentDivision, m_NumberOfDivisions, region);
requests a custom split, but it is not supported by this steaming manager: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.hxx#L55
GetSplit(unsigned int i, unsigned int itkNotUsed(numberOfPieces) ...
The result is images half-written as the number of divisions is not consistent.