0.2.0
Loading...
Searching...
No Matches
NAV::vendor::RINEX::ObsHeader Struct Reference

Rinex Observation File Header information. More...

Public Types

enum class  MarkerTypes {
  GEODETIC ,
  NON_GEODETIC ,
  NON_PHYSICAL ,
  SPACEBORNE ,
  GROUND_CRAFT ,
  WATER_CRAFT ,
  AIRBORNE ,
  FIXED_BUOY ,
  FLOATING_BUOY ,
  FLOATING_ICE ,
  GLACIER ,
  BALLISTIC ,
  ANIMAL ,
  HUMAN ,
  USER_DEFINED ,
  COUNT
}
 Available marker types. More...
 

Public Member Functions

bool addObsType (const Code &code, ObsType type)
 Adds the obs type if not existing already.
 
std::string epochRecordLine (const InsTime &epochTime) const
 Generates the epoch line.
 
std::string generateHeader () const
 Generates the RINEX observation header.
 
std::string headerLineAntennaDeltaHEN () const
 Generates the Header line 'ANTENNA: DELTA H/E/N'.
 
std::string headerLineAntNumType () const
 Generates the Header line 'ANT # / TYPE'.
 
std::string headerLineApproxPositionXYZ () const
 Generates the Header line 'APPROX POSITION XYZ'.
 
std::string headerLineComments () const
 Generates the Header line 'COMMENT'.
 
std::string headerLineInterval () const
 Generates the Header line 'INTERVAL'.
 
std::string headerLineLeapSeconds () const
 Generates the Header line 'LEAP SECONDS'.
 
std::string headerLineMarkerName () const
 Generates the Header line 'MARKER NAME'.
 
std::string headerLineMarkerNumber () const
 Generates the Header line 'MARKER NUMBER'.
 
std::string headerLineMarkerType () const
 Generates the Header line 'MARKER TYPE'.
 
std::string headerLineNumSatellites () const
 Generates the Header line '# OF SATELLITES'.
 
std::string headerLineObserverAgency () const
 Generates the Header line 'OBSERVER / AGENCY'.
 
std::string headerLinePgmRunByDate () const
 Generates the Header line 'PGM / RUN BY / DATE'.
 
std::string headerLineRecNumTypeVers () const
 Generates the Header line 'REC # / TYPE / VERS'.
 
std::string headerLineRinexVersionType () const
 Generates the Header line 'RINEX VERSION / TYPE'.
 
std::string headerLineSysNumObsType () const
 Generates the Header line 'SYS / # / OBS TYPES'.
 
std::string headerLineTimeOfFirstObs () const
 Generates the Header line 'TIME OF FIRST OBS'.
 
std::string headerLineTimeOfLastObs () const
 Generates the Header line 'TIME OF LAST OBS'.
 
void reset ()
 Reset all dynamic data.
 

Static Public Member Functions

static std::string headerLineEndOfHeader ()
 Generates the Header line 'END OF HEADER'.
 
static std::string headerLineGlonassCodPhsBis ()
 Generates the Header line 'GLONASS COD/PHS/BIS'.
 
static std::string headerLineSignalStrengthUnit ()
 Generates the Header line 'SIGNAL STRENGTH UNIT'.
 
static std::string headerLineSysPhaseShift ()
 Generates the Header line 'SYS / PHASE SHIFT'.
 

Public Attributes

std::string agency
 Name of agency [A40].
 
std::array< double, 3 > antennaDeltaHeightEastNorth
 Antenna height and horizontal eccentricity of ARP relative to the marker (east/north) in (meters) [F14.4].
 
std::string antennaNumber
 Antenna number [A20].
 
std::string antennaType
 Antenna type [A20].
 
bool approxPositionEnabled
 Whether the approx position should be written.
 
Eigen::Vector3d approxPositionXYZ
 Geocentric approximate marker position (Units: Meters, System: ITRS recommended) Optional for moving platforms [F14.4].
 
std::vector< std::string > comments
 Comment line(s) [A60] (Optional)
 
double interval
 Observation interval in seconds.
 
std::string markerName
 Name of antenna marker [A60].
 
std::string markerNumber
 Number of antenna marker [A20] (Optional)
 
MarkerTypes markerType
 Type of the marker.
 
std::string markerTypeUser
 User-defined Marker Type [A20].
 
std::string observer
 Name of observer [A20].
 
std::string receiverNumber
 Receiver number [A20].
 
std::string receiverType
 Receiver type [A20].
 
std::string receiverVersion
 Receiver version (e.g. Internal Software Version) [A20].
 
std::string runBy
 Name of agency creating current file [A20].
 
std::unordered_set< SatIdsatellites
 Satellites observed.
 
SatelliteSystem satSys
 Satellite System.
 
std::map< SatelliteSystem, std::vector< ObservationDescription > > systemObsTypes
 Observation types for each satellite system.
 
InsTime timeFirstObs
 Time of first observation record.
 
InsTime timeLastObs
 Time of last observation record.
 
TimeSystem timeSys
 Time system used.
 
double version
 Format version.
 

Detailed Description

Rinex Observation File Header information.

Member Enumeration Documentation

◆ MarkerTypes

Available marker types.

Enumerator
GEODETIC 

Earth-fixed, high-precision monument.

NON_GEODETIC 

Earth-fixed, low-precision monument.

NON_PHYSICAL 

Generated from network processing.

SPACEBORNE 

Orbiting space vehicle.

GROUND_CRAFT 

Mobile terrestrial vehicle.

WATER_CRAFT 

Mobile water craft.

AIRBORNE 

Aircraft, balloon, etc.

FIXED_BUOY 

"Fixed" on water surface

FLOATING_BUOY 

Floating on water surface.

FLOATING_ICE 

Floating ice sheet, etc.

GLACIER 

"Fixed" on a glacier

BALLISTIC 

Rockets, shells, etc.

ANIMAL 

Animal carrying a receiver.

HUMAN 

Human being.

USER_DEFINED 

Users may define other project-dependent keywords.

COUNT 

Amount of items in the enum.

Member Function Documentation

◆ addObsType()

bool NAV::vendor::RINEX::ObsHeader::addObsType ( const Code & code,
ObsType type )

Adds the obs type if not existing already.

Parameters
codeSignal Code
typeRINEX obs type
Returns
True if the type was not present yet

◆ epochRecordLine()

std::string NAV::vendor::RINEX::ObsHeader::epochRecordLine ( const InsTime & epochTime) const

Generates the epoch line.

Parameters
[in]epochTimeTime of the GNSS epoch

The documentation for this struct was generated from the following file: