[INSTRM-741] Populate frame ID is fpsActor Created: 24/Aug/19 Updated: 15/Oct/21 Resolved: 14/Aug/21 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | chyan | Assignee: | chyan |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | EngRun03 |
| Description |
|
fpsActor needs to know the frame id for query the database for the telescope information and calculate the distortion. |
| Comments |
| Comment by cloomis [ 26/Aug/19 ] |
|
The mcsActor (and other) image generating actors currently only generate filename. This does indirectly give you frame and visit IDs, but we should add visitId and frameId keywords. If you need something now, take mcsFilename = self.actor.models['mcs'].keyVarDict['filename']. Then frameId = int(pathlib.Path(filename).stem[4:], base=10 |
| Comment by cloomis [ 14/Aug/21 ] |
|
Done as part of |