This bug is in rather a niche use case but when using the “mosaicing” tool to mosaic some S2 tiles (T30VVH, T30VVH, T30VWH) and output as NetCDF4-CF it runs fine and completes but the created file is corrupted and cannot be opened.
The inputs have already been through S2_Resample (20m) and then C2RCC_MSI (C2X) and saved after this step before mosaic.
The glitch only occurs when the pixel size is reduced to 20m it will run and open at 100m pixel size (maybe something to do with the increased pixel count/file size?).
It runs just fine if you change the output format to BEAM.DIM but equally you can then open that file and then save again as NetCDF4-CF and it will open just fine.
OS Ubuntu 20.04.1 LTS
Below parameters fails as NetCDF4-CF works fine in other formats BEAM.DIM, HDF5
etcparameters_mosaic.txt (1.4 KB)