[INSTRM-1422] Publish complete pfsDesign/pfsConfig files before any exposure. Created: 23/Oct/21  Updated: 28/Oct/21

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

Type: Epic Priority: Normal
Reporter: cloomis Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by INSTRM-1417 Add `getDcbPfsConfig(dcbBundles)` fun... Open
is blocked by INSTRM-1418 Add `getSunssPfsConfig(ra, dec, pa)` ... Open
is blocked by PIPE2D-919 Adapt ingestPfsFrames logic to propos... Open
is blocked by INSTRM-1415 Add visit0 logic to IIC Done
is blocked by INSTRM-1416 Define file tree location for the `pf... Done
is blocked by INSTRM-1419 Add `fps.pfsConfig=$pfsDesignId,$visi... Done
is blocked by INSTRM-1420 Publish final `pfsConfig` and `pfsDes... Done
Epic Name: Publish complete pfsDesign/pfsConfig files

 Description   

At the point when an exposure is taken, it needs to be associated with the correct pfsDesign, along with the correct pfsConfig if possible and appropriate. This set of tickets covers that work.

An overview:

There are currently three sources of light to the SPS: `pfi`, `sunss`, and `dcb`. We can imagine a couple more (`allFiber`, say). For any one of these, the logic for generating their `pfsConfig` is pretty straightforward. Generate these when interesting things change, and aggregate them into single complete `pfsDesign/pfsConfig` files for the entire instrument.

Specifically, we use the `sps.lightsources` key to tell us what is connected to each SM gang connector. Given that, `fps.pfsConfig`, `sunss.pointing`, and `dcb.bundles` tell us all we need to generate the component `pfsDesign/pfsConfigs`.

It is the iicActor's job to "publish" the final `pfsDesign/pfsConfig` files, even when there is a single light source. The `fpsActor` output is not a published version.

Some of this matters for the 2021-11 run. But with only one SM much does not: the existing DCB/SUNSS configs are fine.


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