#include <SatDataReader.hpp>
Inheritance diagram for SatDataReader:


Jet Propulsion Laboratory (JPL) provides a file called "PRN_GPS" with satellite information such as launch and deactivation dates, block type GPS number, etc. This information is important for some precise GPS data processing algorithms, and is used in Gipsy/OASIS software.
You may find this file using FTP:
ftp://sideshow.jpl.nasa.gov:/pub/gipsy_products/gipsy_params
where the PRN_GPS file resides, usually compressed in .gz format.
A typical way to use this class follows:
SatDataReader satread; SatID prn28(28, SatID::systemGPS); DayTime time(1995, 331, 43200); satread.open("PRN_GPS"); string prn28Block = satread.getBlock(prn28, time); // From 1992 to 1997, PRN 28 belonged to a block IIA satellite
Definition at line 86 of file SatDataReader.hpp.
Public Member Functions | |
| SatDataReader () | |
| Default constructor. | |
| SatDataReader (const char *fn) | |
| Common constructor. | |
| SatDataReader (const string &fn) | |
| Common constructor. | |
| virtual void | open (const char *fn) |
| Method to open AND load satellite data file. | |
| virtual void | open (const string &fn) |
| Method to open AND load satellite data file. | |
| virtual SatDataReader & | clearData () |
| Method to clear all previously loaded satellite data. | |
| virtual string | getBlock (const SatID &sat, const DayTime &epoch) const |
| Method to get the block type of a given SV at a given epoch. | |
| virtual int | getGPSNumber (const SatID &sat, const DayTime &epoch) const |
| Method to get the GPS number of a given SV at a given epoch. | |
| virtual DayTime | getLaunchDate (const SatID &sat, const DayTime &epoch) const |
| Method to get the launch date of a given SV. | |
| virtual DayTime | getDeactivationDate (const SatID &sat, const DayTime &epoch) const |
| Method to get the deactivation date of a given SV. | |
| virtual | ~SatDataReader () |
| Destructor. | |
|
|
Default constructor.
Definition at line 91 of file SatDataReader.hpp. |
|
|
Common constructor. It will always open file for read and will load satellite data in one pass.
Definition at line 99 of file SatDataReader.hpp. |
|
|
Common constructor. It will always open file for read and will load satellite data in one pass.
Definition at line 109 of file SatDataReader.hpp. |
|
|
Destructor.
Definition at line 181 of file SatDataReader.hpp. |
|
|
Method to clear all previously loaded satellite data.
Definition at line 122 of file SatDataReader.hpp. |
|
||||||||||||
|
Method to get the block type of a given SV at a given epoch.
Definition at line 208 of file SatDataReader.cpp. References gpstk::range(). |
|
||||||||||||
|
Method to get the deactivation date of a given SV.
Definition at line 358 of file SatDataReader.cpp. References gpstk::range(). |
|
||||||||||||
|
Method to get the GPS number of a given SV at a given epoch.
Definition at line 258 of file SatDataReader.cpp. References gpstk::range(). |
|
||||||||||||
|
Method to get the launch date of a given SV.
Definition at line 308 of file SatDataReader.cpp. References gpstk::range(). |
|
|
Method to open AND load satellite data file.
Definition at line 181 of file SatDataReader.cpp. |
|
|
Method to open AND load satellite data file.
Definition at line 163 of file SatDataReader.cpp. Referenced by ComputeWindUp::setFilename(), and ComputeSatPCenter::setFilename(). |
1.3.9.1