Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-1231

Sanitize FITS headers before sending to fitsio.

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      The camera actors are pretty careful about catching errors while constructing headers, but we should run a pass over the header to pick up any stray problems we can think of: fitsio evidently blows up without writing the data if there are certain problems.

      Specifically: look for "NaNs", scream, and replace them with the Official NAOJ Invalid Value: 9998.0. Will handle the currently failing conversion elsewhere, but I think we will always be prone to this really catastrophic failure: NaNs are good at leaking.

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              cloomis cloomis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: