Rinex3ObsHeader Class Reference
[RINEX 3 observation files]

#include <Rinex3ObsHeader.hpp>

Inheritance diagram for Rinex3ObsHeader:

Inheritance graph
[legend]
Collaboration diagram for Rinex3ObsHeader:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class models the header for a RINEX 3 Observation File.

See also:
gpstk::Rinex3ObsData and gpstk::Rinex3ObsStream.

rinex_obs_test.cpp and rinex_obs_read_write.cpp for examples.

Definition at line 71 of file Rinex3ObsHeader.hpp.

Public Types

typedef std::map< RinexObsID,
int > 
sfacMap
 scale factor map <ObsType, ScaleFactor>
enum  validBits {
  validVersion = 0x1, validRunBy = 0x2, validComment = 0x4, validMarkerName = 0x8,
  validMarkerNumber = 0x10, validMarkerType = 0x20, validObserver = 0x40, validReceiver = 0x80,
  validAntennaType = 0x100, validAntennaPosition = 0x200, validAntennaDeltaHEN = 0x400, validAntennaDeltaXYZ = 0x800,
  validAntennaPhaseCtr = 0x1000, validAntennaBsightXYZ = 0x2000, validAntennaZeroDirAzi = 0x4000, validAntennaZeroDirXYZ = 0x8000,
  validCenterOfMass = 0x10000, validNumObs = 0x20000, validSystemObsType = 0x20000, validWaveFact = 0x40000,
  validSigStrengthUnit = 0x40000, validInterval = 0x80000, validFirstTime = 0x100000, validLastTime = 0x200000,
  validReceiverOffset = 0x400000, validSystemDCBSapplied = 0x800000, validSystemPCVSapplied = 0x1000000, validSystemScaleFac = 0x2000000,
  validSystemPhaseShift = 0x4000000, validGlonassFreqNo = 0x8000000, validLeapSeconds = 0x10000000, validNumSats = 0x20000000,
  validPrnObs = 0x40000000, validEoH = 0x80000000, allValid2 = 0x801207CB, allValid30 = 0x801205CB,
  allValid301 = 0x841205CB
}
 Validity bits for the RINEX Observation Header - please keep ordered as strings above. More...

Public Member Functions

 Rinex3ObsHeader ()
 A Simple Constructor.
void clear ()
 Clear (empty out) header.
virtual ~Rinex3ObsHeader ()
 Destructor.
virtual bool isHeader () const
 Rinex3ObsHeader is a "header" so this function always returns true.
virtual void dump (std::ostream &s) const
 This is a simple Debug output function.
virtual int getObsIndex (std::string type) const throw (InvalidRequest)
 This method returns the numerical index of a given observation.
void ParseHeaderRecord (std::string &line) throw (FFStreamError)
 Parse a single header record, and modify valid accordingly.
int NumberHeaderRecordsToBeWritten (void) const throw ()
 Compute number of valid header records that WriteHeaderRecords() will write.
void WriteHeaderRecords (FFStream &s) const throw (FFStreamError, gpstk::StringUtils::StringException)
 Write all valid header records to the given stream.
bool isValid () const
 Return boolean : is this a valid Rinex header?
void PrepareVer2Write (void) throw ()
 Compute map of obs types for use in writing version 2 header and data.

Public Attributes

std::vector< std::string > R2ObsTypes
 Storage for R2 <-> R3 conversion of obstypes during reallyGet/Put Vector of strings containing ver 2 obs types (e.g.
std::map< std::string, std::map<
std::string, RinexObsID > > 
mapSysR2toR3ObsID
 map between RINEX ver 3 ObsIDs and ver 2 obstypes for each system: reallyPut
std::map< std::string, sfacMapsysSfacMap
 sat
Rinex3ObsHeaderValues
double version
 RINEX 3 version/type.
std::string fileType
 RINEX 3 file type.
std::string fileSys
 file sys char: RinexSatID system OR Mixed
SatID fileSysSat
 fileSys as a SatID
std::string fileProgram
 program used to generate file
std::string fileAgency
 who ran program
std::string date
 when program was run
std::vector< std::string > commentList
 comments in header (optional)
std::string markerName
 MARKER NAME.
std::string markerNumber
 MARKER NUMBER (optional).
std::string markerType
 MARKER TYPE.
std::string observer
 who collected the data
std::string agency
 observer's agency
std::string recNo
 receiver number
std::string recType
 receiver type
std::string recVers
 receiver version
std::string antNo
 antenna number
std::string antType
 antenna type
gpstk::Triple antennaPosition
 APPROX POSITION XYZ (optional if moving).
gpstk::Triple antennaDeltaHEN
 ANTENNA: DELTA H/E/N.
gpstk::Triple antennaDeltaXYZ
 ANTENNA: DELTA X/Y/Z (optional).
std::string antennaSatSys
 ANTENNA P.CTR BLOCK: SAT SYS (optional).
std::string antennaObsCode
 ANTENNA P.CTR BLOCK: OBS CODE (optional).
gpstk::Triple antennaPhaseCtr
 ANTENNA P.CTR BLOCK: PCTR POS (optional).
gpstk::Triple antennaBsightXYZ
 ANTENNA B.SIGHT XYZ (optional).
double antennaZeroDirAzi
 ANTENNA ZERODIR AZI (optional).
gpstk::Triple antennaZeroDirXYZ
 ANTENNA ZERODIR XYZ (optional).
short wavelengthFactor [2]
 default WAVELENGTH FACT R2 only
std::vector< ExtraWaveFactextraWaveFactList
 extra (per sat) WAVELENGTH FACT R2 only
gpstk::Triple centerOfMass
 vehicle CENTER OF MASS: XYZ (optional)
std::vector< RinexObsIDobsTypeList
 number & types of observations R2 only
std::map< std::string, std::vector<
RinexObsID > > 
mapObsTypes
 NB defines data vec in ObsData.
std::string sigStrengthUnit
 SIGNAL STRENGTH UNIT (optional).
double interval
 INTERVAL (optional).
CivilTime firstObs
 TIME OF FIRST OBS.
CivilTime lastObs
 TIME OF LAST OBS (optional).
int receiverOffset
 RCV CLOCK OFFS APPL (optional).
std::vector< Rinex3CorrInfoinfoDCBS
 DCBS INFO (optional).
std::vector< Rinex3CorrInfoinfoPCVS
 PCVS INFO (optional).
int factor
int factorPrev
 scale factor (temp holders)
RinexObsID sysPhaseShiftObsID
 save ObsID for cont. "PHASE SHIFT" R3.01
std::map< std::string, std::map<
RinexObsID, std::map< RinexSatID,
double > > > 
sysPhaseShift
std::map< RinexSatID, int > GlonassFreqNo
 "GLONASS SLOT / FRQ #" (optional) R3.01
int leapSeconds
 LEAP SECONDS (optional).
short numSVs
 # OF SATELLITES (optional)
std::map< RinexSatID, std::vector<
int > > 
numObsForSat
 PRN / # OF OBS (optional).
unsigned long valid
 bits set when header rec.s present & valid
std::string satSysTemp
 save the syschar while reading ScaleFactor
std::string satSysPrev
 recall the prev sat. sys for cont. lines
int numObs
 save OBS # / TYPES and Sys / SCALE FACTOR for cont
int numObsPrev
 recall the prev # obs for cont. lines
RinexSatID lastPRN
 save PRN while reading PRN/OBS cont. lines

Static Public Attributes

Rinex3ObsHeaderFormatStrings
RINEX observation file header formatting strings

const std::string stringVersion = "RINEX VERSION / TYPE"
 "RINEX VERSION / TYPE"
const std::string stringRunBy = "PGM / RUN BY / DATE"
 "PGM / RUN BY / DATE"
const std::string stringComment = "COMMENT"
 "COMMENT"
const std::string stringMarkerName = "MARKER NAME"
 "MARKER NAME"
const std::string stringMarkerNumber = "MARKER NUMBER"
 "MARKER NUMBER"
const std::string stringMarkerType = "MARKER TYPE"
 "MARKER TYPE"
const std::string stringObserver = "OBSERVER / AGENCY"
 "OBSERVER / AGENCY"
const std::string stringReceiver = "REC # / TYPE / VERS"
 "REC # / TYPE / VERS"
const std::string stringAntennaType = "ANT # / TYPE"
 "ANT # / TYPE"
const std::string stringAntennaPosition = "APPROX POSITION XYZ"
 "APPROX POSITION XYZ"
const std::string stringAntennaDeltaHEN = "ANTENNA: DELTA H/E/N"
 "ANTENNA: DELTA H/E/N"
const std::string stringAntennaDeltaXYZ = "ANTENNA: DELTA X/Y/Z"
 "ANTENNA: DELTA X/Y/Z"
const std::string stringAntennaPhaseCtr = "ANTENNA: PHASECENTER"
 "ANTENNA: PHASECENTER"
const std::string stringAntennaBsightXYZ = "ANTENNA: B.SIGHT XYZ"
 "ANTENNA: B.SIGHT XYZ"
const std::string stringAntennaZeroDirAzi = "ANTENNA: ZERODIR AZI"
 "ANTENNA: ZERODIR AZI"
const std::string stringAntennaZeroDirXYZ = "ANTENNA: ZERODIR XYZ"
 "ANTENNA: ZERODIR XYZ"
const std::string stringCenterOfMass = "CENTER OF MASS: XYZ"
 "CENTER OF MASS: XYZ"
const std::string stringNumObs = "# / TYPES OF OBSERV"
 "# / TYPES OF OBSERV" R2 only
const std::string stringSystemNumObs = "SYS / # / OBS TYPES"
 "SYS / # / OBS TYPES"
const std::string stringWaveFact = "WAVELENGTH FACT L1/2"
 "WAVELENGTH FACT L1/2" R2 only
const std::string stringSigStrengthUnit = "SIGNAL STRENGTH UNIT"
 "SIGNAL STRENGTH UNIT"
const std::string stringInterval = "INTERVAL"
 "INTERVAL"
const std::string stringFirstTime = "TIME OF FIRST OBS"
 "TIME OF FIRST OBS"
const std::string stringLastTime = "TIME OF LAST OBS"
 "TIME OF LAST OBS"
const std::string stringReceiverOffset = "RCV CLOCK OFFS APPL"
 "RCV CLOCK OFFS APPL"
const std::string stringSystemDCBSapplied = "SYS / DCBS APPLIED"
 "SYS / DCBS APPLIED"
const std::string stringSystemPCVSapplied = "SYS / PCVS APPLIED"
 "SYS / PCVS APPLIED"
const std::string stringSystemScaleFac = "SYS / SCALE FACTOR"
 "SYS / SCALE FACTOR"
const std::string stringSystemPhaseShift = "SYS / PHASE SHIFTS"
 "SYS / PHASE SHIFTS"
const std::string stringGlonassSlotFreqNo = "GLONASS SLOT / FRQ #"
 "GLONASS SLOT / FRQ #"
const std::string stringLeapSeconds = "LEAP SECONDS"
 "LEAP SECONDS"
const std::string stringNumSats = "# OF SATELLITES"
 "# OF SATELLITES"
const std::string stringPrnObs = "PRN / # OF OBS"
 "PRN / # OF OBS"
const std::string stringEoH = "END OF HEADER"
 "END OF HEADER"

Protected Member Functions

virtual void reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException)
 outputs this record to the stream correctly formatted.
