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, getQzssEpoch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public 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 and UTCTAIHistoryFilesLoader
that looks fir a file named UTC-TAI.history
that
must be in the IERS format. The UTCTAIBulletinAFilesLoader
is
not 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()
TimeScales
public UTCScale getUTC()
TimeScales
public UT1Scale getUT1(IERSConventions conventions, boolean simpleEOP)
TimeScales
getUT1
in interface TimeScales
getUT1
in class AbstractTimeScales
conventions
- 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)
AbstractTimeScales
getEopHistory
in class AbstractTimeScales
conventions
- 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 AbstractTimeScales
history
- EOP parameters providing dUT1 (may be null if no correction is
desired)AbstractTimeScales.getUT1(IERSConventions, boolean)
public TTScale getTT()
TimeScales
public GalileoScale getGST()
TimeScales
public GLONASSScale getGLONASS()
TimeScales
public QZSSScale getQZSS()
TimeScales
public GPSScale getGPS()
TimeScales
public TCGScale getTCG()
TimeScales
public TDBScale getTDB()
TimeScales
public TCBScale getTCB()
TimeScales
public GMSTScale getGMST(IERSConventions conventions, boolean simpleEOP)
TimeScales
getGMST
in interface TimeScales
getGMST
in class AbstractTimeScales
conventions
- IERS conventions for which EOP parameters will provide dUT1simpleEOP
- if true, tidal effects are ignored when interpolating EOPpublic IRNSSScale getIRNSS()
TimeScales
public BDTScale getBDT()
TimeScales
Copyright © 2002-2020 CS GROUP. All rights reserved.