[INSTRM-925] Duplicate key W_XHP2FR present in raw exposures Created: 18/Mar/20  Updated: 21/Mar/20  Resolved: 18/Mar/20

Status: Done
Project: Instrument control development
Component/s: ics_xcuActor
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: hassan Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PIPE2D-525 PostISRCCD exposures cannot be writte... Done
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?



 Comments   
Comment by arnaud.lefur [ 18/Mar/20 ]

merged

Generated at Sat Feb 10 16:30:04 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.