virtual void reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, gpstk::StringUtils::StringException)
 This function retrieves the RINEX Header from the given FFStream.

Friends

class Rinex3ObsData


Member Typedef Documentation

typedef std::map<RinexObsID,int> sfacMap
 

scale factor map <ObsType, ScaleFactor>

Definition at line 202 of file Rinex3ObsHeader.hpp.


Member Enumeration Documentation

enum validBits
 

Validity bits for the RINEX Observation Header - please keep ordered as strings above.

Enumeration values:
validVersion  "RINEX VERSION / TYPE"
validRunBy  "PGM / RUN BY / DATE"
validComment  "COMMENT" optional
validMarkerName  "MARKER NAME"
validMarkerNumber  "MARKER NUMBER" optional
validMarkerType  "MARKER TYPE" optional R3
validObserver  "OBSERVER / AGENCY"
validReceiver  "REC # / TYPE / VERS"
validAntennaType  "ANT # / TYPE"
validAntennaPosition  "APPROX POSITION XYZ" optional R3+moving
validAntennaDeltaHEN  "ANTENNA: DELTA H/E/N"
validAntennaDeltaXYZ  "ANTENNA: DELTA X/Y/Z" optional R3
validAntennaPhaseCtr  "ANTENNA: PHASECENTER" optional R3
validAntennaBsightXYZ  "ANTENNA: B.SIGHT XYZ" optional R3
validAntennaZeroDirAzi  "ANTENNA: ZERODIR AZI" optional R3
validAntennaZeroDirXYZ  "ANTENNA: ZERODIR XYZ" optional R3
validCenterOfMass  "CENTER OF MASS: XYZ" optional R3
validNumObs  "# / TYPES OF OBSERV" R2 only
validSystemObsType  "SYS / # / OBS TYPES" R3
validWaveFact  "WAVELENGTH FACT L1/2" R2 only
validSigStrengthUnit  "SIGNAL STRENGTH UNIT" optional R3
validInterval  "INTERVAL" optional
validFirstTime  "TIME OF FIRST OBS"
validLastTime  "TIME OF LAST OBS" optional
validReceiverOffset  "RCV CLOCK OFFS APPL" optional
validSystemDCBSapplied  "SYSTEM DCBS APPLIED" optional R3
validSystemPCVSapplied  "SYSTEM PCVS APPLIED" optional R3
validSystemScaleFac  "SYSTEM SCALE FACTOR" optional R3
validSystemPhaseShift  "SYS / PHASE SHIFTS" R3.01
validGlonassFreqNo  "GLONASS SLOT / FRQ #" optional R3.01
validLeapSeconds  "LEAP SECONDS" optional
validNumSats  "# OF SATELLITES" optional
validPrnObs  "PRN / # OF OBS" optional
validEoH  "END OF HEADER"
allValid2  This mask is for all required valid fields.
allValid30 
allValid301 

