Class GPSAlmanac
java.lang.Object
org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements<GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.GPSAlmanac
- All Implemented Interfaces:
OrbitalParameters,GNSSClockElements,TimeStamped
This class holds a GPS almanac as read from SEM or YUMA files.
Depending on the source (SEM or YUMA), some fields may be filled in or not. An almanac read from a YUMA file doesn't hold SVN number, average URA and satellite configuration.
- Since:
- 8.0
- Author:
- Pascal Parraud
-
Constructor Summary
ConstructorsConstructorDescriptionGPSAlmanac(FieldGPSAlmanac<T> original) Constructor from field instance.GPSAlmanac(TimeScales timeScales, int prn, GNSSDate toe, KeplerianOrbit orbit, double aDot, double deltaN0, double deltaN0Dot, double iDot, double omegaDot, double cuc, double cus, double crc, double crs, double cic, double cis, double af0, double af1, double af2, double tgd, GNSSDate toc, String source, int svn, int health, int ura, int satConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbaseFactory(Frame inertial, Frame bodyFixed) Factory for the orbital elements.intGet the Health status.intGet the satellite configuration.Get the source of this GPS almanac.intgetSVN()Get the satellite "SVN" reference number.intgetURA()Get the average URA number.<T extends CalculusFieldElement<T>>
FieldGPSAlmanac<T> toField(FieldKeplerianOrbit<T> orbit, T[] nonKeplerian, DoubleFunction<T> converter) Create another field version of the instance.Methods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
factory, getADot, getAf0, getAf1, getAf2, getAngularVelocity, getCic, getCis, getCrc, getCrs, getCuc, getCus, getCycleDuration, getDate, getDeltaN0, getDeltaN0Dot, getIDot, getOmegaDot, getOrbit, getPrn, getTgd, getTimeOfClock, getTimeOfEphemeris, getTimeScales, getType, getWeeksInCycle, isCivilianMessage, toFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
Constructor Details
-
GPSAlmanac
public GPSAlmanac(TimeScales timeScales, int prn, GNSSDate toe, KeplerianOrbit orbit, double aDot, double deltaN0, double deltaN0Dot, double iDot, double omegaDot, double cuc, double cus, double crc, double crs, double cic, double cis, double af0, double af1, double af2, double tgd, GNSSDate toc, String source, int svn, int health, int ura, int satConfiguration) Constructor.- Parameters:
timeScales- known time scalesprn- PRN number of the satellitetoe- time of ephemeris (must be consistent withorbit)orbit- Keplerian orbit in Earth-frozen frameaDot- change rate in semi-major axis (m/s)deltaN0- delta of satellite mean motiondeltaN0Dot- change rate in Δn₀iDot- inclination rate (rad/s)omegaDot- rate of right ascension (rad/s)cuc- amplitude of the cosine harmonic correction term to the argument of latitudecus- amplitude of the sine harmonic correction term to the argument of latitudecrc- amplitude of the cosine harmonic correction term to the orbit radiuscrs- amplitude of the sine harmonic correction term to the orbit radiuscic- amplitude of the cosine harmonic correction term to the inclinationcis- amplitude of the sine harmonic correction term to the inclinationaf0- zero-th order clock correction (s)af1- first order clock correction (s/s)af2- second order clock correction (s/s²)tgd- group delay differential TGD for L1-L2 correctiontoc- time of clocksource- source of the almanacsvn- SVN numberhealth- health statusura- average URAsatConfiguration- satellite configuration
-
GPSAlmanac
Constructor from field instance.- Type Parameters:
T- type of the field elements- Parameters:
original- regular field instance
-
-
Method Details
-
toField
public <T extends CalculusFieldElement<T>> FieldGPSAlmanac<T> toField(FieldKeplerianOrbit<T> orbit, T[] nonKeplerian, DoubleFunction<T> converter) Create another field version of the instance.- Specified by:
toFieldin classGNSSOrbitalElements<GPSAlmanac>- Type Parameters:
T- type of the field elements- Parameters:
orbit- orbit in the correct gradient fieldnonKeplerian- non-Keplerian parametersconverter- converter for remaining elements- Returns:
- gradient version of the instance
-
getSource
Get the source of this GPS almanac.Sources can be SEM or YUMA, when the almanac is read from a file.
- Returns:
- the source of this GPS almanac
-
getSVN
public int getSVN()Get the satellite "SVN" reference number.- Returns:
- the satellite "SVN" reference number
-
getHealth
public int getHealth()Get the Health status.- Returns:
- the Health status
-
getURA
public int getURA()Get the average URA number.- Returns:
- the average URA number
-
getSatConfiguration
public int getSatConfiguration()Get the satellite configuration.- Returns:
- the satellite configuration
-
baseFactory
Factory for the orbital elements.- Specified by:
baseFactoryin classGNSSOrbitalElements<GPSAlmanac>- Parameters:
inertial- reference inertial framebodyFixed- body fixed frame (will be frozen atdateto build the orbital elements- Returns:
- factory for the orbital elements
-