ProblemSatFilter Class Reference
[GPS solution algorithms and Tropospheric]

#include <ProblemSatFilter.hpp>

Inheritance diagram for ProblemSatFilter:

Inheritance graph
[legend]
Collaboration diagram for ProblemSatFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class filters out satellites that are in the Satellite Problem File(*.CRX) of Bernese GPS Software 5.0.

These CRX files can be downloaded from 'ftp.unibe.ch/aiub/BSWUSER50/GEN'.

This class is meant to be used with the GNSS data structures objects found in "DataStructures" class.

A typical way to use this class follows:

      // Input observation file stream
   RinexObsStream rin("ebre0300.02o");

   ProblemSatFilter satFilter;
   satFilter.loadSatelliteProblemFile("SAt_2010.CRX");

   gnssRinex gRin;  // GNSS data structure for fixed station data

   while(rin >> gRin)
   {
      gRin >> satFilter;
   }

Definition at line 72 of file ProblemSatFilter.hpp.

Public Member Functions

 ProblemSatFilter ()
 Default constructor.
virtual satTypeValueMapProcess (const CommonTime &epoch, satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual gnssSatTypeValueProcess (gnssSatTypeValue &gData) throw (ProcessingException)
 Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
virtual gnssRinexProcess (gnssRinex &gData) throw (ProcessingException)
 Returns a gnnsRinex object, adding the new data generated when calling this object.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
int loadSatelliteProblemFile (const std::string &crxFile)
 Load Satellite Problem File(*.CRX) download from 'ftp.unibe.ch/aiub/BSWUSER50/GEN'.
void clear ()
 Clear all data.
virtual ~ProblemSatFilter ()
 Destructor.

Protected Types

typedef std::list< SatDataSatDataList
typedef std::map< SatID, SatDataListSatDataMap

Protected Member Functions

bool isBadSat (const CommonTime &time, const SatID &sat)

Protected Attributes

SatDataMap satDataMap
 Object to holding all the data.


Member Typedef Documentation

typedef std::list<SatData> SatDataList [protected]
 

Definition at line 147 of file ProblemSatFilter.hpp.

Referenced by ProblemSatFilter::isBadSat(), and ProblemSatFilter::loadSatelliteProblemFile().

typedef std::map<SatID, SatDataList > SatDataMap [protected]
 

Definition at line 148 of file ProblemSatFilter.hpp.


Constructor & Destructor Documentation

ProblemSatFilter  )  [inline]
 

Default constructor.

Definition at line 77 of file ProblemSatFilter.hpp.

virtual ~ProblemSatFilter  )  [inline, virtual]
 

Destructor.

Definition at line 126 of file ProblemSatFilter.hpp.


Member Function Documentation

void clear void   )  [inline]
 

Clear all data.

Definition at line 121 of file ProblemSatFilter.hpp.

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Implements ProcessingClass.

Definition at line 42 of file ProblemSatFilter.cpp.

bool isBadSat const CommonTime time,
const SatID sat
[protected]
 

Definition at line 196 of file ProblemSatFilter.cpp.

References ProblemSatFilter::SatDataList, and ProblemSatFilter::satDataMap.

int loadSatelliteProblemFile const std::string &  crxFile  ) 
 

Load Satellite Problem File(*.CRX) download from 'ftp.unibe.ch/aiub/BSWUSER50/GEN'.

Definition at line 118 of file ProblemSatFilter.cpp.

References gpstk::abs(), ProblemSatFilter::SatData::actionFlag, CivilTime::convertToCommonTime(), ProblemSatFilter::SatData::endEpoch, ProblemSatFilter::SatData::problemFlag, ProblemSatFilter::SatDataList, ProblemSatFilter::satDataMap, ProblemSatFilter::SatData::spiltFlag, ProblemSatFilter::SatData::startEpoch, gpstk::StringUtils::strip(), gpstk::StringUtils::stripLeading(), and gpstk::StringUtils::stripTrailing().

gnssRinex & Process gnssRinex gData  )  throw (ProcessingException) [virtual]
 

Returns a gnnsRinex object, adding the new data generated when calling this object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 93 of file ProblemSatFilter.cpp.

References GPSTK_THROW.

virtual gnssSatTypeValue& Process gnssSatTypeValue gData  )  throw (ProcessingException) [inline, virtual]
 

Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 97 of file ProblemSatFilter.hpp.

satTypeValueMap & Process const CommonTime epoch,
satTypeValueMap gData
throw (ProcessingException) [virtual]
 

Returns a satTypeValueMap object, adding the new data generated when calling this object.

Parameters:
epoch Time of observations.
gData Data object holding the data.

Definition at line 52 of file ProblemSatFilter.cpp.

References GPSTK_THROW, and gpstk::SatIDSet.


Member Data Documentation

SatDataMap satDataMap [protected]
 

Object to holding all the data.

Definition at line 151 of file ProblemSatFilter.hpp.

Referenced by ProblemSatFilter::isBadSat(), and ProblemSatFilter::loadSatelliteProblemFile().


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