The paper referee has pointed out that the memmap feature in astropy.io.fits also works for writing files, so in principle tools like assemble_chunks which try to hold a whole cube in memory before writing may be able to be made more efficient. This will require some investigation to see if the memory footprint can be reduced by writing cubes in pieces.
The paper referee has pointed out that the memmap feature in astropy.io.fits also works for writing files, so in principle tools like assemble_chunks which try to hold a whole cube in memory before writing may be able to be made more efficient. This will require some investigation to see if the memory footprint can be reduced by writing cubes in pieces.