[INSTRM-1278] Add commands to generate complete pfsDesign and pfsConfig files and rows Created: 18/May/21 Updated: 17/Dec/21 Resolved: 23/Oct/21 |
|
| Status: | Won't Fix |
| Project: | Instrument control development |
| Component/s: | ics_iicActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | EngRun, SPS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Sprint: | SM1PD-2021 A9, SM1PD-2021 A10, SM1PD-2021 A 11, SM1PD-2021 A 12, SM1PD-2021 A 13, EngRun03 | ||||||||||||||||
| Description |
|
We need top-level iic commands which generate pfsDesign and pfsConfig files, based on the configuration of the entire instrument (primarily the sps.lightSource keys, the targeting and FPS information, the DCBx and SuNSS configurations, and the pfs_instdata status ). These would be called at the start of each field or exposure. It may be that we will want per-SM design/configs, but I think those should be derived from the configuration of the entire instrument. I propose that we always generate files describing all 2604 slit holes and treat those as the single sources for all further HDUs, opdb rows, etc. An implementation note: any files should be put into per-night directories /data/raw/$date/pfsConfig/, say, just to keepthe pfsDesign directory from becoming a bottleneck. |
| Comments |
| Comment by cloomis [ 02/Sep/21 ] |
|
For each iteration of the fps convergence sequence, the fpsActor writes the achieved fiber positions in the cobra_match table. At the end of the sequence we need to read all the data from the pfsDesign ingest, merge with the final cobra_match rows, and write out pfsConfig files. Actual file I/O must be done by the existing datamodel PfsConfig class. |
| Comment by cloomis [ 23/Oct/21 ] |
|
This was preliminary and incomplete. Replaced by the INSTRM-1422 |