Requirement:
- Store the way the user enters the value to display it back in the same format
- Store in "canonical" units for calculations where canonical units are SI units unless explicitly specified.
In Scheduler Tools, we need a common display output regardless of the OSD's unit
https://www.roe.ac.uk/ukatc/projects/alma/APDM-Cycle7/Indexs/indexLeft.html
Entities affected | Attribute | Data Type | Stored Unit | Supported Conversions for UI display |
---|---|---|---|---|
ATM, Time Reservation, OSD, OS | start_date | base unit of astropy | (LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DD | |
ATM | end_date | (LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DD | ||
Time Reservation, OSD, OS | repeat_count | integer | None | None |
Time Reservation, OSD, OS | cadence | integer | per 24h cycle → a day | None |
Time Reservation, OSD, OS | start_time | HH:MM:SS | ||
Time Reservation, OSD, OS | stop_time | HH:MM:SS | ||
Time Reservation, OSD, OS | duration | (d,h,m,s,ms,micros,ns) ↔ (d,h,m,s,ms,micros,ns) | ||
Time Reservation, OSD, OS | temporal_reference | (LST, GST, UTC)↔ (LST, GST, UTC) | ||
ATM, Time Reservation, OSD, OS | array_configuration | character varying | facility specific | None |
OSD, OS | longitude | HH:MM:SS.SS of Equatorial RA | (RA, galactic longitude) ↔ (RA, galactic longitude) | |
OSD, OS | latitude | DD:MM:SS.SS of Equatorial DEC | (DEC, galactic latitude) ↔ (DEC, galactic latitude) |