[DAMD-42] Reconsider the details of the pfsConfig/pfiDesign split Created: 15/Feb/19 Updated: 11/Jun/19 Resolved: 24/May/19 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | rhl | Assignee: | hassan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Reviewers: | rhl | ||||||||||||||||||||||||||||
| Description |
|
The I am not objecting to the split – the original design by me was clearly naïve – but the partial introduction of a pfi prefix is a problem. We could change pfsConfig to pfiConfig but I think it's too late for that; and the use of two different prefixes doesn't really improve the system although it is slightly more logical. The only counter-argument would be if we needed a different file to track other parts of the instrument configuration, but I'd argue that we should just add the extra information to the pfsConfig file. |
| Comments |
| Comment by cloomis [ 16/Feb/19 ] |
|
Isn't the exposure in pfsConfig a visit0 thing: it is an instantiation of a pfsDesign which is valid until the cobras get moved again. In which case we get a new pfsConfig. For some fields, the `pfsConfig` will be valid for a few exposures. I think we do, if possible, want to make it explicit that a given `pfsConfig` is valid for all of those. If we slightly tweak cobras between exposures, we get different {{pfsConfig}}s. |
| Comment by rhl [ 16/Feb/19 ] |
|
The consensus on slack seems to be to switch to `pfsDesign`. |
| Comment by rhl [ 16/Feb/19 ] |
|
We could go with visit0 or a counter. I take your point that visit0 is managed for us, even if less user-friendly. As I hope no human will ever type it, that's fine |
| Comment by cloomis [ 16/Feb/19 ] |
|
I think visit0 is safer and easier. Else some ICS thing needs to track counters somewhere. |
| Comment by hassan [ 06/Mar/19 ] |
|
Following discussions with rhl, we are all signed up for visit0 for specifying the next configuration. We define visit0 as the next visit number generated after the configuration change has been made. References to pfiDesign will be changed to pfsDesign in datamodel.txt. References to pfsConfigId in datamodel.txt should be replaced with the pfsDesignId + visit0 tuple. |
| Comment by rhl [ 21/Mar/19 ] |
|
When do we expect to complete this work? |
| Comment by hassan [ 22/Mar/19 ] |
|
I'm aiming for a week's time - 28 Mar 2019. |
| Comment by hassan [ 04/Apr/19 ] |
|
Following discussions with rhl - the implementation of this ticket will be restricted to the agreed change of pfiDesign to pfsDesign. The topic of whether expId should or should not be introduced will be the subject of a separate ticket ( |
| Comment by hassan [ 24/May/19 ] |
|
Merged to master 09b9d02. |