[INSTRM-1980] Accept designId argument to hx.ramp // ccd.read command Created: 20/May/23  Updated: 11/Apr/24  Resolved: 11/Apr/24

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

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SPS, near-term
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-1654 Add pfsDesign name FITS card Won't Fix
relates to INSTRM-1939 pfsDesignId reported in header does n... Done
Sprint: postRun15Mar_or_preRun16May

 Description   

IIC/SPS need to pass the current designId down to the ramp command – they already do for the ccd read command.

Actually ccdActor does not accept that argument either, add for both :

  • ccd read
  • hx ramp


 Comments   
Comment by arnaud.lefur [ 26/Mar/24 ]

Updating the title, change needs to be applied both for ccd and hx.

Comment by arnaud.lefur [ 26/Mar/24 ]

I have implemented the sps side, ready to test.

Comment by arnaud.lefur [ 28/Mar/24 ]

now parsing pfsDesign argument to read and ramp command :

pfsDesign=f'0x{self.exp.designId:016x},{self.exp.designName}',
Comment by cloomis [ 11/Apr/24 ]

ics_utils:1.7.21
ics_hxActor:2.7.12
ics_ccdActor:1.10.1

Comment by cloomis [ 11/Apr/24 ]

After a dark command:

cloomis@shell-ics:raw$ fitsheader -e 0 -f -k W_CAM -k W_VISIT -k W_LGTSRC -k W_PFDSGN -k W_PFDSNM 2024-04-10/*/*109033??.fits
             filename              W_CAM W_VISIT W_LGTSRC       W_PFDSGN            W_PFDSNM
---------------------------------- ----- ------- -------- ------------------- --------------------
2024-04-10/ramps/PFSB10903323.fits    n2  109033    sunss 1067456495739250374 None,SuNSS,None,None
2024-04-10/ramps/PFSB10903333.fits    n3  109033     none 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903311.fits    b1  109033     none 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903312.fits    r1  109033     none 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903321.fits    b2  109033    sunss 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903322.fits    r2  109033    sunss 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903332.fits    r3  109033     none 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903341.fits    b4  109033     none 1067456495739250374 None,SuNSS,None,None
  2024-04-10/sps/PFSA10903342.fits    r4  109033     none 1067456495739250374 None,SuNSS,None,None
Generated at Thu Apr 17 14:47:42 JST 2025 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.