mmfausnaugh / tica

TICA: TESS Image CAlibrator
MIT License
6 stars 0 forks source link

Inconsistent headers when calibrating SPOC FFIs #1

Closed mmfausnaugh closed 2 years ago

mmfausnaugh commented 2 years ago

TICA currently copies the input headers to the output, and appends some of it's own keywords. For spoc, this causes some issues:

ORIGIN. (says NASA/Ames)

DATE. (date written at Ames)

PROCVER. (spoc pipeline version)

FILEVER. (says 1.0, but that is really for SPOC) I MGTYPE (cal or uncal)

checksum also is not updated, and so fails if you try to open and verify against that.

One solution might be to set off with comments old vs new headers, and have updates where necessary (esp. for the checksum).

mmfausnaugh commented 2 years ago

The checksum is now overwritten so that the file is valid, but the stale keywords are still present.

mmfausnaugh commented 2 years ago

Moved stale SPOC keywords to 'HISTORY' keywords in pull request #12