Action #650
Feature #284: Rethink the definition of the GTime class
Add GTimeReference class
Status: | Closed | Start date: | 07/07/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned To: | Knödlseder Jürgen | % Done: | 100% | |
Category: | - | Estimated time: | 8.00 hours | |
Target version: | 00-07-00 | |||
Duration: |
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen almost 12 years ago
The GTimeReference
class should implement a time reference system.
m_mjdref Reference MJD (days). m_timeunit Time unit ("s", "d", "sec(s)", "day(s)"). m_timesys Time system m_timeref Time reference
#2 Updated by Knödlseder Jürgen almost 12 years ago
- Status changed from New to In Progress
#3 Updated by Knödlseder Jürgen almost 12 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- Remaining (hours) changed from 8.0 to 0.0
A time reference class GTimeReference
has been created.
- The reference Modified Julian Day (MJD)
- The time unit (seconds or days)
- The time system (TT or UTC)
- The time reference (LOCAL)
So far, the time system and reference are not yet used by the GTime
class. No checking is performed on the possible values by GTimeReference
so far.
The class also provides read()
and write()
methods to read and write the time reference from a FITS HDU header. The format is OGIP compliant.
There is also a constructor that allows creating a reference from a FITS HDU header.
#4 Updated by Knödlseder Jürgen almost 12 years ago
- Status changed from Feedback to Closed