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 Details

    • 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 status
      day - the day of Almanac
      month - the month of Almanac
      year - the year of Almanac
      ta - 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 eccentricity
      deltaT - the correction to the mean value of Draconian period (s)
      deltaTDot - the rate of change of orbital period
      tGlo2UTC - 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

      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 status
      day - the day of Almanac
      month - the month of Almanac
      year - the year of Almanac
      ta - 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 eccentricity
      deltaT - the correction to the mean value of Draconian period (s)
      deltaTDot - the rate of change of orbital period
      tGlo2UTC - 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 Details

    • 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 the DEFAULT_MASS.
      The data context is by default to the default data context.
      The ECI frame is set by default to the EME2000 frame in the default data context.
      The ECEF frame is set by default to the CIO/2010-based ITRF simple EOP in the default data context.

      Returns:
      the propagator corresponding to the navigation message
      Since:
      12.0
      See Also:
    • 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 the DEFAULT_MASS.
      The ECI frame is set by default to the EME2000 frame.
      The ECEF frame is set by default to the CIO/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

      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 provider
      inertial - inertial frame, use to provide the propagated orbit
      bodyFixed - body fixed frame, corresponding to the navigation message
      mass - spacecraft mass in kg
      Returns:
      the propagator corresponding to the navigation message
      Since:
      12.0
      See Also:
    • getDate

      public AbsoluteDate getDate()
      Description copied from interface: TimeStamped
      Get the date.
      Specified by:
      getDate in interface TimeStamped
      Returns:
      date attached to the object
    • getTime

      public double getTime()
      Description copied from interface: GLONASSOrbitalElements
      Get the Reference Time.
      Specified by:
      getTime in interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      Returns:
      the Eccentricity
    • getPa

      public double getPa()
      Description copied from interface: GLONASSOrbitalElements
      Get the Argument of Perigee.
      Specified by:
      getPa in interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      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 interface GLONASSOrbitalElements
      Returns:
      the number of the current four year interval