Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-20143

Improve handling of blank keyword comments in FITS headers

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      Arch 2019-06-10
    • Team:
      Architecture

      Description

      The HeaderService is now writing FITS headers to raw data that include header cards using 8 blank characters as the special comment keyword. This is completely within the standard but the reader code in afw.fits is confused and stores them as keyword "" and value None.
      This confuses things when output files are written.

      Fix the reader. It may be simpler to move these blank keyword comments into COMMENT fields in PropertyList. Since the order is lost once comments are read there is nothing to be gained from retaining the distinction between the two types of comments.

        Attachments

          Activity

            People

            • Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Kian-Tat Lim, Merlin Fisher-Levine, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel