public class UTCTAIBulletinAFilesLoader extends AbstractSelfFeedingLoader 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 and Description |
---|
UTCTAIBulletinAFilesLoader(String supportedNames)
Build a loader for IERS bulletins A files.
|
UTCTAIBulletinAFilesLoader(String supportedNames,
DataProvidersManager manager)
Build a loader for IERS bulletins A files.
|
Modifier and Type | Method and Description |
---|---|
List<OffsetModel> |
loadOffsets()
Load UTC-TAI offsets entries.
|
feed, getDataProvidersManager, getSupportedNames, setSupportedNames
@DefaultDataContext public UTCTAIBulletinAFilesLoader(String supportedNames)
default data context
.supportedNames
- regular expression for supported files namespublic UTCTAIBulletinAFilesLoader(String supportedNames, DataProvidersManager manager)
supportedNames
- regular expression for supported files namesmanager
- provides access to the bulletin A files.public List<OffsetModel> loadOffsets()
loadOffsets
in interface UTCTAIOffsetsLoader
Copyright © 2002-2020 CS Group. All rights reserved.