I'm seeing partially written raw files in my calibration production runs. This is almost certainly happening when the slurm job at NERSC ends while the raw FITS files are being written by CcdReadout.write_raw_file. I'm posting this issue as a reminder to make that write more atomic by having the code write to a temp file first, then moving that to the target filename.
I'm seeing partially written raw files in my calibration production runs. This is almost certainly happening when the slurm job at NERSC ends while the raw FITS files are being written by
CcdReadout.write_raw_file. I'm posting this issue as a reminder to make that write more atomic by having the code write to a temp file first, then moving that to the target filename.