Definition at line 133 of file Rinex3ObsHeader.hpp.


Constructor & Destructor Documentation

Rinex3ObsHeader  )  [inline]
 

A Simple Constructor.

Definition at line 76 of file Rinex3ObsHeader.hpp.

virtual ~Rinex3ObsHeader  )  [inline, virtual]
 

Destructor.

Definition at line 265 of file Rinex3ObsHeader.hpp.


Member Function Documentation

void clear void   )  [inline]
 

Clear (empty out) header.

Definition at line 80 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertToRinex3(), and Rinex3ObsHeaderTouchHeaderMerge::operator()().

void dump std::ostream &  s  )  const [virtual]
 

This is a simple Debug output function.

It simply outputs the version, name and antenna number of this RINEX header.

Reimplemented from FFData.

Definition at line 1775 of file Rinex3ObsHeader.cpp.

References Rinex3ObsHeader::agency, Rinex3ObsHeader::allValid2, Rinex3ObsHeader::allValid30, Rinex3ObsHeader::antennaBsightXYZ, Rinex3ObsHeader::antennaDeltaHEN, Rinex3ObsHeader::antennaDeltaXYZ, Rinex3ObsHeader::antennaPhaseCtr, Rinex3ObsHeader::antennaPosition, Rinex3ObsHeader::antennaZeroDirAzi, Rinex3ObsHeader::antennaZeroDirXYZ, Rinex3ObsHeader::antNo, Rinex3ObsHeader::antType, gpstk::StringUtils::asString(), Rinex3ObsHeader::commentList, Rinex3ObsHeader::date, Rinex3ObsHeader::fileAgency, Rinex3ObsHeader::fileProgram, Rinex3ObsHeader::fileSysSat, Rinex3ObsHeader::fileType, Rinex3ObsHeader::firstObs, RinexSatID::fromString(), Rinex3ObsHeader::GlonassFreqNo, Rinex3ObsHeader::infoDCBS, Rinex3ObsHeader::infoPCVS, Rinex3ObsHeader::interval, Rinex3ObsHeader::lastObs, Rinex3ObsHeader::leapSeconds, Rinex3ObsHeader::mapObsTypes, Rinex3ObsHeader::markerName, Rinex3ObsHeader::markerNumber, Rinex3ObsHeader::markerType, Rinex3ObsHeader::numObsForSat, Rinex3ObsHeader::numSVs, Rinex3ObsHeader::observer, gpstk::printTime(), Rinex3ObsHeader::receiverOffset, Rinex3ObsHeader::recNo, Rinex3ObsHeader::recType, Rinex3ObsHeader::recVers, Rinex3ObsHeader::sigStrengthUnit, Rinex3ObsHeader::sysPhaseShift, Rinex3ObsHeader::sysSfacMap, SatID::system, RinexSatID::systemChar(), RinexSatID::systemString(), RinexSatID::systemString3(), RinexSatID::toString(), Rinex3ObsHeader::valid, Rinex3ObsHeader::version, and Rinex3ObsHeader::wavelengthFactor.

Referenced by Rinex3ObsData::dump().

int getObsIndex std::string  type  )  const throw (InvalidRequest) [virtual]
 

This method returns the numerical index of a given observation.

Parameters:
type String representing the observation type.

Definition at line 2009 of file Rinex3ObsHeader.cpp.

References GPSTK_THROW, index(), and gpstk::isValidRinexObsID().

virtual bool isHeader void   )  const [inline, virtual]
 

Rinex3ObsHeader is a "header" so this function always returns true.

Reimplemented from FFData.

Definition at line 271 of file Rinex3ObsHeader.hpp.

