UTCTAIOffsetsLoader
public class UTCTAIBulletinAFilesLoader extends Object implements UTCTAIOffsetsLoader
This class is a modified version of BulletinAFileLoader
that only parses the TAI-UTC header line and checks the UT1-UTC column
for discontinuities.
Note that extracting UTC-TAI from bulletin A files is NOT recommended. There are known issues in some past bulletin A (for example bulletina-xix-001.txt from 2006-01-05 has a wrong year for last leap second and bulletina-xxi-053.txt from 2008-12-31 has an off by one value for TAI-UTC on MJD 54832). This is a known problem, and the Earth Orientation Department at USNO told us this TAI-UTC data was only provided as a convenience and this data should rather be sourced from other official files. As the bulletin A files are a record of past publications, they cannot modify archived bulletins, hence the errors above will remain forever. This UTC-TAI loader should therefore be used with great care.
This class is immutable and hence thread-safe
Constructor | Description |
---|---|
UTCTAIBulletinAFilesLoader(String supportedNames) |
Build a loader for IERS bulletins A files.
|
Modifier and Type | Method | Description |
---|---|---|
List<OffsetModel> |
loadOffsets() |
Load UTC-TAI offsets entries.
|
public UTCTAIBulletinAFilesLoader(String supportedNames)
supportedNames
- regular expression for supported files namespublic List<OffsetModel> loadOffsets() throws OrekitException
loadOffsets
in interface UTCTAIOffsetsLoader
OrekitException
- if time steps are inconsistentCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.