Rinex Utilities


Classes

class  GDCconfiguration
 class GDCconfiguration encapsulates the configuration for input to the GPSTK Discontinuity Corrector. More...
class  GDCreturn
 class GDCreturn encapsulates the information in the 'message' returned by the GPSTK Discontinuity Corrector. More...

Functions

int gpstk::DiscontinuityCorrector (SatPass &SP, GDCconfiguration &config, std::vector< std::string > &EditCmds, std::string &retMsg) throw (Exception)
 GPSTK Discontinuity Corrector.
int gpstk::RegisterARLUTExtendedTypes (void)
 Register commonly used extended Rinex observation types.
bool gpstk::isSP3File (const std::string &file)
 Determine if the given file is an SP3 format file.
bool gpstk::isRinexClockFile (const std::string &file)
 Determine if the given file is a RINEX clock format file.
bool gpstk::isRinexNavFile (const std::string &file)
 Determine if the given file is a RINEX navigation file.
bool gpstk::isRinex3NavFile (const std::string &file)
 Determine if the given file is a RINEX 3 navigation file.
bool gpstk::isRinexObsFile (const std::string &file)
 Determine if the given file is a RINEX observation file.
bool gpstk::isRinex3ObsFile (const std::string &file)
 Determine if the given file is a RINEX 3 observation file.
std::string gpstk::sortRinexObsFiles (std::vector< std::string > &files) throw (Exception)
 Sort a vector of RINEX obs file names on the time of the first observation as found in the header.
std::string gpstk::sortRinex3ObsFiles (std::vector< std::string > &files)
 Sort a vector of RINEX 3 obs file names on the time of the first observation as found in the header.
int gpstk::FillEphemerisStore (const std::vector< std::string > &files, gpstk::SP3EphemerisStore &PE, gpstk::GPSEphemerisStore &BCE)
 Open the files and add to the appropriate EphemerisStore.


Function Documentation

int DiscontinuityCorrector SatPass SP,
GDCconfiguration config,
std::vector< std::string > &  EditCmds,
std::string &  retMsg
throw (Exception)
 

GPSTK Discontinuity Corrector.

Find, and fix if possible, discontinuities in the GPS carrier phase data, given dual-frequency pseudorange and phase data for an entire satellite pass. Input is the SatPass object holding the data, and a GDCconfiguration object giving the parameter values for the corrector. Output is in the form of a list of strings - editing commands

  • that can be parsed and applied using the GPSTK Rinex Editor (see Prgm EditRinex and the RinexEditor class). Also, the L1 and L2 arrays in the input SatPass are corrected. The routine will mark bad points in the input data using the SatPass flag.
    Parameters:
    SP SatPass object containing the input data.
    config GDCconfiguration object.
    EditCmds vector<string> (output) containing RinexEditor commands.
    retMsg string summary of results: see output 'GDC' and parseGDCReturn()
    Returns:
    0 for success, otherwise return an Error code; codes are defined as follows. const int BadInput = -5 input data does not have the required obs types const int NoData = -4 insufficient input data, or all data is bad const int FatalProblem = -3 DT is not set, or memory problem const int Singularity = -1 polynomial fit fails const int ReturnOK = 0 normal return

Definition at line 595 of file DiscCorr.cpp.

References DCobstypes, GDCPass::detectGFslips(), GDCPass::detectWLslips(), GDCPass::finish(), GDCPass::fixAllSlips(), GDCUnique, GPSTK_RETHROW, GPSTK_THROW, L1, L2, GDCPass::linearCombinations(), P1, P2, GDCPass::prepareGFdata(), GDCPass::preprocess(), and GDCPass::WLconsistencyCheck().

int FillEphemerisStore const std::vector< std::string > &  files,
gpstk::SP3EphemerisStore PE,
gpstk::GPSEphemerisStore BCE
 

Open the files and add to the appropriate EphemerisStore.

Parameters:
files vector of the filenames.
PE an SP3EphemerisStore into which to put SP3 ephemeris data.
BCE a GPSEphemerisStore into which to put broadcast (Rinex Nav) ephemeris data.
Returns:
the number of files successfully read. Throws on errors.

bool isRinex3NavFile const std::string &  file  ) 
 

Determine if the given file is a RINEX 3 navigation file.

Open the file, read the header, and test its validity.

Parameters:
file the filename
Returns:
true if the file is a valid Rinex navigation file.

bool isRinex3ObsFile const std::string &  file  ) 
 

Determine if the given file is a RINEX 3 observation file.

Open the file, read the header, and test its validity.

Parameters:
file the filename
Returns:
true if the file is a valid Rinex observation file.

bool isRinexClockFile const std::string &  file  ) 
 

Determine if the given file is a RINEX clock format file.

Parameters:
file the filename
Returns:
true if the file is RINEX clock format.

bool isRinexNavFile const std::string &  file  ) 
 

Determine if the given file is a RINEX navigation file.

Open the file, read the header, and test its validity.

Parameters:
file the filename
Returns:
true if the file is a valid Rinex navigation file.

Referenced by gpstk::FillEphemerisStore().

bool isRinexObsFile const std::string &  file  ) 
 

Determine if the given file is a RINEX observation file.

Open the file, read the header, and test its validity.

Parameters:
file the filename
Returns:
true if the file is a valid Rinex observation file.

bool isSP3File const std::string &  file  ) 
 

Determine if the given file is an SP3 format file.

Parameters:
file the filename
Returns:
true if the file is SP3 format.

Referenced by gpstk::FillEphemerisStore().

int RegisterARLUTExtendedTypes void   ) 
 

Register commonly used extended Rinex observation types.

Returns:
0 ok, or the return value of RegisterExtendedRinexObsType().

Definition at line 72 of file RinexUtilities.cpp.

References GPSTK_RETHROW, GPSTK_THROW, and gpstk::RegisterExtendedRinexObsType().

std::string sortRinex3ObsFiles std::vector< std::string > &  files  ) 
 

Sort a vector of RINEX 3 obs file names on the time of the first observation as found in the header.

Return the sorted list in the calling argument. Do not include files that are found not to be RINEX 3 obs files, or that have invalid headers.

Parameters:
files vector<string> containing filenames, with path
Returns:
string containing error messages, if any

std::string sortRinexObsFiles std::vector< std::string > &  files  )  throw (Exception)
 

Sort a vector of RINEX obs file names on the time of the first observation as found in the header.

Return the sorted list in the calling argument. Do not include files that are found not to be RINEX obs files, or that have invalid headers.

Parameters:
files vector<string> containing filenames, with path
Returns:
string containing error messages, if any


Generated on Wed May 22 03:31:43 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1