bool isValid void   )  const [inline]
 

Return boolean : is this a valid Rinex header?

Definition at line 302 of file Rinex3ObsHeader.hpp.

int NumberHeaderRecordsToBeWritten void   )  const throw ()
 

Compute number of valid header records that WriteHeaderRecords() will write.

Definition at line 162 of file Rinex3ObsHeader.cpp.

References Rinex3ObsHeader::commentList, Rinex3ObsHeader::extraWaveFactList, Rinex3ObsHeader::numObsForSat, Rinex3ObsHeader::obsTypeList, Rinex3ObsHeader::valid, and Rinex3ObsHeader::version.

void ParseHeaderRecord std::string &  line  )  throw (FFStreamError)
 

Parse a single header record, and modify valid accordingly.

Used by reallyGetRecord for both Rinex3ObsHeader and Rinex3ObsData.

Definition at line 884 of file Rinex3ObsHeader.cpp.

References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), RinexSatID::fromString(), GPSTK_RETHROW, GPSTK_THROW, Rinex3ObsHeader::Rinex3CorrInfo::name, Rinex3ObsHeader::ExtraWaveFact::satList, Rinex3ObsHeader::Rinex3CorrInfo::satSys, Rinex3ObsHeader::Rinex3CorrInfo::source, gpstk::StringUtils::strip(), RinexSatID::systemChar(), RinexSatID::toString(), and Rinex3ObsHeader::ExtraWaveFact::wavelengthFactor.

void PrepareVer2Write void   )  throw ()
 

Compute map of obs types for use in writing version 2 header and data.

Definition at line 1695 of file Rinex3ObsHeader.cpp.

References gpstk::StringUtils::asString(), Rinex3ObsHeader::mapObsTypes, Rinex3ObsHeader::mapSysR2toR3ObsID, Rinex3ObsHeader::R2ObsTypes, Rinex3ObsHeader::valid, and Rinex3ObsHeader::version.

void reallyGetRecord FFStream s  )  throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

This function retrieves the RINEX Header from the given FFStream.

If an stream error is encountered, the stream is reset to its original position and its fail-bit is set.

Exceptions:
StringException when a StringUtils function fails
FFStreamError when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to its pre-read position.

Implements FFData.

Definition at line 1392 of file Rinex3ObsHeader.cpp.

References gpstk::StringUtils::asString(), FFTextStream::formattedGetLine(), GPSTK_RETHROW, GPSTK_THROW, Rinex3ObsStream::header, Rinex3ObsStream::headerRead, and gpstk::StringUtils::stripTrailing().

void reallyPutRecord FFStream s  )  const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

outputs this record to the stream correctly formatted.

Implements FFData.

Definition at line 93 of file Rinex3ObsHeader.cpp.

References Exception::addText(), gpstk::StringUtils::asString(), GPSTK_RETHROW, GPSTK_THROW, and Rinex3ObsStream::header.

void WriteHeaderRecords FFStream s  )  const throw (FFStreamError, gpstk::StringUtils::StringException)
 

Write all valid header records to the given stream.

Used by reallyPutRecord for both Rinex3ObsHeader and Rinex3ObsData.

Definition at line 212 of file Rinex3ObsHeader.cpp.

References gpstk::StringUtils::asString(), GPSTK_RETHROW, GPSTK_THROW, gpstk::StringUtils::leftJustify(), FFTextStream::lineNumber, gpstk::lt(), gpstk::printTime(), gpstk::StringUtils::rightJustify(), RinexSatID::systemChar(), and RinexSatID::systemString().


Friends And Related Function Documentation

friend class Rinex3ObsData [friend]
 

Definition at line 326 of file Rinex3ObsHeader.hpp.


Member Data Documentation

std::string agency
 

observer's agency

Definition at line 220 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

gpstk::Triple antennaBsightXYZ
 

ANTENNA B.SIGHT XYZ (optional).

Definition at line 232 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

gpstk::Triple antennaDeltaHEN
 

ANTENNA: DELTA H/E/N.

Definition at line 227 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

gpstk::Triple antennaDeltaXYZ
 

ANTENNA: DELTA X/Y/Z (optional).

Definition at line 227 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

std::string antennaObsCode
 

ANTENNA P.CTR BLOCK: OBS CODE (optional).

Definition at line 230 of file Rinex3ObsHeader.hpp.

gpstk::Triple antennaPhaseCtr
 

ANTENNA P.CTR BLOCK: PCTR POS (optional).

Definition at line 231 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

