public abstract class AbstractEOPHistory extends Object implements Serializable, EOPHistory
Modifier | Constructor and Description |
---|---|
protected |
AbstractEOPHistory(EOPInterpolators interpMethod)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addEntry(EOPEntry entry)
Add an Earth Orientation Parameters entry.
|
void |
checkEOPContinuity(double maxGap)
Check Earth orientation parameters continuity.
|
AbsoluteDate |
getEndDate()
Get the date of the last available Earth Orientation Parameters.
|
EOPInterpolators |
getEOPInterpolationMethod()
Return the EOP interpolation method.
|
protected EOPEntry |
getFirst()
Returns first EOP entry.
|
protected EOPEntry |
getLast()
Returns last EOP entry.
|
double |
getLOD(AbsoluteDate date)
Get the LoD (Length of Day) value.
|
protected EOPEntry[] |
getNeighbors(AbsoluteDate central)
Get the entries surrounding a central date.
|
NutationCorrection |
getNutationCorrection(AbsoluteDate date)
Get the correction to the nutation parameters.
|
PoleCorrection |
getPoleCorrection(AbsoluteDate date)
Get the pole IERS Reference Pole correction.
|
AbsoluteDate |
getStartDate()
Get the date of the first available Earth Orientation Parameters.
|
double |
getUT1MinusTAI(AbsoluteDate date)
Get the UT1-TAI value.
|
double |
getUT1MinusUTC(AbsoluteDate date)
Get the UT1-UTC value.
|
protected boolean |
isEmpty()
Returns true if no EOP have been loaded.
|
Iterator<TimeStamped> |
iterator() |
int |
size()
Get the number of entries in the history.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected AbstractEOPHistory(EOPInterpolators interpMethod)
interpMethod
- EOP interpolation methodpublic void addEntry(EOPEntry entry)
addEntry
in interface EOPHistory
entry
- entry to addpublic Iterator<TimeStamped> iterator()
iterator
in interface Iterable<TimeStamped>
public int size()
size
in interface EOPHistory
protected boolean isEmpty()
protected EOPEntry getFirst()
protected EOPEntry getLast()
public EOPInterpolators getEOPInterpolationMethod()
getEOPInterpolationMethod
in interface EOPHistory
public AbsoluteDate getStartDate()
getStartDate
in interface EOPHistory
public AbsoluteDate getEndDate()
getEndDate
in interface EOPHistory
public double getUT1MinusUTC(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
getUT1MinusUTC
in interface EOPHistory
date
- date at which the value is desiredpublic double getUT1MinusTAI(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
getUT1MinusTAI
in interface EOPHistory
date
- date at which the value is desiredprotected EOPEntry[] getNeighbors(AbsoluteDate central) throws TimeStampedCacheException
central
- central dateTimeStampedCacheException
- if EOP data cannot be retrievedpublic double getLOD(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
getLOD
in interface EOPHistory
date
- date at which the value is desiredpublic PoleCorrection getPoleCorrection(AbsoluteDate date) throws TimeStampedCacheException
The data provided comes from the IERS files. It is smoothed data.
getPoleCorrection
in interface EOPHistory
date
- date at which the correction is desiredPoleCorrection.NULL_CORRECTION
if date is outside covered range)TimeStampedCacheException
- for TimeStampedCache problemspublic NutationCorrection getNutationCorrection(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
getNutationCorrection
in interface EOPHistory
date
- date at which the correction is desiredNutationCorrection.NULL_CORRECTION
if date is outside covered range)public void checkEOPContinuity(double maxGap) throws PatriusException
maxGap
- maximal allowed gap between entries (in seconds)PatriusException
- if there are holes in the data sequenceCopyright © 2019 CNES. All Rights Reserved.