Class PythonTimeScales
- java.lang.Object
-
- org.orekit.time.PythonTimeScales
-
- All Implemented Interfaces:
TimeScales
public class PythonTimeScales extends Object implements TimeScales
-
-
Constructor Summary
Constructors Constructor Description PythonTimeScales()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDate
createBesselianEpoch(double besselianEpoch)
Build an instance corresponding to a Besselian Epoch (BE).AbsoluteDate
createJulianEpoch(double julianEpoch)
Build an instance corresponding to a Julian Epoch (JE).void
finalize()
Part of JCC Python interface to objectBDTScale
getBDT()
Get the BeiDou Navigation Satellite System time scale.AbsoluteDate
getBeidouEpoch()
Reference epoch for BeiDou weeks: 2006-01-01T00:00:00 UTC.AbsoluteDate
getCcsdsEpoch()
Reference epoch for CCSDS Time Code Format (CCSDS 301.0-B-4): 1958-01-01T00:00:00 International Atomic Time (not UTC).AbsoluteDate
getFiftiesEpoch()
Reference epoch for 1950 dates: 1950-01-01T00:00:00 Terrestrial Time.AbsoluteDate
getFutureInfinity()
Dummy date at infinity in the future direction.AbsoluteDate
getGalileoEpoch()
Reference epoch for Galileo System Time: 1999-08-22T00:00:00 GST.GLONASSScale
getGLONASS()
Get the GLObal NAvigation Satellite System time scale.AbsoluteDate
getGlonassEpoch()
Reference epoch for GLONASS four-year interval number: 1996-01-01T00:00:00 GLONASS time.GMSTScale
getGMST(IERSConventions conventions, boolean simpleEOP)
Get the Greenwich Mean Sidereal Time scale.GPSScale
getGPS()
Get the Global Positioning System scale.AbsoluteDate
getGpsEpoch()
Reference epoch for GPS weeks: 1980-01-06T00:00:00 GPS time.GalileoScale
getGST()
Get the Galileo System Time scale.IRNSSScale
getIRNSS()
Get the Indian Regional Navigation Satellite System time scale.AbsoluteDate
getIrnssEpoch()
Reference epoch for IRNSS weeks: 1999-08-22T00:00:00 IRNSS time.AbsoluteDate
getJ2000Epoch()
J2000.0 Reference epoch: 2000-01-01T12:00:00 Terrestrial Time (not UTC).AbsoluteDate
getJavaEpoch()
Java Reference epoch: 1970-01-01T00:00:00 Universal Time Coordinate.AbsoluteDate
getJulianEpoch()
Reference epoch for julian dates: -4712-01-01T12:00:00 Terrestrial Time.AbsoluteDate
getModifiedJulianEpoch()
Reference epoch for modified julian dates: 1858-11-17T00:00:00 Terrestrial Time.AbsoluteDate
getPastInfinity()
Dummy date at infinity in the past direction.QZSSScale
getQZSS()
Get the Quasi-Zenith Satellite System time scale.AbsoluteDate
getQzssEpoch()
Reference epoch for QZSS weeks: 1980-01-06T00:00:00 QZSS time.TAIScale
getTAI()
Get the International Atomic Time scale.TCBScale
getTCB()
Get the Barycentric Coordinate Time scale.TCGScale
getTCG()
Get the Geocentric Coordinate Time scale.TDBScale
getTDB()
Get the Barycentric Dynamic Time scale.TTScale
getTT()
Get the Terrestrial Time scale.UT1Scale
getUT1(IERSConventions conventions, boolean simpleEOP)
Get the Universal Time 1 scale.UTCScale
getUTC()
Get the Universal Time Coordinate scale.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getTAI
public TAIScale getTAI()
Get the International Atomic Time scale.- Specified by:
getTAI
in interfaceTimeScales
- Returns:
- International Atomic Time scale
-
getUTC
public UTCScale getUTC()
Get the Universal Time Coordinate scale.- Specified by:
getUTC
in interfaceTimeScales
- Returns:
- Universal Time Coordinate scale
-
getUT1
public UT1Scale getUT1(IERSConventions conventions, boolean simpleEOP)
Get the Universal Time 1 scale.- Specified by:
getUT1
in interfaceTimeScales
- Parameters:
conventions
- IERS conventions for which EOP parameters will provide dUT1simpleEOP
- if true, tidal effects are ignored when interpolating EOP- Returns:
- Universal Time 1 scale
- See Also:
getUTC()
-
getTT
public TTScale getTT()
Get the Terrestrial Time scale.- Specified by:
getTT
in interfaceTimeScales
- Returns:
- Terrestrial Time scale
-
getGST
public GalileoScale getGST()
Get the Galileo System Time scale.- Specified by:
getGST
in interfaceTimeScales
- Returns:
- Galileo System Time scale
-
getGLONASS
public GLONASSScale getGLONASS()
Get the GLObal NAvigation Satellite System time scale.- Specified by:
getGLONASS
in interfaceTimeScales
- Returns:
- GLObal NAvigation Satellite System time scale
-
getQZSS
public QZSSScale getQZSS()
Get the Quasi-Zenith Satellite System time scale.- Specified by:
getQZSS
in interfaceTimeScales
- Returns:
- Quasi-Zenith Satellite System time scale
-
getGPS
public GPSScale getGPS()
Get the Global Positioning System scale.- Specified by:
getGPS
in interfaceTimeScales
- Returns:
- Global Positioning System scale
-
getTCG
public TCGScale getTCG()
Get the Geocentric Coordinate Time scale.- Specified by:
getTCG
in interfaceTimeScales
- Returns:
- Geocentric Coordinate Time scale
-
getTDB
public TDBScale getTDB()
Get the Barycentric Dynamic Time scale.- Specified by:
getTDB
in interfaceTimeScales
- Returns:
- Barycentric Dynamic Time scale
-
getTCB
public TCBScale getTCB()
Get the Barycentric Coordinate Time scale.- Specified by:
getTCB
in interfaceTimeScales
- Returns:
- Barycentric Coordinate Time scale
-
getGMST
public GMSTScale getGMST(IERSConventions conventions, boolean simpleEOP)
Get the Greenwich Mean Sidereal Time scale.- Specified by:
getGMST
in interfaceTimeScales
- Parameters:
conventions
- IERS conventions for which EOP parameters will provide dUT1simpleEOP
- if true, tidal effects are ignored when interpolating EOP- Returns:
- Greenwich Mean Sidereal Time scale
- Since:
- 7.0
-
getIRNSS
public IRNSSScale getIRNSS()
Get the Indian Regional Navigation Satellite System time scale.- Specified by:
getIRNSS
in interfaceTimeScales
- Returns:
- Indian Regional Navigation Satellite System time scale
-
getBDT
public BDTScale getBDT()
Get the BeiDou Navigation Satellite System time scale.- Specified by:
getBDT
in interfaceTimeScales
- Returns:
- BeiDou Navigation Satellite System time scale
-
getJulianEpoch
public AbsoluteDate getJulianEpoch()
Reference epoch for julian dates: -4712-01-01T12:00:00 Terrestrial Time.Both
java.util.Date
andDateComponents
classes follow the astronomical conventions and consider a year 0 between years -1 and +1, hence this reference date lies in year -4712 and not in year -4713 as can be seen in other documents or programs that obey a different convention (for example theconvcal
utility).- Specified by:
getJulianEpoch
in interfaceTimeScales
- Returns:
- Julian epoch.
-
getModifiedJulianEpoch
public AbsoluteDate getModifiedJulianEpoch()
Reference epoch for modified julian dates: 1858-11-17T00:00:00 Terrestrial Time.- Specified by:
getModifiedJulianEpoch
in interfaceTimeScales
- Returns:
- Modified Julian Epoch
-
getFiftiesEpoch
public AbsoluteDate getFiftiesEpoch()
Reference epoch for 1950 dates: 1950-01-01T00:00:00 Terrestrial Time.- Specified by:
getFiftiesEpoch
in interfaceTimeScales
- Returns:
- Fifties Epoch
-
getCcsdsEpoch
public AbsoluteDate getCcsdsEpoch()
Reference epoch for CCSDS Time Code Format (CCSDS 301.0-B-4): 1958-01-01T00:00:00 International Atomic Time (not UTC).- Specified by:
getCcsdsEpoch
in interfaceTimeScales
- Returns:
- CCSDS Epoch
-
getGalileoEpoch
public AbsoluteDate getGalileoEpoch()
Reference epoch for Galileo System Time: 1999-08-22T00:00:00 GST.- Specified by:
getGalileoEpoch
in interfaceTimeScales
- Returns:
- Galileo Epoch
-
getGpsEpoch
public AbsoluteDate getGpsEpoch()
Reference epoch for GPS weeks: 1980-01-06T00:00:00 GPS time.- Specified by:
getGpsEpoch
in interfaceTimeScales
- Returns:
- GPS Epoch
-
getQzssEpoch
public AbsoluteDate getQzssEpoch()
Reference epoch for QZSS weeks: 1980-01-06T00:00:00 QZSS time.- Specified by:
getQzssEpoch
in interfaceTimeScales
- Returns:
- QZSS Epoch
-
getIrnssEpoch
public AbsoluteDate getIrnssEpoch()
Reference epoch for IRNSS weeks: 1999-08-22T00:00:00 IRNSS time.- Specified by:
getIrnssEpoch
in interfaceTimeScales
- Returns:
- IRNSS Epoch
-
getBeidouEpoch
public AbsoluteDate getBeidouEpoch()
Reference epoch for BeiDou weeks: 2006-01-01T00:00:00 UTC.- Specified by:
getBeidouEpoch
in interfaceTimeScales
- Returns:
- Beidou Epoch
-
getGlonassEpoch
public AbsoluteDate getGlonassEpoch()
Reference epoch for GLONASS four-year interval number: 1996-01-01T00:00:00 GLONASS time.By convention, TGLONASS = UTC + 3 hours.
- Specified by:
getGlonassEpoch
in interfaceTimeScales
- Returns:
- GLONASS Epoch
-
getJ2000Epoch
public AbsoluteDate getJ2000Epoch()
J2000.0 Reference epoch: 2000-01-01T12:00:00 Terrestrial Time (not UTC).- Specified by:
getJ2000Epoch
in interfaceTimeScales
- Returns:
- J2000 Epoch
- See Also:
AbsoluteDate.createJulianEpoch(double)
,AbsoluteDate.createBesselianEpoch(double)
-
getJavaEpoch
public AbsoluteDate getJavaEpoch()
Java Reference epoch: 1970-01-01T00:00:00 Universal Time Coordinate.Between 1968-02-01 and 1972-01-01, UTC-TAI = 4.213 170 0s + (MJD - 39 126) x 0.002 592s. As on 1970-01-01 MJD = 40587, UTC-TAI = 8.000082s
- Specified by:
getJavaEpoch
in interfaceTimeScales
- Returns:
- Java Epoch
-
getPastInfinity
public AbsoluteDate getPastInfinity()
Dummy date at infinity in the past direction.- Specified by:
getPastInfinity
in interfaceTimeScales
- Returns:
- the earliest date.
-
getFutureInfinity
public AbsoluteDate getFutureInfinity()
Dummy date at infinity in the future direction.- Specified by:
getFutureInfinity
in interfaceTimeScales
- Returns:
- the latest date.
-
createJulianEpoch
public AbsoluteDate createJulianEpoch(double julianEpoch)
Build an instance corresponding to a Julian Epoch (JE).According to Lieske paper: Precession Matrix Based on IAU (1976) System of Astronomical Constants, Astronomy and Astrophysics, vol. 73, no. 3, Mar. 1979, p. 282-284, Julian Epoch is related to Julian Ephemeris Date as:
JE = 2000.0 + (JED - 2451545.0) / 365.25
This method reverts the formula above and computes an
AbsoluteDate
from the Julian Epoch.- Specified by:
createJulianEpoch
in interfaceTimeScales
- Parameters:
julianEpoch
- Julian epoch, like 2000.0 for defining the classical reference J2000.0- Returns:
- a new instant
- See Also:
getJ2000Epoch()
,createBesselianEpoch(double)
-
createBesselianEpoch
public AbsoluteDate createBesselianEpoch(double besselianEpoch)
Build an instance corresponding to a Besselian Epoch (BE).According to Lieske paper: Precession Matrix Based on IAU (1976) System of Astronomical Constants, Astronomy and Astrophysics, vol. 73, no. 3, Mar. 1979, p. 282-284, Besselian Epoch is related to Julian Ephemeris Date as:
BE = 1900.0 + (JED - 2415020.31352) / 365.242198781
This method reverts the formula above and computes an
AbsoluteDate
from the Besselian Epoch.- Specified by:
createBesselianEpoch
in interfaceTimeScales
- Parameters:
besselianEpoch
- Besselian epoch, like 1950 for defining the classical reference B1950.0- Returns:
- a new instant
- See Also:
createJulianEpoch(double)
-
-