Class GLONASSAlmanac
- java.lang.Object
-
- org.orekit.propagation.analytical.gnss.data.GLONASSAlmanac
-
- All Implemented Interfaces:
GLONASSOrbitalElements,TimeStamped
public class GLONASSAlmanac extends Object implements GLONASSOrbitalElements
This class holds a GLONASS almanac as read from .agl files.- Since:
- 10.0
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description GLONASSAlmanac(int channel, int health, int day, int month, int year, double ta, double lambda, double deltaI, double pa, double ecc, double deltaT, double deltaTDot, double tGlo2UTC, double tGPS2Glo, double tGlo)Constructor.GLONASSAlmanac(int channel, int health, int day, int month, int year, double ta, double lambda, double deltaI, double pa, double ecc, double deltaT, double deltaTDot, double tGlo2UTC, double tGPS2Glo, double tGlo, TimeScale glonass)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDategetDate()Get the date.doublegetDeltaI()Get the correction to the mean value of inclination.doublegetDeltaT()Get the correction to the mean value of Draconian period.doublegetDeltaTDot()Get the rate of change of Draconian period.doublegetE()Get the Eccentricity.intgetFrequencyChannel()Get the frequency channel.doublegetGlo2UTC()Get the correction from GLONASS to UTC.doublegetGloOffset()Get the correction of time relative to GLONASS system time.doublegetGPS2Glo()Get the correction to GPS time relative GLONASS.intgetHealth()Get the Health status.doublegetLambda()Get the longitude of ascending node of orbit.intgetN4()Get the number of the current four year interval.intgetNa()Get the number of the current day in a four year interval.doublegetPa()Get the Argument of Perigee.GLONASSAnalyticalPropagatorgetPropagator()Get the propagator corresponding to the navigation message.GLONASSAnalyticalPropagatorgetPropagator(DataContext context)Get the propagator corresponding to the navigation message.GLONASSAnalyticalPropagatorgetPropagator(DataContext context, AttitudeProvider provider, Frame inertial, Frame bodyFixed, double mass)Get the propagator corresponding to the navigation message.doublegetTime()Get the Reference Time.-
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.GLONASSOrbitalElements
getGammaN, getIOD, getTN, getX, getXDot, getXDotDot, getY, getYDot, getYDotDot, getZ, getZDot, getZDotDot
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
GLONASSAlmanac
@DefaultDataContext public GLONASSAlmanac(int channel, int health, int day, int month, int year, double ta, double lambda, double deltaI, double pa, double ecc, double deltaT, double deltaTDot, double tGlo2UTC, double tGPS2Glo, double tGlo)
Constructor.This method uses the
default data context.- Parameters:
channel- the frequency channel from -7 to 6)health- the Health statusday- the day of Almanacmonth- the month of Almanacyear- the year of Almanacta- the reference time of the almanac (s)lambda- the Greenwich longitude of ascending node of orbit (rad)deltaI- the correction to the mean value of inclination (rad)pa- the argument of perigee (rad)ecc- the eccentricitydeltaT- the correction to the mean value of Draconian period (s)deltaTDot- the rate of change of orbital periodtGlo2UTC- the correction from GLONASS to UTC (s)tGPS2Glo- the correction to GPS time relative GLONASS (s)tGlo- the correction of time relative to GLONASS system time (s)- See Also:
GLONASSAlmanac(int, int, int, int, int, double, double, double, double, double, double, double, double, double, double, TimeScale)
-
GLONASSAlmanac
public GLONASSAlmanac(int channel, int health, int day, int month, int year, double ta, double lambda, double deltaI, double pa, double ecc, double deltaT, double deltaTDot, double tGlo2UTC, double tGPS2Glo, double tGlo, TimeScale glonass)Constructor.- Parameters:
channel- the frequency channel from -7 to 6)health- the Health statusday- the day of Almanacmonth- the month of Almanacyear- the year of Almanacta- the reference time of the almanac (s)lambda- the Greenwich longitude of ascending node of orbit (rad)deltaI- the correction to the mean value of inclination (rad)pa- the argument of perigee (rad)ecc- the eccentricitydeltaT- the correction to the mean value of Draconian period (s)deltaTDot- the rate of change of orbital periodtGlo2UTC- the correction from GLONASS to UTC (s)tGPS2Glo- the correction to GPS time relative GLONASS (s)tGlo- the correction of time relative to GLONASS system time (s)glonass- GLONASS time scale.- Since:
- 10.1
-
-
Method Detail
-
getPropagator
@DefaultDataContext public GLONASSAnalyticalPropagator getPropagator()
Get the propagator corresponding to the navigation message.The attitude provider is set by default to be aligned with the EME2000 frame.
The mass is set by default to theDEFAULT_MASS.
The data context is by default to thedefault data context.
The ECI frame is set by default to theEME2000 framein the default data context.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOPin the default data context.- Returns:
- the propagator corresponding to the navigation message
- Since:
- 12.0
- See Also:
getPropagator(DataContext),getPropagator(DataContext, AttitudeProvider, Frame, Frame, double)
-
getPropagator
public GLONASSAnalyticalPropagator getPropagator(DataContext context)
Get the propagator corresponding to the navigation message.The attitude provider is set by default to be aligned with the EME2000 frame.
The mass is set by default to theDEFAULT_MASS.
The ECI frame is set by default to theEME2000 frame.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOP.- Parameters:
context- the data context to use for frames and time scales.- Returns:
- the propagator corresponding to the navigation message
- Since:
- 12.0
- See Also:
getPropagator(),getPropagator(DataContext, AttitudeProvider, Frame, Frame, double)
-
getPropagator
public GLONASSAnalyticalPropagator getPropagator(DataContext context, AttitudeProvider provider, Frame inertial, Frame bodyFixed, double mass)
Get the propagator corresponding to the navigation message.- Parameters:
context- the data context to use for frames and time scales.provider- attitude providerinertial- inertial frame, use to provide the propagated orbitbodyFixed- body fixed frame, corresponding to the navigation messagemass- spacecraft mass in kg- Returns:
- the propagator corresponding to the navigation message
- Since:
- 12.0
- See Also:
getPropagator(),getPropagator(DataContext)
-
getDate
public AbsoluteDate getDate()
Description copied from interface:TimeStampedGet the date.- Specified by:
getDatein interfaceTimeStamped- Returns:
- date attached to the object
-
getTime
public double getTime()
Description copied from interface:GLONASSOrbitalElementsGet the Reference Time.- Specified by:
getTimein interfaceGLONASSOrbitalElements- Returns:
- the Reference Time (s)
-
getLambda
public double getLambda()
Description copied from interface:GLONASSOrbitalElementsGet the longitude of ascending node of orbit.- Specified by:
getLambdain interfaceGLONASSOrbitalElements- Returns:
- the longitude of ascending node of orbit (rad)
-
getE
public double getE()
Description copied from interface:GLONASSOrbitalElementsGet the Eccentricity.- Specified by:
getEin interfaceGLONASSOrbitalElements- Returns:
- the Eccentricity
-
getPa
public double getPa()
Description copied from interface:GLONASSOrbitalElementsGet the Argument of Perigee.- Specified by:
getPain interfaceGLONASSOrbitalElements- Returns:
- the Argument of Perigee (rad)
-
getDeltaI
public double getDeltaI()
Description copied from interface:GLONASSOrbitalElementsGet the correction to the mean value of inclination.- Specified by:
getDeltaIin interfaceGLONASSOrbitalElements- Returns:
- the correction to the mean value of inclination (rad)
-
getDeltaT
public double getDeltaT()
Description copied from interface:GLONASSOrbitalElementsGet the correction to the mean value of Draconian period.- Specified by:
getDeltaTin interfaceGLONASSOrbitalElements- Returns:
- the correction to the mean value of Draconian period (s)
-
getDeltaTDot
public double getDeltaTDot()
Description copied from interface:GLONASSOrbitalElementsGet the rate of change of Draconian period.- Specified by:
getDeltaTDotin interfaceGLONASSOrbitalElements- Returns:
- the rate of change of Draconian period
-
getHealth
public int getHealth()
Get the Health status.- Returns:
- the Health status
-
getFrequencyChannel
public int getFrequencyChannel()
Get the frequency channel.- Returns:
- the frequency channel
-
getGlo2UTC
public double getGlo2UTC()
Get the correction from GLONASS to UTC.- Returns:
- the correction from GLONASS to UTC (s)
-
getGPS2Glo
public double getGPS2Glo()
Get the correction to GPS time relative GLONASS.- Returns:
- the to GPS time relative GLONASS (s)
-
getGloOffset
public double getGloOffset()
Get the correction of time relative to GLONASS system time.- Returns:
- the correction of time relative to GLONASS system time (s)
-
getNa
public int getNa()
Description copied from interface:GLONASSOrbitalElementsGet the number of the current day in a four year interval.- Specified by:
getNain interfaceGLONASSOrbitalElements- Returns:
- the number of the current day in a four year interval
-
getN4
public int getN4()
Description copied from interface:GLONASSOrbitalElementsGet the number of the current four year interval.- Specified by:
getN4in interfaceGLONASSOrbitalElements- Returns:
- the number of the current four year interval
-
-