CFITSIO file writing with checkpointing Nov 30, 2020 • 1 min read astropy I wrote a prototype implementation of writing FITS files in C checkpointing using the FITS flush function so that if the code segfaults, the file is not corrupted, see: https://github.com/zonca/cfitsio_checkpoint_write