public class GPSAlmanac extends Object implements GPSOrbitalElements
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.
GPS_MU, GPS_PI, GPS_WEEK_IN_SECONDS, GPS_WEEK_NB| Constructor and Description |
|---|
GPSAlmanac(String source,
int prn,
int svn,
int week,
double toa,
double sqa,
double ecc,
double inc,
double om0,
double dom,
double aop,
double anom,
double af0,
double af1,
int health,
int ura,
int config)
Constructor.
|
GPSAlmanac(String source,
int prn,
int svn,
int week,
double toa,
double sqa,
double ecc,
double inc,
double om0,
double dom,
double aop,
double anom,
double af0,
double af1,
int health,
int ura,
int config,
AbsoluteDate date)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAf0()
Gets the Zeroth Order Clock Correction.
|
double |
getAf1()
Gets the First Order Clock Correction.
|
double |
getCic()
Gets the Amplitude of the Cosine Harmonic Correction Term to the Angle of Inclination.
|
double |
getCis()
Gets the Amplitude of the Sine Harmonic Correction Term to the Angle of Inclination.
|
double |
getCrc()
Gets the Amplitude of the Cosine Harmonic Correction Term to the Orbit Radius.
|
double |
getCrs()
Gets the Amplitude of the Sine Harmonic Correction Term to the Orbit Radius.
|
double |
getCuc()
Gets the Amplitude of the Cosine Harmonic Correction Term to the Argument of Latitude.
|
double |
getCus()
Gets the Amplitude of the Sine Harmonic Correction Term to the Argument of Latitude.
|
AbsoluteDate |
getDate()
Get the date.
|
double |
getE()
Gets the Eccentricity.
|
int |
getHealth()
Gets the Health status.
|
double |
getI0()
Gets the Inclination Angle at Reference Time.
|
double |
getIDot()
Gets the Rate of Inclination Angle.
|
double |
getM0()
Gets the Mean Anomaly at Reference Time.
|
double |
getMeanMotion()
Gets the Mean Motion.
|
double |
getOmega0()
Gets the Longitude of Ascending Node of Orbit Plane at Weekly Epoch.
|
double |
getOmegaDot()
Gets the Rate of Right Ascension.
|
double |
getPa()
Gets the Argument of Perigee.
|
int |
getPRN()
Gets the PRN number of the GNSS satellite.
|
int |
getSatConfiguration()
Gets the satellite configuration.
|
double |
getSma()
Gets the Semi-Major Axis.
|
String |
getSource()
Gets the source of this GPS almanac.
|
int |
getSVN()
Gets the satellite "SVN" reference number.
|
double |
getTime()
Gets the Reference Time of the GNSS orbit as a duration from week start.
|
int |
getURA()
Gets the average URA number.
|
int |
getWeek()
Gets the Reference Week of the GNSS orbit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIODC, getIODE, getTGDgetAf2, getToc@DefaultDataContext public GPSAlmanac(String source, int prn, int svn, int week, double toa, double sqa, double ecc, double inc, double om0, double dom, double aop, double anom, double af0, double af1, int health, int ura, int config)
This method uses the default data context.
source - the source of the almanac (SEM, YUMA, user defined)prn - the PRN numbersvn - the SVN numberweek - the GPS weektoa - the Time of Applicabilitysqa - the Square Root of Semi-Major Axis (m^1/2)ecc - the eccentricityinc - the inclination (rad)om0 - the geographic longitude of the orbital plane at the weekly epoch (rad)dom - the Rate of Right Ascension (rad/s)aop - the Argument of Perigee (rad)anom - the Mean Anomaly (rad)af0 - the Zeroth Order Clock Correction (s)af1 - the First Order Clock Correction (s/s)health - the Health statusura - the average URAconfig - the satellite configurationGPSAlmanac(String, int, int, int, double, double, double, double, double,
double, double, double, double, double, int, int, int, AbsoluteDate)public GPSAlmanac(String source, int prn, int svn, int week, double toa, double sqa, double ecc, double inc, double om0, double dom, double aop, double anom, double af0, double af1, int health, int ura, int config, AbsoluteDate date)
source - the source of the almanac (SEM, YUMA, user defined)prn - the PRN numbersvn - the SVN numberweek - the GPS weektoa - the Time of Applicabilitysqa - the Square Root of Semi-Major Axis (m^1/2)ecc - the eccentricityinc - the inclination (rad)om0 - the geographic longitude of the orbital plane at the weekly epoch (rad)dom - the Rate of Right Ascension (rad/s)aop - the Argument of Perigee (rad)anom - the Mean Anomaly (rad)af0 - the Zeroth Order Clock Correction (s)af1 - the First Order Clock Correction (s/s)health - the Health statusura - the average URAconfig - the satellite configurationdate - built from the week and toa: new GNSSDate(week,
toa * 1000., SatelliteSystem.GPS, timeScales).getDate()public AbsoluteDate getDate()
TimeStampedgetDate in interface TimeStampedpublic String getSource()
Sources can be SEM or YUMA, when the almanac is read from a file.
public int getPRN()
GNSSOrbitalElementsgetPRN in interface GNSSOrbitalElementspublic int getSVN()
public int getWeek()
GNSSOrbitalElementsgetWeek in interface GNSSOrbitalElementspublic double getTime()
GNSSOrbitalElementsgetTime in interface GNSSOrbitalElementspublic double getSma()
GNSSOrbitalElementsgetSma in interface GNSSOrbitalElementspublic double getMeanMotion()
GNSSOrbitalElementsgetMeanMotion in interface GNSSOrbitalElementspublic double getE()
GNSSOrbitalElementsgetE in interface GNSSOrbitalElementspublic double getI0()
GNSSOrbitalElementsgetI0 in interface GNSSOrbitalElementspublic double getIDot()
GNSSOrbitalElementsgetIDot in interface GNSSOrbitalElementspublic double getOmega0()
GNSSOrbitalElementsgetOmega0 in interface GNSSOrbitalElementspublic double getOmegaDot()
GNSSOrbitalElementsgetOmegaDot in interface GNSSOrbitalElementspublic double getPa()
GNSSOrbitalElementsgetPa in interface GNSSOrbitalElementspublic double getM0()
GNSSOrbitalElementsgetM0 in interface GNSSOrbitalElementspublic double getCuc()
GNSSOrbitalElementsgetCuc in interface GNSSOrbitalElementspublic double getCus()
GNSSOrbitalElementsgetCus in interface GNSSOrbitalElementspublic double getCrc()
GNSSOrbitalElementsgetCrc in interface GNSSOrbitalElementspublic double getCrs()
GNSSOrbitalElementsgetCrs in interface GNSSOrbitalElementspublic double getCic()
GNSSOrbitalElementsgetCic in interface GNSSOrbitalElementspublic double getCis()
GNSSOrbitalElementsgetCis in interface GNSSOrbitalElementspublic double getAf0()
GNSSOrbitalElementsgetAf0 in interface GNSSOrbitalElementsGNSSOrbitalElements.getAf1(),
GNSSOrbitalElements.getAf2(),
GNSSOrbitalElements.getToc()public double getAf1()
GNSSOrbitalElementsgetAf1 in interface GNSSOrbitalElementsGNSSOrbitalElements.getAf0(),
GNSSOrbitalElements.getAf2(),
GNSSOrbitalElements.getToc()public int getHealth()
public int getURA()
public int getSatConfiguration()
Copyright © 2002-2020 CS Group. All rights reserved.