Class GPSAlmanac
- java.lang.Object
-
- org.orekit.propagation.analytical.gnss.data.CommonGnssData
-
- org.orekit.propagation.analytical.gnss.data.AbstractAlmanac
-
- org.orekit.propagation.analytical.gnss.data.GPSAlmanac
-
- All Implemented Interfaces:
GNSSClockElements,GNSSOrbitalElements,TimeStamped
public class GPSAlmanac extends AbstractAlmanac implements GNSSClockElements
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
Constructors Constructor Description GPSAlmanac()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHealth()Gets the Health status.intgetSatConfiguration()Gets the satellite configuration.StringgetSource()Gets the source of this GPS almanac.intgetSVN()Gets the satellite "SVN" reference number.doublegetTGD()Gets for the Group Delay Differential (s).intgetURA()Gets the average URA number.voidsetHealth(int health)Sets the health status.voidsetSatConfiguration(int satConfiguration)Sets the satellite configuration.voidsetSource(String source)Sets the source of this GPS almanac.voidsetSqrtA(double sqrtA)Setter for the Square Root of Semi-Major Axis (m^1/2).voidsetSVN(int svnNumber)Sets the "SVN" reference number.voidsetURA(int uraNumber)Sets the average URA number.-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.AbstractAlmanac
getAf2, getCic, getCis, getCrc, getCrs, getCuc, getCus, getIDot, getMeanMotion
-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.CommonGnssData
getAf0, getAf1, getAngularVelocity, getCycleDuration, getDate, getE, getI0, getM0, getMu, getOmega0, getOmegaDot, getPa, getPRN, getSma, getTime, getWeek, setAf0, setAf1, setDate, setE, setI0, setM0, setOmega0, setOmegaDot, setPa, setPRN, setSma, setTime, setWeek
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.analytical.gnss.data.GNSSClockElements
getAf0, getAf1, getAf2, getCycleDuration, getToc
-
Methods inherited from interface org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
getAngularVelocity, getCycleDuration, getE, getI0, getM0, getMu, getOmega0, getOmegaDot, getPa, getPRN, getPropagator, getPropagator, getPropagator, getSma, getTime, getWeek
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom, getDate
-
-
-
-
Method Detail
-
setSqrtA
public void setSqrtA(double sqrtA)
Setter for the Square Root of Semi-Major Axis (m^1/2).In addition, this method set the value of the Semi-Major Axis.
- Parameters:
sqrtA- the Square Root of Semi-Major Axis (m^1/2)
-
getSource
public String getSource()
Gets 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
-
setSource
public void setSource(String source)
Sets the source of this GPS almanac.- Parameters:
source- the source of this GPS almanac
-
getSVN
public int getSVN()
Gets the satellite "SVN" reference number.- Returns:
- the satellite "SVN" reference number
-
setSVN
public void setSVN(int svnNumber)
Sets the "SVN" reference number.- Parameters:
svnNumber- the number to set
-
getHealth
public int getHealth()
Gets the Health status.- Returns:
- the Health status
-
setHealth
public void setHealth(int health)
Sets the health status.- Parameters:
health- the health status to set
-
getURA
public int getURA()
Gets the average URA number.- Returns:
- the average URA number
-
setURA
public void setURA(int uraNumber)
Sets the average URA number.- Parameters:
uraNumber- the URA number to set
-
getSatConfiguration
public int getSatConfiguration()
Gets the satellite configuration.- Returns:
- the satellite configuration
-
setSatConfiguration
public void setSatConfiguration(int satConfiguration)
Sets the satellite configuration.- Parameters:
satConfiguration- the satellite configuration to set
-
getTGD
public double getTGD()
Gets for the Group Delay Differential (s).- Specified by:
getTGDin interfaceGNSSClockElements- Returns:
- the Group Delay Differential in seconds
-
-