public class RinexNavigationEphemeris extends Object implements IGpsElements, IAvailability, IEquatable<RinexNavigationEphemeris>
PseudoRandomNumber
(get
).Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
static boolean |
equals(RinexNavigationEphemeris left,
RinexNavigationEphemeris right)
Returns
true if the two instances are exactly equal. |
boolean |
equalsType(RinexNavigationEphemeris other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getAccuracy()
Gets the Sv accuracy.
|
double |
getArgumentOfPerigee()
Gets the argument of perigee.
|
TimeIntervalCollection |
getAvailabilityIntervals()
Gets a
TimeIntervalCollection over which data is available. |
TimeIntervalCollection |
getAvailabilityIntervals(TimeIntervalCollection consideredIntervals)
Gets the intervals over which data is available.
|
double |
getClockBias()
Gets the clock bias.
|
double |
getClockDrift()
Gets the clock drift.
|
double |
getClockDriftRate()
Gets the clock drift rate.
|
double |
getCosineCorrectionToArgumentOfLatitude()
Gets the amplitude of the cosine harmonic correction term to the Argument of Latitude.
|
double |
getCosineCorrectionToInclination()
Gets the amplitude of the cosine harmonic correction term to the angle of inclination.
|
double |
getCosineCorrectionToOrbitRadius()
Gets the amplitude of the sine harmonic correction term to the orbit radius.
|
boolean |
getDefaultValuesUsed()
Gets a value indicating whether or not the default value is used for any parameter.
|
double |
getEccentricity()
Gets eccentricity.
|
GlobalPositioningSystemDate |
getEpoch()
Gets the epoch at which these elements are specified.
|
double |
getFitInterval()
Gets the fit interval representing the duration in hours for which this ephemeris is valid.
|
double |
getGpsWeek()
Gets the GPS Week # (to go with
TimeOfEphemeris (get )). |
double |
getGroupDelayDifferential()
Gets the group delay differential (tgd) in seconds.
|
double |
getHealth()
Gets the Sv health (bits 17-22 w 3 sf 1).
|
double |
getInclinationAngle()
Gets the inclination angle.
|
double |
getIssueOfData()
Gets the issue of data ephemeris (IODE).
|
double |
getIssueOfDataClock()
Gets the issue of data clock (IODC).
|
double |
getL2Channel()
Gets the codes on L2 channel.
|
double |
getL2PDataFlag()
Gets the L2 P data flag.
|
double |
getLongitudeOfAscendingNode()
Gets the longitude of ascending node of orbit plane at weekly epoch.
|
double |
getMeanAnomaly()
Gets the mean anomaly.
|
double |
getMeanMotionDifference()
Gets the mean motion difference from computed value.
|
int |
getPseudoRandomNumber()
Gets the Pseudo Random Number (PRN).
|
double |
getRateOfInclinationAngle()
Gets the rate of inclination angle (IDOT).
|
double |
getRateOfRightAscension()
Gets the rate of right ascension.
|
double |
getSineCorrectionToArgumentOfLatitude()
Gets the amplitude of the sine harmonic correction term to the Argument of Latitude.
|
double |
getSineCorrectionToInclination()
Gets the amplitude of the sine harmonic correction term to the angle of inclination.
|
double |
getSineCorrectionToOrbitRadius()
Gets the amplitude of the sine harmonic correction term to the orbit radius.
|
double |
getSquareRootOfSemimajorAxis()
Gets the square root of the semi-major axis (sqrt(meters)).
|
JulianDate |
getTimeOfClock()
Gets GPS date of the time of clock of the message.
|
double |
getTimeOfEphemeris()
Gets the time of ephemeris (TOE).
|
GlobalPositioningSystemDate |
getTimeOfEphemerisGpsDate()
Gets the GPS date of the time of ephemeris of the message.
|
double |
getTransmissionTime()
Gets the transmission time of the message in seconds of the
GpsWeek (get ). |
GlobalPositioningSystemDate |
getTransmissionTimeGpsDate()
Gets the GPS date of the transmission time of the message.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
boolean |
isAvailable(JulianDate date)
Determines if valid data is available for the given
JulianDate . |
static boolean |
notEquals(RinexNavigationEphemeris left,
RinexNavigationEphemeris right)
Returns
true if the two instances are not exactly equal. |
static RinexNavigationEphemeris |
readEphemeris(String[] ephemerisBlock)
Parse a block of eight lines representing a single ephemeris block formatted according to
the RINEX Navigation file 2.10 standard.
|
public final TimeIntervalCollection getAvailabilityIntervals(TimeIntervalCollection consideredIntervals)
getAvailabilityIntervals
in interface IAvailability
consideredIntervals
- The intervals over which availability information is needed. Note that the returned availability
intervals may indicate availability outside of these intervals of consideration.public final boolean isAvailable(@Nonnull JulianDate date)
JulianDate
.isAvailable
in interface IAvailability
date
- The date for which to check availability.true
if valid data is available for this date; otherwise false
.public final TimeIntervalCollection getAvailabilityIntervals()
TimeIntervalCollection
over which data is available.
If the availability interval is infinite, this returns
Infinite
(get
).
It is recommended that you call RinexNavigationEphemeris.isAvailable(agi.foundation.time.JulianDate)
to determine availability instead of
calling this method and checking for yourself.
@Nonnull public static RinexNavigationEphemeris readEphemeris(@Nonnull String[] ephemerisBlock)
ephemerisBlock
- A block of eight lines to parse.IllegalStateException
- Thrown when an invalid PRN is read from the block of dataArgumentNullException
- Thrown when ephemerisBlock
is null
.public final int getPseudoRandomNumber()
@Nonnull public final GlobalPositioningSystemDate getEpoch()
getEpoch
in interface IGpsElements
public final double getClockBias()
public final double getClockDrift()
public final double getClockDriftRate()
public final double getInclinationAngle()
rad
getInclinationAngle
in interface IGpsElements
public final double getMeanAnomaly()
rad
getMeanAnomaly
in interface IGpsElements
public final double getArgumentOfPerigee()
rad
getArgumentOfPerigee
in interface IGpsElements
public final double getRateOfRightAscension()
rad / s
getRateOfRightAscension
in interface IGpsElements
public final double getLongitudeOfAscendingNode()
rad
getLongitudeOfAscendingNode
in interface IGpsElements
public final double getCosineCorrectionToArgumentOfLatitude()
rad
getCosineCorrectionToArgumentOfLatitude
in interface IGpsElements
public final double getCosineCorrectionToInclination()
rad
getCosineCorrectionToInclination
in interface IGpsElements
public final double getCosineCorrectionToOrbitRadius()
m
getCosineCorrectionToOrbitRadius
in interface IGpsElements
public final double getEccentricity()
unitless
getEccentricity
in interface IGpsElements
public final double getIssueOfData()
getIssueOfData
in interface IGpsElements
public final double getIssueOfDataClock()
public final double getMeanMotionDifference()
rad / s
getMeanMotionDifference
in interface IGpsElements
public final double getRateOfInclinationAngle()
rad / s
getRateOfInclinationAngle
in interface IGpsElements
public final double getSineCorrectionToArgumentOfLatitude()
rad
getSineCorrectionToArgumentOfLatitude
in interface IGpsElements
public final double getSineCorrectionToInclination()
rad
getSineCorrectionToInclination
in interface IGpsElements
public final double getSineCorrectionToOrbitRadius()
m
getSineCorrectionToOrbitRadius
in interface IGpsElements
public final double getSquareRootOfSemimajorAxis()
sqrt(m)
getSquareRootOfSemimajorAxis
in interface IGpsElements
public final double getTimeOfEphemeris()
public final double getL2Channel()
public final double getGpsWeek()
TimeOfEphemeris
(get
)).public final double getTransmissionTime()
GpsWeek
(get
).
Derived e.g. from Z-count in Hand Over Word (HOW).
@Nonnull public final GlobalPositioningSystemDate getTransmissionTimeGpsDate()
This date is adjusted for GPS week rollovers. If there is a difference of more than 302400 seconds
between the transmission time and the TimeOfEphemerisGpsDate
(get
), the transmission time will be adjusted. See
IS GPS-200D, page 97 for details.
@Nonnull public final GlobalPositioningSystemDate getTimeOfEphemerisGpsDate()
@Nonnull public final JulianDate getTimeOfClock()
public final double getFitInterval()
public final double getL2PDataFlag()
public final double getAccuracy()
m
public final double getHealth()
public final double getGroupDelayDifferential()
public final boolean getDefaultValuesUsed()
public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to this instance.true
if obj
is an instance of this type and represents the same value as this instance; otherwise false
.Object.hashCode()
,
HashMap
public final boolean equalsType(RinexNavigationEphemeris other)
equalsType
in interface IEquatable<RinexNavigationEphemeris>
other
- The instance to compare to this instance.true
if other
represents the same value as this instance; otherwise false
.public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public static boolean equals(RinexNavigationEphemeris left, RinexNavigationEphemeris right)
true
if the two instances are exactly equal.left
- The instance to compare to right
.right
- The instance to compare to left
.true
if left
represents the same value as right
; otherwise false
.public static boolean notEquals(RinexNavigationEphemeris left, RinexNavigationEphemeris right)
true
if the two instances are not exactly equal.left
- The instance to compare to right
.right
- The instance to compare to left
.true
if left
does not represent the same value as right
; otherwise false
.