org.orekit.frames
Class AbstractEOPHistory

java.lang.Object
  extended by org.orekit.frames.AbstractEOPHistory
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<TimeStamped>, EOPHistory
Direct Known Subclasses:
EOP1980History, EOP2000History

public abstract class AbstractEOPHistory
extends java.lang.Object
implements java.io.Serializable, EOPHistory

This class loads any kind of Earth Orientation Parameter data throughout a large time range.

Version:
$Revision: 3115 $ $Date: 2010-02-11 16:29:18 +0100 (jeu. 11 févr. 2010) $
Author:
Pascal Parraud
See Also:
Serialized Form

Field Summary
protected  double dtN
          Offset to next date.
protected  double dtP
          Offset from previous date.
protected  java.util.SortedSet<TimeStamped> entries
          EOP history entries.
protected  EOPEntry next
          Next EOP entry.
protected  EOPEntry previous
          Previous EOP entry.
 
Constructor Summary
protected AbstractEOPHistory()
          Simple constructor.
 
Method Summary
 void checkEOPContinuity(double maxGap)
          Check Earth orientation parameters continuity.
 AbsoluteDate getEndDate()
          Get the date of the last available Earth Orientation Parameters.
 double getLOD(AbsoluteDate date)
          Get the LoD (Length of Day) value.
 AbsoluteDate getStartDate()
          Get the date of the first available Earth Orientation Parameters.
 double getUT1MinusUTC(AbsoluteDate date)
          Get the UT1-UTC value.
 java.util.Iterator<TimeStamped> iterator()
          
protected  boolean prepareInterpolation(AbsoluteDate date)
          Prepare interpolation between two entries.
protected  boolean selectBracketingEntries(AbsoluteDate date)
          Select the entries bracketing a specified date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entries

protected final java.util.SortedSet<TimeStamped> entries
EOP history entries.


previous

protected EOPEntry previous
Previous EOP entry.


next

protected EOPEntry next
Next EOP entry.


dtP

protected double dtP
Offset from previous date.


dtN

protected double dtN
Offset to next date.

Constructor Detail

AbstractEOPHistory

protected AbstractEOPHistory()
Simple constructor.

Method Detail

iterator

public java.util.Iterator<TimeStamped> iterator()

Specified by:
iterator in interface java.lang.Iterable<TimeStamped>

getStartDate

public AbsoluteDate getStartDate()
Get the date of the first available Earth Orientation Parameters.

Specified by:
getStartDate in interface EOPHistory
Returns:
the start date of the available data

getEndDate

public AbsoluteDate getEndDate()
Get the date of the last available Earth Orientation Parameters.

Specified by:
getEndDate in interface EOPHistory
Returns:
the end date of the available data

getUT1MinusUTC

public double getUT1MinusUTC(AbsoluteDate date)
Get the UT1-UTC value.

The data provided comes from the IERS files. It is smoothed data.

Specified by:
getUT1MinusUTC in interface EOPHistory
Parameters:
date - date at which the value is desired
Returns:
UT1-UTC in seconds (0 if date is outside covered range)

getLOD

public double getLOD(AbsoluteDate date)
Get the LoD (Length of Day) value.

The data provided comes from the IERS files. It is smoothed data.

Specified by:
getLOD in interface EOPHistory
Parameters:
date - date at which the value is desired
Returns:
LoD in seconds (0 if date is outside covered range)

prepareInterpolation

protected boolean prepareInterpolation(AbsoluteDate date)
Prepare interpolation between two entries.

Parameters:
date - target date
Returns:
true if there are entries bracketing the target date

selectBracketingEntries

protected boolean selectBracketingEntries(AbsoluteDate date)
Select the entries bracketing a specified date.

If the date is either before the first entry or after the last entry, previous and next will be set to null.

Parameters:
date - target date
Returns:
true if the date was found in the tables

checkEOPContinuity

public void checkEOPContinuity(double maxGap)
                        throws OrekitException
Check Earth orientation parameters continuity.

Parameters:
maxGap - maximal allowed gap between entries (in seconds)
Throws:
OrekitException - if there are holes in the data sequence


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.