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


You may find antenna-related data at:
ftp://igscb.jpl.nasa.gov/pub/station/general/
At that site you'll find some very important files:
// Declare some Antenna objects Antenna antenna1; Antenna antenna2; Antenna satGPS02; // Create AntexReader object AntexReader antexread; // Open Antex file. 'igs05.atx' is for absolute phase centers, // while 'igs_01.atx' is for relative phase centers. antexread.open("igs05.atx"); double elevation( 34.5 ); double azimuth( 163.2 ); // Get antenna data and eccentricity for L1 for satellite GPS-07 // at a specific epoch DayTime epoch(2008, 6, 15, 10, 21, 12654.0); satGPS07 = antexread.getAntenna( "G07", epoch ); cout << satGPS07.getAntennaPCOffset( Antenna::G01 ) << endl; // Get antenna data and non-azimuth dependent phase center // offset value + eccentricity for L2. // Radome type is NOT taken into account antenna1 = antexread.getAntennaNoRadome("AOAD/M_B"); cout << antenna1.getAntennaPCOffset( Antenna::G02, elevation ); // Get antenna data and azimuth-dependent phase center offset // value + eccentricity for L1. // Ask for a specific "strict IGS" model+radome combination std::string strictIGSModel( "ASH700936B_M SNOW" ); antenna2 = antexread.getAntenna( strictIGSModel ); cout << antenna2.getAntennaPCOffset( Antenna::G01, elevation, azimuth );
Definition at line 124 of file AntexReader.hpp.
Public Types | |
| enum | pcvType { absolute = 1, relative, Unknown } |
| Phase center variation type. More... | |
Public Member Functions | |
| AntexReader () | |
| Default constructor. | |
| AntexReader (const char *fn) | |
| Common constructor. | |
| AntexReader (const string &fn) | |
| Common constructor. | |
| virtual void | open (const char *fn) |
| Method to open and load Antex file header data. | |
| virtual void | open (const string &fn) |
| Method to open and load Antex file header data. | |
| virtual Antenna | getAntennaNoRadome (const string &model) throw (ObjectNotFound) |
| Method to get antenna data from a given model. | |
| virtual Antenna | getAntenna (const string &model) throw (ObjectNotFound) |
| Method to get antenna data from a given IGS model. | |
| virtual Antenna | getAntenna (const string &model, const string &serial) throw (ObjectNotFound) |
| Method to get antenna data from a given IGS model and serial. | |
| virtual Antenna | getAntenna (const string &model, const string &serial, const DayTime &epoch) throw (ObjectNotFound) |
| Method to get antenna data from a given IGS model and serial, and for a specific epoch. | |
| virtual Antenna | getAntenna (const string &serial, const DayTime &epoch) throw (ObjectNotFound) |
| Method to get antenna data from a given serial and a specific epoch. | |
| bool | isValid () const |
| Returns if this object is valid. | |
| double | getVersion () const |
| Returns version of Antex file. | |
| bool | isAbsolute () const |
| Returns if loaded antenna data file is absolute or relative. | |
| virtual void | dump (std::ostream &s) const |
| This methods dumps all data in Antex file header. | |
| virtual | ~AntexReader () |
| Destructor. | |
Static Public Attributes | |
AntexReaderFormatStrings | |
Antex Formatting Strings | |
| const std::string | versionString = "ANTEX VERSION / SYST" |
| "ANTEX VERSION / SYST" | |
| const std::string | pcvTypeString = "PCV TYPE / REFANT" |
| "PCV TYPE / REFANT" | |
| const std::string | commentString = "COMMENT" |
| "COMMENT" | |
| const std::string | endOfHeader = "END OF HEADER" |
| "END OF HEADER" | |
| const std::string | startOfAntenna = "START OF ANTENNA" |
| "START OF ANTENNA" | |
| const std::string | typeSerial = "TYPE / SERIAL NO" |
| "TYPE / SERIAL NO" | |
| const std::string | calibrationMethod = "METH / BY / # / DATE" |
| "METH / BY / # / DATE" | |
| const std::string | incrementAzimuth = "DAZI" |
| "DAZI" | |
| const std::string | zenithGrid = "ZEN1 / ZEN2 / DZEN" |
| "ZEN1 / ZEN2 / DZEN" | |
| const std::string | numberFreq = "# OF FREQUENCIES" |
| "# OF FREQUENCIES" | |
| const std::string | validFrom = "VALID FROM" |
| "VALID FROM" | |
| const std::string | validUntil = "VALID UNTIL" |
| "VALID UNTIL" | |
| const std::string | sinexCode = "SINEX CODE" |
| "SINEX CODE" | |
| const std::string | startOfFreq = "START OF FREQUENCY" |
| "START OF FREQUENCY" | |
| const std::string | antennaEcc = "NORTH / EAST / UP" |
| "NORTH / EAST / UP" | |
| const std::string | endOfFreq = "END OF FREQUENCY" |
| "END OF FREQUENCY" | |
| const std::string | startOfFreqRMS = "START OF FREQ RMS" |
| "START OF FREQ RMS" | |
| const std::string | antennaEccRMS = "NORTH / EAST / UP" |
| "NORTH / EAST / UP" | |
| const std::string | endOfFreqRMS = "END OF FREQ RMS" |
| "END OF FREQ RMS" | |
| const std::string | endOfAntenna = "END OF ANTENNA" |
| "END OF ANTENNA" | |
|
|
Phase center variation type.
Definition at line 159 of file AntexReader.hpp. |
|
|
Default constructor.
Definition at line 168 of file AntexReader.hpp. |
|
|
Common constructor. It will always open Antex file for read and will load Antex file header data in one pass.
Definition at line 179 of file AntexReader.hpp. |
|
|
Common constructor. It will always open Antex file for read and will load Antex file header data in one pass.
Definition at line 190 of file AntexReader.hpp. |
|
|
Destructor.
Definition at line 309 of file AntexReader.hpp. |
|
|
This methods dumps all data in Antex file header.
Definition at line 1482 of file AntexReader.cpp. References AntexReader::isValid(). |
|
||||||||||||
|
Method to get antenna data from a given serial and a specific epoch. This method is particularly useful to look for satellite antennas.
Definition at line 1232 of file AntexReader.cpp. References Antenna::getAntennaCalMethod(), Antenna::getAntennaRadome(), Antenna::getAntennaSerial(), Antenna::getAntennaType(), Antenna::getAntennaValidFrom(), Antenna::getAntennaValidUntil(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::strip(), and gpstk::StringUtils::upperCase(). |
|
||||||||||||||||
|
Method to get antenna data from a given IGS model and serial, and for a specific epoch.
Definition at line 1027 of file AntexReader.cpp. References Antenna::getAntennaCalMethod(), Antenna::getAntennaRadome(), Antenna::getAntennaSerial(), Antenna::getAntennaType(), Antenna::getAntennaValidFrom(), Antenna::getAntennaValidUntil(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::strip(), and gpstk::StringUtils::upperCase(). |
|
||||||||||||
|
Method to get antenna data from a given IGS model and serial.
Definition at line 855 of file AntexReader.cpp. References Antenna::getAntennaCalMethod(), Antenna::getAntennaRadome(), Antenna::getAntennaSerial(), Antenna::getAntennaType(), Antenna::getAntennaValidFrom(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::strip(), and gpstk::StringUtils::upperCase(). |
|
|
Method to get antenna data from a given IGS model.
Definition at line 697 of file AntexReader.cpp. References Antenna::getAntennaCalMethod(), Antenna::getAntennaRadome(), Antenna::getAntennaSerial(), Antenna::getAntennaType(), Antenna::getAntennaValidFrom(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::strip(), and gpstk::StringUtils::upperCase(). |
|
|
Method to get antenna data from a given model. Just the model, without including the radome
Definition at line 561 of file AntexReader.cpp. References Antenna::getAntennaCalMethod(), Antenna::getAntennaRadome(), Antenna::getAntennaSerial(), Antenna::getAntennaType(), Antenna::getAntennaValidFrom(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::strip(), and gpstk::StringUtils::upperCase(). |
|
|
Returns version of Antex file.
Definition at line 296 of file AntexReader.hpp. |
|
|
Returns if loaded antenna data file is absolute or relative.
Definition at line 1466 of file AntexReader.cpp. |
|
|
Returns if this object is valid.
Definition at line 291 of file AntexReader.hpp. Referenced by AntexReader::dump(). |
|
|
Method to open and load Antex file header data.
Definition at line 1437 of file AntexReader.cpp. |
|
|
Method to open and load Antex file header data.
Definition at line 1408 of file AntexReader.cpp. |
|
|
"NORTH / EAST / UP"
Definition at line 57 of file AntexReader.cpp. |
|
|
"NORTH / EAST / UP"
Definition at line 60 of file AntexReader.cpp. |
|
|
"METH / BY / # / DATE"
Definition at line 49 of file AntexReader.cpp. |
|
|
"COMMENT"
Definition at line 44 of file AntexReader.cpp. |
|
|
"END OF ANTENNA"
Definition at line 62 of file AntexReader.cpp. |
|
|
"END OF FREQUENCY"
Definition at line 58 of file AntexReader.cpp. |
|
|
"END OF FREQ RMS"
Definition at line 61 of file AntexReader.cpp. |
|
|
"END OF HEADER"
Definition at line 45 of file AntexReader.cpp. |
|
|
"DAZI"
Definition at line 50 of file AntexReader.cpp. |
|
|
"# OF FREQUENCIES"
Definition at line 52 of file AntexReader.cpp. |
|
|
"PCV TYPE / REFANT"
Definition at line 43 of file AntexReader.cpp. |
|
|
"SINEX CODE"
Definition at line 55 of file AntexReader.cpp. |
|
|
"START OF ANTENNA"
Definition at line 47 of file AntexReader.cpp. |
|
|
"START OF FREQUENCY"
Definition at line 56 of file AntexReader.cpp. |
|
|
"START OF FREQ RMS"
Definition at line 59 of file AntexReader.cpp. |
|
|
"TYPE / SERIAL NO"
Definition at line 48 of file AntexReader.cpp. |
|
|
"VALID FROM"
Definition at line 53 of file AntexReader.cpp. |
|
|
"VALID UNTIL"
Definition at line 54 of file AntexReader.cpp. |
|
|
"ANTEX VERSION / SYST"
Definition at line 42 of file AntexReader.cpp. |
|
|
"ZEN1 / ZEN2 / DZEN"
Definition at line 51 of file AntexReader.cpp. |
1.3.9.1