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 AbsoluteDate
getDate()
Get the date.double
getDeltaI()
Get the correction to the mean value of inclination.double
getDeltaT()
Get the correction to the mean value of Draconian period.double
getDeltaTDot()
Get the rate of change of Draconian period.double
getE()
Get the Eccentricity.int
getFrequencyChannel()
Get the frequency channel.double
getGlo2UTC()
Get the correction from GLONASS to UTC.double
getGloOffset()
Get the correction of time relative to GLONASS system time.double
getGPS2Glo()
Get the correction to GPS time relative GLONASS.int
getHealth()
Get the Health status.double
getLambda()
Get the longitude of ascending node of orbit.int
getN4()
Get the number of the current four year interval.int
getNa()
Get the number of the current day in a four year interval.double
getPa()
Get the Argument of Perigee.GLONASSAnalyticalPropagator
getPropagator()
Get the propagator corresponding to the navigation message.GLONASSAnalyticalPropagator
getPropagator(DataContext context)
Get the propagator corresponding to the navigation message.GLONASSAnalyticalPropagator
getPropagator(DataContext context, AttitudeProvider provider, Frame inertial, Frame bodyFixed, double mass)
Get the propagator corresponding to the navigation message.double
getTime()
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 frame
in the default data context.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOP
in 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:TimeStamped
Get the date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
getTime
public double getTime()
Description copied from interface:GLONASSOrbitalElements
Get the Reference Time.- Specified by:
getTime
in interfaceGLONASSOrbitalElements
- Returns:
- the Reference Time (s)
-
getLambda
public double getLambda()
Description copied from interface:GLONASSOrbitalElements
Get the longitude of ascending node of orbit.- Specified by:
getLambda
in interfaceGLONASSOrbitalElements
- Returns:
- the longitude of ascending node of orbit (rad)
-
getE
public double getE()
Description copied from interface:GLONASSOrbitalElements
Get the Eccentricity.- Specified by:
getE
in interfaceGLONASSOrbitalElements
- Returns:
- the Eccentricity
-
getPa
public double getPa()
Description copied from interface:GLONASSOrbitalElements
Get the Argument of Perigee.- Specified by:
getPa
in interfaceGLONASSOrbitalElements
- Returns:
- the Argument of Perigee (rad)
-
getDeltaI
public double getDeltaI()
Description copied from interface:GLONASSOrbitalElements
Get the correction to the mean value of inclination.- Specified by:
getDeltaI
in interfaceGLONASSOrbitalElements
- Returns:
- the correction to the mean value of inclination (rad)
-
getDeltaT
public double getDeltaT()
Description copied from interface:GLONASSOrbitalElements
Get the correction to the mean value of Draconian period.- Specified by:
getDeltaT
in interfaceGLONASSOrbitalElements
- Returns:
- the correction to the mean value of Draconian period (s)
-
getDeltaTDot
public double getDeltaTDot()
Description copied from interface:GLONASSOrbitalElements
Get the rate of change of Draconian period.- Specified by:
getDeltaTDot
in 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:GLONASSOrbitalElements
Get the number of the current day in a four year interval.- Specified by:
getNa
in interfaceGLONASSOrbitalElements
- Returns:
- the number of the current day in a four year interval
-
getN4
public int getN4()
Description copied from interface:GLONASSOrbitalElements
Get the number of the current four year interval.- Specified by:
getN4
in interfaceGLONASSOrbitalElements
- Returns:
- the number of the current four year interval
-
-