public class LazyLoadedTimeScales extends AbstractTimeScales
TimeScales that loads auxiliary data, leap seconds and
UT1-UTC, when it is first accessed. The list of loaders may be modified before the
first data access.TimeScalesFactory| Constructor and Description |
|---|
LazyLoadedTimeScales(LazyLoadedEop lazyLoadedEop)
Create a new set of time scales with the given sources of auxiliary data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultUTCTAIOffsetsLoaders()
Add the default loaders for UTC-TAI offsets history files (both IERS and USNO).
|
void |
addUTCTAIOffsetsLoader(UTCTAIOffsetsLoader loader)
Add a loader for UTC-TAI offsets history files.
|
void |
clearUTCTAIOffsetsLoaders()
Clear loaders for UTC-TAI offsets history files.
|
BDTScale |
getBDT()
Get the BeiDou Navigation Satellite System time scale.
|
protected EOPHistory |
getEopHistory(IERSConventions conventions,
boolean simpleEOP)
Get the EOP history for the given conventions.
|
GLONASSScale |
getGLONASS()
Get the GLObal NAvigation Satellite System time scale.
|
GMSTScale |
getGMST(IERSConventions conventions,
boolean simpleEOP)
Get the Greenwich Mean Sidereal Time scale.
|
GPSScale |
getGPS()
Get the Global Positioning System scale.
|
GalileoScale |
getGST()
Get the Galileo System Time scale.
|
IRNSSScale |
getIRNSS()
Get the Indian Regional Navigation Satellite System time scale.
|
QZSSScale |
getQZSS()
Get the Quasi-Zenith Satellite System time scale.
|
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(EOPHistory history)
Get the Universal Time 1 scale.
|
UT1Scale |
getUT1(IERSConventions conventions,
boolean simpleEOP)
Get the Universal Time 1 scale.
|
UTCScale |
getUTC()
Get the Universal Time Coordinate scale.
|
createBesselianEpoch, createJulianEpoch, getBeidouEpoch, getCcsdsEpoch, getFiftiesEpoch, getFutureInfinity, getGalileoEpoch, getGlonassEpoch, getGpsEpoch, getIrnssEpoch, getJ2000Epoch, getJavaEpoch, getJulianEpoch, getModifiedJulianEpoch, getPastInfinity, getQzssEpochclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic LazyLoadedTimeScales(LazyLoadedEop lazyLoadedEop)
DataProvidersManager for the default EOP loaders
and the default leap second loaders.lazyLoadedEop - loads Earth Orientation Parameters for getUT1(IERSConventions, boolean).public void addUTCTAIOffsetsLoader(UTCTAIOffsetsLoader loader)
loader - custom loader to addTAIUTCDatFilesLoader,
UTCTAIHistoryFilesLoader,
UTCTAIBulletinAFilesLoader,
getUTC(),
clearUTCTAIOffsetsLoaders()public void addDefaultUTCTAIOffsetsLoaders()
The default loaders are TAIUTCDatFilesLoader that looks for a file named
tai-utc.dat that must be in USNO format, UTCTAIHistoryFilesLoader that looks for a file named UTC-TAI.history that
must be in the IERS format and AGILeapSecondFilesLoader that looks for a
files named LeapSecond.dat that must be in AGI format. The UTCTAIBulletinAFilesLoader isnot added by default as it is not recommended.
USNO warned us that the TAI-UTC data present in bulletin A was for convenience only
and was not reliable, there have been errors in several bulletins regarding these data.
public void clearUTCTAIOffsetsLoaders()
getUTC(),
addUTCTAIOffsetsLoader(UTCTAIOffsetsLoader),
addDefaultUTCTAIOffsetsLoaders()public TAIScale getTAI()
TimeScalespublic UTCScale getUTC()
TimeScalespublic UT1Scale getUT1(IERSConventions conventions, boolean simpleEOP)
TimeScalesgetUT1 in interface TimeScalesgetUT1 in class AbstractTimeScalesconventions - IERS conventions for which EOP parameters will provide dUT1simpleEOP - if true, tidal effects are ignored when interpolating EOPTimeScales.getUTC(),
Frames.getEOPHistory(IERSConventions, boolean)protected EOPHistory getEopHistory(IERSConventions conventions, boolean simpleEOP)
AbstractTimeScalesgetEopHistory in class AbstractTimeScalesconventions - to use in computing the EOP history.simpleEOP - whether to ignore some small tidal effects.public UT1Scale getUT1(EOPHistory history)
As this method allow associating any history with the time scale, it may involve
large data sets. So this method does not cache the resulting UT1Scale instance, a new instance will be returned each time. In order to
avoid wasting memory, calling AbstractTimeScales.getUT1(IERSConventions, boolean) with the
single enumerate corresponding to the conventions may be a better solution. This
method is made available only for expert use.
getUT1 in class AbstractTimeScaleshistory - EOP parameters providing dUT1 (may be null if no correction is
desired)AbstractTimeScales.getUT1(IERSConventions, boolean)public TTScale getTT()
TimeScalespublic GalileoScale getGST()
TimeScalespublic GLONASSScale getGLONASS()
TimeScalespublic QZSSScale getQZSS()
TimeScalespublic GPSScale getGPS()
TimeScalespublic TCGScale getTCG()
TimeScalespublic TDBScale getTDB()
TimeScalespublic TCBScale getTCB()
TimeScalespublic GMSTScale getGMST(IERSConventions conventions, boolean simpleEOP)
TimeScalesgetGMST in interface TimeScalesgetGMST in class AbstractTimeScalesconventions - IERS conventions for which EOP parameters will provide dUT1simpleEOP - if true, tidal effects are ignored when interpolating EOPpublic IRNSSScale getIRNSS()
TimeScalespublic BDTScale getBDT()
TimeScalesCopyright © 2002-2023 CS GROUP. All rights reserved.