Class GPSAlmanac
- java.lang.Object
-
- org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
-
- org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements<O>
-
- org.orekit.propagation.analytical.gnss.data.CommonGnssData<O>
-
- org.orekit.propagation.analytical.gnss.data.AbstractAlmanac<GPSAlmanac>
-
- org.orekit.propagation.analytical.gnss.data.GPSAlmanac
-
- All Implemented Interfaces:
GNSSClockElements
,TimeStamped
,ParameterDriversProvider
public class GPSAlmanac extends AbstractAlmanac<GPSAlmanac>
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
-
-
Field Summary
-
Fields inherited from class org.orekit.propagation.analytical.gnss.data.CommonGnssData
AF0, AF1, AF2
-
Fields inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
ARGUMENT_OF_PERIGEE, ECCENTRICITY, INCLINATION, MEAN_ANOMALY, NODE_LONGITUDE, SEMI_MAJOR_AXIS
-
Fields inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
CIC_INDEX, CIS_INDEX, CRC_INDEX, CRS_INDEX, CUC_INDEX, CUS_INDEX, I_DOT_INDEX, INCLINATION_COSINE, INCLINATION_RATE, INCLINATION_SINE, LATITUDE_COSINE, LATITUDE_SINE, LONGITUDE_RATE, OMEGA_DOT_INDEX, RADIUS_COSINE, RADIUS_SINE, SIZE, TIME, TIME_INDEX
-
-
Constructor Summary
Constructors Constructor Description GPSAlmanac(FieldGPSAlmanac<T> original)
Constructor from field instance.GPSAlmanac(TimeScales timeScales, SatelliteSystem system)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHealth()
Gets the Health status.int
getSatConfiguration()
Gets the satellite configuration.String
getSource()
Gets the source of this GPS almanac.int
getSVN()
Gets the satellite "SVN" reference number.int
getURA()
Gets the average URA number.void
setHealth(int health)
Sets the health status.void
setSatConfiguration(int satConfiguration)
Sets the satellite configuration.void
setSource(String source)
Sets the source of this GPS almanac.void
setSqrtA(double sqrtA)
Setter for the Square Root of Semi-Major Axis (m^1/2).void
setSVN(int svnNumber)
Sets the "SVN" reference number.void
setURA(int uraNumber)
Sets the average URA number.<T extends CalculusFieldElement<T>,F extends FieldGnssOrbitalElements<T,GPSAlmanac>>
FtoField(Field<T> field)
Create a field version of the instance.-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.AbstractAlmanac
getPropagator, getPropagator, getPropagator
-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.CommonGnssData
getAf0, getAf1, getAf2, getTGD, getToc, setAf0, setAf1, setAf2, setTGD, setToc
-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
getADot, getDate, getDeltaN0, getDeltaN0Dot, getE, getEDriver, getI0, getI0Driver, getM0, getM0Driver, getMeanMotion0, getMu, getOmega0, getOmega0Driver, getPa, getPaDriver, getSma, getSmaDriver, setE, setGnssDate, setI0, setM0, setOmega0, setPa, setSma
-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
copySelectionSettings, createDriver, getAngularVelocity, getCic, getCicDriver, getCis, getCisDriver, getCrc, getCrcDriver, getCrs, getCrsDriver, getCuc, getCucDriver, getCus, getCusDriver, getCycleDuration, getIDot, getIDotDriver, getOmegaDot, getOmegaDotDriver, getParametersDrivers, getPRN, getSystem, getTime, getTimeDriver, getTimeScales, getWeek, getWeeksInCycle, setCic, setCis, setCrc, setCrs, setCuc, setCus, setIDot, setOmegaDot, setPRN, 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.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom, getDate
-
-
-
-
Constructor Detail
-
GPSAlmanac
public GPSAlmanac(TimeScales timeScales, SatelliteSystem system)
Constructor.- Parameters:
timeScales
- known time scalessystem
- satellite system to consider for interpreting week number (may be different from real system, for example in Rinex nav, weeks are always according to GPS)
-
GPSAlmanac
public GPSAlmanac(FieldGPSAlmanac<T> original)
Constructor from field instance.- Type Parameters:
T
- type of the field elements- Parameters:
original
- regular field instance
-
-
Method Detail
-
toField
public <T extends CalculusFieldElement<T>,F extends FieldGnssOrbitalElements<T,GPSAlmanac>> F toField(Field<T> field)
Create a field version of the instance.- Specified by:
toField
in classGNSSOrbitalElements<GPSAlmanac>
- Type Parameters:
T
- type of the field elementsF
- type of the orbital elements (field version)- Parameters:
field
- field to which elements belong- Returns:
- field version of the instance
-
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
-
-