gpstk::Triple antennaPosition
 

APPROX POSITION XYZ (optional if moving).

Definition at line 227 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string antennaSatSys
 

ANTENNA P.CTR BLOCK: SAT SYS (optional).

Definition at line 230 of file Rinex3ObsHeader.hpp.

double antennaZeroDirAzi
 

ANTENNA ZERODIR AZI (optional).

Definition at line 233 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

gpstk::Triple antennaZeroDirXYZ
 

ANTENNA ZERODIR XYZ (optional).

Definition at line 234 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

std::string antNo
 

antenna number

Definition at line 225 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string antType
 

antenna type

Definition at line 225 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

gpstk::Triple centerOfMass
 

vehicle CENTER OF MASS: XYZ (optional)

Definition at line 237 of file Rinex3ObsHeader.hpp.

std::vector<std::string> commentList
 

comments in header (optional)

Definition at line 215 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), Rinex3ObsHeader::dump(), Rinex3ObsHeader::NumberHeaderRecordsToBeWritten(), and Rinex3ObsHeaderTouchHeaderMerge::operator()().

std::string date
 

when program was run

Definition at line 213 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::vector<ExtraWaveFact> extraWaveFactList
 

extra (per sat) WAVELENGTH FACT R2 only

Definition at line 236 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::NumberHeaderRecordsToBeWritten().

int factor
 

Definition at line 248 of file Rinex3ObsHeader.hpp.

int factorPrev
 

scale factor (temp holders)

Definition at line 248 of file Rinex3ObsHeader.hpp.

std::string fileAgency
 

who ran program

Definition at line 213 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string fileProgram
 

program used to generate file

Definition at line 213 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string fileSys
 

file sys char: RinexSatID system OR Mixed

Definition at line 210 of file Rinex3ObsHeader.hpp.

SatID fileSysSat
 

fileSys as a SatID

Definition at line 211 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

std::string fileType
 

RINEX 3 file type.

Definition at line 210 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

CivilTime firstObs
 

TIME OF FIRST OBS.

Definition at line 244 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::map<RinexSatID,int> GlonassFreqNo
 

"GLONASS SLOT / FRQ #" (optional) R3.01

Definition at line 251 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

std::vector<Rinex3CorrInfo> infoDCBS
 

DCBS INFO (optional).

Definition at line 246 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

std::vector<Rinex3CorrInfo> infoPCVS
 

PCVS INFO (optional).

Definition at line 247 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

double interval
 

INTERVAL (optional).

Definition at line 242 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

CivilTime lastObs
 

TIME OF LAST OBS (optional).

Definition at line 244 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

RinexSatID lastPRN
 

save PRN while reading PRN/OBS cont. lines

Definition at line 261 of file Rinex3ObsHeader.hpp.

int leapSeconds
 

LEAP SECONDS (optional).

Definition at line 252 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::map<std::string,std::vector<RinexObsID> > mapObsTypes
 

NB defines data vec in ObsData.

Definition at line 239 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), Rinex3ObsHeader::dump(), Rinex3ObsData::dump(), Rinex3ObsHeader::PrepareVer2Write(), and Rinex3ObsData::reallyGetRecord().

std::map<std::string, std::map<std::string, RinexObsID> > mapSysR2toR3ObsID
 

map between RINEX ver 3 ObsIDs and ver 2 obstypes for each system: reallyPut

Definition at line 199 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::PrepareVer2Write().

std::string markerName
 

MARKER NAME.

Definition at line 217 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string markerNumber
 

MARKER NUMBER (optional).

Definition at line 217 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string markerType
 

MARKER TYPE.

Definition at line 217 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

int numObs
 

save OBS # / TYPES and Sys / SCALE FACTOR for cont

lines

Definition at line 259 of file Rinex3ObsHeader.hpp.

std::map<RinexSatID,std::vector<int> > numObsForSat
 

PRN / # OF OBS (optional).

Definition at line 254 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), Rinex3ObsHeader::dump(), and Rinex3ObsHeader::NumberHeaderRecordsToBeWritten().

int numObsPrev
 

recall the prev # obs for cont. lines

lines

Definition at line 259 of file Rinex3ObsHeader.hpp.

short numSVs
 

# OF SATELLITES (optional)

Definition at line 253 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string observer
 

who collected the data

Definition at line 220 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::vector<RinexObsID> obsTypeList
 

number & types of observations R2 only

Definition at line 238 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), Rinex3ObsHeader::NumberHeaderRecordsToBeWritten(), and Rinex3ObsHeaderTouchHeaderMerge::operator()().

