Skip to content

Partially written FITS files by CcdReadout.write_raw_file #517

@jchiang87

Description

@jchiang87

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions