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

afw should warn when FITS headers case may be modified (cfitsio > 3380)

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Team:
      Architecture
    • Urgent?:
      No

      Description

      When using newer versions of CFITSIO (> 3380 aka 3.38), keys written by cfitsio via fits_write_record / ffprec are upper cased.

      When reading from FITS files, some parts of CFITSIO will uppercase header keywords but not all cases.

      afw should warn when it knows that, when writing to a file, lowercase keywords will be encountered.

      afw should also uppercase all headers on read, and possibly warn users when this has happened.

        Attachments

          Issue Links

            Activity

            bvan Brian Van Klaveren created issue -
            bvan Brian Van Klaveren made changes -
            Field Original Value New Value
            Link This issue relates to DM-21989 [ DM-21989 ]
            bvan Brian Van Klaveren made changes -
            Link This issue relates to DM-21991 [ DM-21991 ]
            tjenness Tim Jenness made changes -
            Link This issue is triggered by RFC-686 [ RFC-686 ]
            bvan Brian Van Klaveren made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            bvan Brian Van Klaveren made changes -
            Assignee Brian Van Klaveren [ bvan ]
            bvan Brian Van Klaveren made changes -
            Description When using newer versions of CFITSIO (> 3380 aka 3.38), keys written by cfitsio via fits_write_record / ffprec are upper cased.

            afw should warn when it knows serializations of this manner may occur.
            When using newer versions of CFITSIO (> 3380 aka 3.38), keys written by cfitsio via fits_write_record / ffprec are upper cased.

            When reading from FITS files, some parts of CFITSIO will uppercase header keywords but not all cases.

            afw should warn when it knows that, when writing to a file, lowercase keywords will be encountered.

            afw should also uppercase all headers on read, and possibly warn users when this has happened.
            Summary afw should warn when FITS headers will be written out in uppercase (cfitsio > 3380) afw should warn when FITS headers case may be modified (cfitsio > 3380)
            bvan Brian Van Klaveren made changes -
            Reviewers Kian-Tat Lim [ ktl ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            ktl Kian-Tat Lim made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            ktl Kian-Tat Lim made changes -
            Link This issue is triggering DM-24570 [ DM-24570 ]
            bvan Brian Van Klaveren made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            yusra Yusra AlSayyad made changes -
            Link This issue is parent task of DM-24618 [ DM-24618 ]

              People

              • Assignee:
                bvan Brian Van Klaveren
                Reporter:
                bvan Brian Van Klaveren
                Reviewers:
                Kian-Tat Lim
                Watchers:
                Brian Van Klaveren, Kian-Tat Lim, Krzysztof Findeisen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel