[INSTRM-1008] Design and create operational database tables for A&G camera exposures Created: 10/Jun/20 Updated: 16/Oct/21 Resolved: 04/Oct/21 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_agccActor, spt_operational_database |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | Yoshida, Hiroshige | Assignee: | chihyi |
| Resolution: | Done | Votes: | 0 |
| Labels: | PFI | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
We need tables in the operational database to store information about A&G camera exposures and parameters of detected candidate guide stellar objects by the AGCC actor. We may be able to model the tables after those for MCS and start our discussion with something like the following two tables: 1. agc_exposure table
2. agc_data table
|
| Comments |
| Comment by chihyi [ 27/Jul/20 ] |
|
Those two tables look fine. Two questions:
|
| Comment by Yoshida, Hiroshige [ 28/Jul/20 ] |
|
| Comment by chihyi [ 28/Jul/20 ] |
|
Is spot_id determined by AGCC? That is, find all spots and add a number from 1 to #spots to those spots. |
| Comment by Yoshida, Hiroshige [ 28/Jul/20 ] |
|
Yes. That is what I had in my mind (per camera though). |
| Comment by naoyuki.tamura [ 24/Aug/20 ] |
|
During the ICS/PFI+MCS telecon on Aug 21 2021 (https://sumire.pbworks.com/w/page/141057852/ICS-PFI-MCS%20telecon%20on%20Aug%2021%202020), we discussed this ticket and agreed no major issues are seen in the proposal and discussions are converged, so we can go ahead to make them a part of updated schema. |
| Comment by Yoshida, Hiroshige [ 10/Nov/20 ] |
|
I would like to update the proposal for the "agc_exposure" table by following more closely to the data model of the "mcs_exposure" table and adding the following columns - dome_temperature, dome_humidity, dome_pressure, outside_temperature, outside_humidity, and outside_pressure. 1. agc_exposure table
|
| Comment by cloomis [ 13/Nov/20 ] |
|
I was hoping we could pull the environmental columns out from the SPS/AGC/MCS systems and put them in a common table. I still think we can: have the Gen2 actor add a row for each SPS visit and AGC/MCS exposure. |
| Comment by Yoshida, Hiroshige [ 13/Nov/20 ] |
|
Yes for normalization. Not sure about who should populate that table - Gen2 actor if it always knows when AGC/MCS/SPS exposures start and end and when to fetch and insert those environmental data. |
| Comment by Yoshida, Hiroshige [ 19/Apr/21 ] |
|
The following is an updated proposal for AG data table schemas. M2-POS3 was added and atmospheric conditions inside the dome were removed from the proposed agc_exposure table, and a spot location flag was added to the proposed agc_data table. If we decide to normalize, azimuth, altitude, inr, adc, m2_pos3, outside_temperature, outside_humidity, and outside_pressure would go into a separate table. agc_exposure table
agc_data table
|
| Comment by hassan [ 13/Aug/21 ] |
|
Yoshida, HiroshigeKiyoto Yabe: can this ticket be closed now? |
| Comment by Kiyoto Yabe [ 04/Oct/21 ] |
|
The ticket has been merged, so I close this and file a new tickets if any further fix is needed. |