std::vector<std::string> R2ObsTypes
 

Storage for R2 <-> R3 conversion of obstypes during reallyGet/Put Vector of strings containing ver 2 obs types (e.g.

"C1" "L2") defined in reallyGet; also defined in PrepareVer2Write() from R3 ObsIDs

Definition at line 197 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::PrepareVer2Write().

int receiverOffset
 

RCV CLOCK OFFS APPL (optional).

Definition at line 245 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string recNo
 

receiver number

Definition at line 222 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string recType
 

receiver type

Definition at line 222 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string recVers
 

receiver version

Definition at line 222 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), and Rinex3ObsHeader::dump().

std::string satSysPrev
 

recall the prev sat. sys for cont. lines

Definition at line 257 of file Rinex3ObsHeader.hpp.

std::string satSysTemp
 

save the syschar while reading ScaleFactor

Definition at line 257 of file Rinex3ObsHeader.hpp.

std::string sigStrengthUnit
 

SIGNAL STRENGTH UNIT (optional).

Definition at line 241 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

const string stringAntennaBsightXYZ = "ANTENNA: B.SIGHT XYZ" [static]
 

"ANTENNA: B.SIGHT XYZ"

Definition at line 71 of file Rinex3ObsHeader.cpp.

const string stringAntennaDeltaHEN = "ANTENNA: DELTA H/E/N" [static]
 

"ANTENNA: DELTA H/E/N"

Definition at line 68 of file Rinex3ObsHeader.cpp.

const string stringAntennaDeltaXYZ = "ANTENNA: DELTA X/Y/Z" [static]
 

"ANTENNA: DELTA X/Y/Z"

Definition at line 69 of file Rinex3ObsHeader.cpp.

const string stringAntennaPhaseCtr = "ANTENNA: PHASECENTER" [static]
 

"ANTENNA: PHASECENTER"

Definition at line 70 of file Rinex3ObsHeader.cpp.

const string stringAntennaPosition = "APPROX POSITION XYZ" [static]
 

"APPROX POSITION XYZ"

Definition at line 67 of file Rinex3ObsHeader.cpp.

const string stringAntennaType = "ANT # / TYPE" [static]
 

"ANT # / TYPE"

Definition at line 66 of file Rinex3ObsHeader.cpp.

const string stringAntennaZeroDirAzi = "ANTENNA: ZERODIR AZI" [static]
 

"ANTENNA: ZERODIR AZI"

Definition at line 72 of file Rinex3ObsHeader.cpp.

const string stringAntennaZeroDirXYZ = "ANTENNA: ZERODIR XYZ" [static]
 

"ANTENNA: ZERODIR XYZ"

Definition at line 73 of file Rinex3ObsHeader.cpp.

const string stringCenterOfMass = "CENTER OF MASS: XYZ" [static]
 

"CENTER OF MASS: XYZ"

Definition at line 74 of file Rinex3ObsHeader.cpp.

const string stringComment = "COMMENT" [static]
 

"COMMENT"

Definition at line 60 of file Rinex3ObsHeader.cpp.

const string stringEoH = "END OF HEADER" [static]
 

"END OF HEADER"

Definition at line 91 of file Rinex3ObsHeader.cpp.

const string stringFirstTime = "TIME OF FIRST OBS" [static]
 

"TIME OF FIRST OBS"

Definition at line 80 of file Rinex3ObsHeader.cpp.

const string stringGlonassSlotFreqNo = "GLONASS SLOT / FRQ #" [static]
 

"GLONASS SLOT / FRQ #"

Definition at line 87 of file Rinex3ObsHeader.cpp.

const string stringInterval = "INTERVAL" [static]
 

"INTERVAL"

Definition at line 79 of file Rinex3ObsHeader.cpp.

const string stringLastTime = "TIME OF LAST OBS" [static]
 

"TIME OF LAST OBS"

Definition at line 81 of file Rinex3ObsHeader.cpp.

const string stringLeapSeconds = "LEAP SECONDS" [static]
 

"LEAP SECONDS"

Definition at line 88 of file Rinex3ObsHeader.cpp.

const string stringMarkerName = "MARKER NAME" [static]
 

"MARKER NAME"

Definition at line 61 of file Rinex3ObsHeader.cpp.

const string stringMarkerNumber = "MARKER NUMBER" [static]
 

"MARKER NUMBER"

Definition at line 62 of file Rinex3ObsHeader.cpp.

const string stringMarkerType = "MARKER TYPE" [static]
 

