[INSTRM-969] Reformat "filepath" keys from ccdActor, etc. Created: 07/May/20  Updated: 20/May/20  Resolved: 15/May/20

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

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

Story Points: 2
Sprint: SM1PD-2020 E, SM1PD-2020 F

 Description   

With the /data layout from INSTRM-823, the filepath keyword start looking silly: filepath=/data/pfs/20200506,sps,PFJA05015691.fits. It still works, because os.path.join() works. But it is not ROOT,OBSDATE,FILE.

Since we are using the pfs_utils butler, I think we should add an entirely different key which has the obsDay,visit,prefix,arm,spectrograph components. Maybe explicitly include the root.



 Comments   
Comment by cloomis [ 14/May/20 ]

To be specific, I propose adding a new key:

imageFileIds=obsDay,spectrograph,arm,visit.

Hmm. Sending arm ("r","b", etc) will require minor translation by the consumer. Might add armNum as well.

Comment by cloomis [ 15/May/20 ]

After chatting with arnaud.lefur a bit about the consumers (spsActor, drpActor, gen2Actor for archiving and for display info), I will identify as SPS and denormalize a bit:

spsFileIds=cam,pfsDay,visit,spectrograph,armNum

e.g.

spsFileIds="r1","2020-05-12",12345,1,2

Comment by cloomis [ 15/May/20 ]

ics_ccdActor merged at d4ab13a, tagged 1.5.1

ics_actorkeys merged at ff34cef, tagged 1.3.5

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