Class FieldGPSAlmanac<T extends CalculusFieldElement<T>>

java.lang.Object
org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements<T,GPSAlmanac>
org.orekit.propagation.analytical.gnss.data.FieldGPSAlmanac<T>
Type Parameters:
T - type of the field elements
All Implemented Interfaces:
FieldOrbitalParameters<T>, FieldGNSSClockElements<T>, FieldTimeStamped<T>

public class FieldGPSAlmanac<T extends CalculusFieldElement<T>> extends FieldGnssOrbitalElements<T,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:
13.0
Author:
Luc Maisonobe
  • Constructor Details

    • FieldGPSAlmanac

      public FieldGPSAlmanac(double angularVelocity, int weeksInCycle, TimeScales timeScales, String type, int prn, FieldGNSSDate<T> toe, FieldKeplerianOrbit<T> orbit, T[] nonKeplerian, T tgd, FieldGNSSDate<T> toc, String source, int svn, int health, int ura, int satConfiguration)
      Creates a new instance.
      Parameters:
      angularVelocity - mean angular velocity of the Earth for the GNSS model
      weeksInCycle - number of weeks in the GNSS cycle
      timeScales - known time scales
      type - type (null if not a navigation message)
      prn - PRN number of the satellite
      toe - time of ephemeris (must be consistent with orbit)
      orbit - Keplerian orbit in Earth-frozen frame
      nonKeplerian - 15 non-Keplerian parameters (in the order given by NonKeplerianDriversFactory
      tgd - group delay differential TGD for L1-L2 correction
      toc - time of clock
      source - source of the almanac
      svn - SVN number
      health - health status
      ura - average URA
      satConfiguration - satellite configuration
      Since:
      14.0
  • Method Details

    • toNonField

      public GPSAlmanac toNonField()
      Create a non-field version of the instance.
      Specified by:
      toNonField in class FieldGnssOrbitalElements<T extends CalculusFieldElement<T>,GPSAlmanac>
      Returns:
      non-field version of the instance
    • toField

      public <U extends CalculusFieldElement<U>> FieldGPSAlmanac<U> toField(FieldKeplerianOrbit<U> orbit, U[] nonKeplerian, Function<T,U> converter)
      Create another field version of the instance.
      Specified by:
      toField in class FieldGnssOrbitalElements<T extends CalculusFieldElement<T>,GPSAlmanac>
      Type Parameters:
      U - type of the new field elements
      Parameters:
      orbit - orbit in the correct gradient field
      nonKeplerian - non-Keplerian parameters
      converter - converter for remaining elements
      Returns:
      field version of the instance
    • 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
    • getSVN

      public int getSVN()
      Gets the satellite "SVN" reference number.
      Returns:
      the satellite "SVN" reference number
    • getHealth

      public int getHealth()
      Gets the Health status.
      Returns:
      the Health status
    • getURA

      public int getURA()
      Gets the average URA number.
      Returns:
      the average URA number
    • getSatConfiguration

      public int getSatConfiguration()
      Gets the satellite configuration.
      Returns:
      the satellite configuration