"MARKER TYPE"

Definition at line 63 of file Rinex3ObsHeader.cpp.

const string stringNumObs = "# / TYPES OF OBSERV" [static]
 

"# / TYPES OF OBSERV" R2 only

Definition at line 75 of file Rinex3ObsHeader.cpp.

const string stringNumSats = "# OF SATELLITES" [static]
 

"# OF SATELLITES"

Definition at line 89 of file Rinex3ObsHeader.cpp.

const string stringObserver = "OBSERVER / AGENCY" [static]
 

"OBSERVER / AGENCY"

Definition at line 64 of file Rinex3ObsHeader.cpp.

const string stringPrnObs = "PRN / # OF OBS" [static]
 

"PRN / # OF OBS"

Definition at line 90 of file Rinex3ObsHeader.cpp.

const string stringReceiver = "REC # / TYPE / VERS" [static]
 

"REC # / TYPE / VERS"

Definition at line 65 of file Rinex3ObsHeader.cpp.

const string stringReceiverOffset = "RCV CLOCK OFFS APPL" [static]
 

"RCV CLOCK OFFS APPL"

Definition at line 82 of file Rinex3ObsHeader.cpp.

const string stringRunBy = "PGM / RUN BY / DATE" [static]
 

"PGM / RUN BY / DATE"

Definition at line 59 of file Rinex3ObsHeader.cpp.

const string stringSigStrengthUnit = "SIGNAL STRENGTH UNIT" [static]
 

"SIGNAL STRENGTH UNIT"

Definition at line 78 of file Rinex3ObsHeader.cpp.

const string stringSystemDCBSapplied = "SYS / DCBS APPLIED" [static]
 

"SYS / DCBS APPLIED"

Definition at line 83 of file Rinex3ObsHeader.cpp.

const string stringSystemNumObs = "SYS / # / OBS TYPES" [static]
 

"SYS / # / OBS TYPES"

Definition at line 76 of file Rinex3ObsHeader.cpp.

const string stringSystemPCVSapplied = "SYS / PCVS APPLIED" [static]
 

"SYS / PCVS APPLIED"

Definition at line 84 of file Rinex3ObsHeader.cpp.

const string stringSystemPhaseShift = "SYS / PHASE SHIFTS" [static]
 

"SYS / PHASE SHIFTS"

Definition at line 86 of file Rinex3ObsHeader.cpp.

const string stringSystemScaleFac = "SYS / SCALE FACTOR" [static]
 

"SYS / SCALE FACTOR"

Definition at line 85 of file Rinex3ObsHeader.cpp.

const string stringVersion = "RINEX VERSION / TYPE" [static]
 

"RINEX VERSION / TYPE"

Definition at line 58 of file Rinex3ObsHeader.cpp.

const string stringWaveFact = "WAVELENGTH FACT L1/2" [static]
 

"WAVELENGTH FACT L1/2" R2 only

Definition at line 77 of file Rinex3ObsHeader.cpp.

std::map<std::string, std::map<RinexObsID, std::map<RinexSatID,double> > > sysPhaseShift
 

Definition at line 250 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

RinexObsID sysPhaseShiftObsID
 

save ObsID for cont. "PHASE SHIFT" R3.01

Definition at line 249 of file Rinex3ObsHeader.hpp.

std::map<std::string,sfacMap> sysSfacMap
 

sat

system map of scale factor maps <(G/R/E/S), <Rinex3ObsType, scalefactor>>

Definition at line 203 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().

unsigned long valid
 

bits set when header rec.s present & valid

Definition at line 255 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertFromRinex3(), RinexConverter::convertToRinex3(), Rinex3ObsHeader::dump(), Rinex3ObsHeader::NumberHeaderRecordsToBeWritten(), and Rinex3ObsHeader::PrepareVer2Write().

double version
 

RINEX 3 version/type.

Definition at line 208 of file Rinex3ObsHeader.hpp.

Referenced by RinexConverter::convertToRinex3(), Rinex3ObsHeader::dump(), Rinex3ObsHeader::NumberHeaderRecordsToBeWritten(), Rinex3ObsHeader::PrepareVer2Write(), Rinex3ObsData::reallyGetRecord(), and Rinex3ObsData::reallyPutRecord().

short wavelengthFactor[2]
 

default WAVELENGTH FACT R2 only

Definition at line 235 of file Rinex3ObsHeader.hpp.

Referenced by Rinex3ObsHeader::dump().


The documentation for this class was generated from the following files:
Generated on Sat May 25 03:31:51 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1