You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

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


Chapter 25 of the Algorithms Document details Proposal Creation unit requirements.


Entities affectedAttributeData TypeStored UnitSupported Conversions for UI displayNote
ATM, Time Reservation, OSD, OSstart_date
UTC(LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DDastropy stores a split Julian Date where JD1 is integer portion of the date and JD2 is the fractional portion for precision. Postgres stores datetime as 64-bit integer in UTC.
ATMend_date
UTC(LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DD
Time Reservation, OSD, OSrepeat_countintegerNoneNone
Time Reservation, OSD, OScadenceinteger
Nonethere's a definition of cadence in older conceptual doc; Dana promised to find
Time Reservation, OSD, OSstart_time
UTCHH:MM:SS
Time Reservation, OSD, OSstop_time
UTCHH:MM:SS
Time Reservation, OSD, OSduration

(d,h,m,s,ms,micros,ns) ↔ (d,h,m,s,ms,micros,ns)
Time Reservation, OSD, OStemporal_reference
UTC(LST, GST, UTC)↔ (LST, GST, UTC)
ATM, Time Reservation, OSD, OSarray_configurationcharacter varyingfacility specificNone
OSD, OSlongitude
HH:MM:SS.SS of Equatorial RA(RA, galactic longitude) ↔ (RA, galactic longitude)
OSD, OSlatitude
DD:MM:SS.SS of Equatorial DEC(DEC, galactic latitude) ↔ (DEC, galactic latitude)
  • No labels