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

Compare with Current View Page History

« Previous Version 5 Next »

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


Entities affectedAttributeData TypeStored UnitSupported Conversions for UI display
ATM, Time Reservation, OSD, OSstart_date
base unit of astropy(LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DD
ATMend_date

(LST, GST, UTC)↔ (LST, GST, UTC); YYYY-MM-DD
Time Reservation, OSD, OSrepeat_countintegerNoneNone
Time Reservation, OSD, OScadenceintegerper 24h cycle → a dayNone
Time Reservation, OSD, OSstart_time

HH:MM:SS
Time Reservation, OSD, OSstop_time

HH: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

(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