public class EOPHistory extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INTERPOLATION_DEGREE
Default interpolation degree.
|
Modifier | Constructor and Description |
---|---|
protected |
EOPHistory(IERSConventions conventions,
int interpolationDegree,
Collection<? extends EOPEntry> data,
boolean simpleEOP)
Simple constructor.
|
|
EOPHistory(IERSConventions conventions,
int interpolationDegree,
Collection<? extends EOPEntry> data,
boolean simpleEOP,
TimeScales timeScales)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cachesTidalCorrection()
Check if the instance caches tidal corrections.
|
void |
checkEOPContinuity(double maxGap)
Check Earth orientation parameters continuity.
|
IERSConventions |
getConventions()
Get the IERS conventions to which these EOP apply.
|
AbsoluteDate |
getEndDate()
Get the date of the last available Earth Orientation Parameters.
|
List<EOPEntry> |
getEntries()
Get a non-modifiable view of the EOP entries.
|
EOPHistory |
getEOPHistoryWithoutCachedTidalCorrection()
Get version of the instance that does not cache tidal correction.
|
double[] |
getEquinoxNutationCorrection(AbsoluteDate date)
Get the correction to the nutation parameters for equinox-based paradigm.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getEquinoxNutationCorrection(FieldAbsoluteDate<T> date)
Get the correction to the nutation parameters for equinox-based paradigm.
|
int |
getInterpolationDegree()
Get interpolation degree.
|
ITRFVersion |
getITRFVersion(AbsoluteDate date)
Get the ITRF version.
|
double |
getLOD(AbsoluteDate date)
Get the LoD (Length of Day) value.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getLOD(FieldAbsoluteDate<T> date)
Get the LoD (Length of Day) value.
|
protected Stream<EOPEntry> |
getNeighbors(AbsoluteDate central,
int n)
Get the entries surrounding a central date.
|
double[] |
getNonRotatinOriginNutationCorrection(AbsoluteDate date)
Get the correction to the nutation parameters for Non-Rotating Origin paradigm.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getNonRotatinOriginNutationCorrection(FieldAbsoluteDate<T> date)
Get the correction to the nutation parameters for Non-Rotating Origin paradigm.
|
PoleCorrection |
getPoleCorrection(AbsoluteDate date)
Get the pole IERS Reference Pole correction.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getPoleCorrection(FieldAbsoluteDate<T> date)
Get the pole IERS Reference Pole correction.
|
AbsoluteDate |
getStartDate()
Get the date of the first available Earth Orientation Parameters.
|
TimeScales |
getTimeScales()
Get the time scales used in computing EOP corrections.
|
double |
getUT1MinusUTC(AbsoluteDate date)
Get the UT1-UTC value.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getUT1MinusUTC(FieldAbsoluteDate<T> date)
Get the UT1-UTC value.
|
protected boolean |
hasDataFor(AbsoluteDate date)
Check if the cache has data for the given date using
getStartDate() and getEndDate() . |
boolean |
isSimpleEop()
Determine if this history uses simplified EOP corrections.
|
public static final int DEFAULT_INTERPOLATION_DEGREE
@DefaultDataContext protected EOPHistory(IERSConventions conventions, int interpolationDegree, Collection<? extends EOPEntry> data, boolean simpleEOP)
This method uses the default data context
.
conventions
- IERS conventions to which EOP refersinterpolationDegree
- interpolation degree (must be of the form 4k-1)data
- the EOP data to usesimpleEOP
- if true, tidal effects are ignored when interpolating EOPEOPHistory(IERSConventions, int, Collection, boolean, TimeScales)
public EOPHistory(IERSConventions conventions, int interpolationDegree, Collection<? extends EOPEntry> data, boolean simpleEOP, TimeScales timeScales)
conventions
- IERS conventions to which EOP refersinterpolationDegree
- interpolation degree (must be of the form 4k-1)data
- the EOP data to usesimpleEOP
- if true, tidal effects are ignored when interpolating EOPtimeScales
- to use when computing EOP corrections.public boolean isSimpleEop()
true
if tidal corrections are ignored, false
otherwise.public int getInterpolationDegree()
public TimeScales getTimeScales()
public EOPHistory getEOPHistoryWithoutCachedTidalCorrection()
public boolean cachesTidalCorrection()
public IERSConventions getConventions()
public AbsoluteDate getStartDate()
public AbsoluteDate getEndDate()
public double getUT1MinusUTC(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
date
- date at which the value is desiredpublic <T extends org.hipparchus.CalculusFieldElement<T>> T getUT1MinusUTC(FieldAbsoluteDate<T> date)
The data provided comes from the IERS files. It is smoothed data.
T
- type of the field elementsdate
- date at which the value is desiredprotected Stream<EOPEntry> getNeighbors(AbsoluteDate central, int n)
See hasDataFor(AbsoluteDate)
to determine if the cache has data
for central
without throwing an exception.
central
- central daten
- number of neighborspublic double getLOD(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
date
- date at which the value is desiredpublic <T extends org.hipparchus.CalculusFieldElement<T>> T getLOD(FieldAbsoluteDate<T> date)
The data provided comes from the IERS files. It is smoothed data.
T
- type of the filed elementsdate
- date at which the value is desiredpublic PoleCorrection getPoleCorrection(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
date
- date at which the correction is desiredPoleCorrection.NULL_CORRECTION
if date is outside covered range)public <T extends org.hipparchus.CalculusFieldElement<T>> FieldPoleCorrection<T> getPoleCorrection(FieldAbsoluteDate<T> date)
The data provided comes from the IERS files. It is smoothed data.
T
- type of the field elementsdate
- date at which the correction is desiredPoleCorrection.NULL_CORRECTION
if date is outside covered range)public double[] getEquinoxNutationCorrection(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
date
- date at which the correction is desiredpublic <T extends org.hipparchus.CalculusFieldElement<T>> T[] getEquinoxNutationCorrection(FieldAbsoluteDate<T> date)
The data provided comes from the IERS files. It is smoothed data.
T
- type of the field elementsdate
- date at which the correction is desiredpublic double[] getNonRotatinOriginNutationCorrection(AbsoluteDate date)
The data provided comes from the IERS files. It is smoothed data.
date
- date at which the correction is desiredpublic <T extends org.hipparchus.CalculusFieldElement<T>> T[] getNonRotatinOriginNutationCorrection(FieldAbsoluteDate<T> date)
The data provided comes from the IERS files. It is smoothed data.
T
- type of the filed elementsdate
- date at which the correction is desiredpublic ITRFVersion getITRFVersion(AbsoluteDate date)
date
- date at which the value is desiredpublic void checkEOPContinuity(double maxGap)
maxGap
- maximal allowed gap between entries (in seconds)protected boolean hasDataFor(AbsoluteDate date)
getStartDate()
and getEndDate()
.date
- the requested datecache
has data for the requested date, false
otherwise.Copyright © 2002-2023 CS GROUP. All rights reserved.