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

Duplicate key W_XHP2FR present in raw exposures

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      Following problems processing LAM data, it has been noticed that the key W_XHP2FR appears twice in raw exposure FITS files from LAM and at Subaru.

      This is evident from the file xcu.py in the ics_actorkeys repository:

      Float(name='HP1fraction',
                               FITS=('W_XHP2FR', 'XCU_SHIELD_HEATER_FRACTION'),
                               help='frac power to shield heater: 0 or 1'),
      [...]                   
      Float(name='HP2fraction',
                               FITS=('W_XHP2FR', 'XCU_SPREADER_HEATER_FRACTION'),
                               help='frac power to spreader: 0 or 1'),
                               help='status of the heaters.'),
      

      In addition to fixing this, could a check for duplicate keys in the form of a unit test be also included please?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arnaud.lefur arnaud.lefur
                Reporter:
                hassan hassan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: