Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Static Private Member Functions | List of all members
gnsstk::gdc Class Reference

Detailed Description

Class gdc encapsulates configuration and processing for cycle slip detection and fixing using class SatPass.

Definition at line 319 of file gdc.hpp.

#include <gdc.hpp>

Public Member Functions

double cfg_func (std::string a)
 
int DiscontinuityCorrector (const RinexSatID &sat, const double &nominalDT, const Epoch &beginTime, std::vector< double > dataL1, std::vector< double > dataL2, std::vector< double > dataP1, std::vector< double > dataP2, std::vector< double > dt, std::vector< int > flags, std::string &retMsg, std::vector< std::string > &cmds, int GLOn=-99, std::string outfmt=std::string("%4F %10.3g"))
 
int DiscontinuityCorrector (SatPass &SP, std::string &retMsg, std::vector< std::string > &cmds, int GLOn=-99)
 
void DisplayParameterUsage (std::ostream &os, std::string tag=std::string(), bool advanced=false)
 
void ForceUniqueNumber (int n)
 
 gdc ()
 constructor; this sets a full default set of parameters. More...
 
double getParameter (std::string label)
 
int getUniqueNumber ()
 get the unique number; note that it is incremented at start of Disc..Corr() More...
 
bool setParameter (std::string cmd)
 
bool setParameter (std::string label, double value)
 
 ~gdc ()
 destructor More...
 

Protected Member Functions

bool addArc (const int index, const unsigned mark)
 
void applyFixesToSatPass (SatPass &SP)
 
unsigned computeNgood (Arc &arc)
 recompute the number of good points in an Arc More...
 
void DumpArcs (const std::string &tag, const std::string &label, int prec=-1)
 
void dumpData (std::ostream &os, const std::string msg=std::string())
 dump the data stored in the data arrays More...
 
void DumpHits (const std::vector< FilterHit< double >> &filterResults, const std::string &tag, const std::string &label, int prec=-1)
 
int filterFirstDiff (const unsigned which, const std::string label, double limit, std::vector< FilterHit< double >> &hits)
 
int filterWindow (const unsigned which, const std::string label, double limit, std::vector< FilterHit< double >> &hits)
 
int FinalCheck ()
 
void findArc (const unsigned int ind, std::map< int, Arc >::iterator &ait)
 
std::map< int, int > findGaps (const Arc &arc)
 
void findLargeGaps ()
 
int FineProcessing (const unsigned which)
 
int fixSlips (const unsigned which)
 
void fixUpArcs ()
 modify Arcs: recompute npts and ngood, remove empty Arcs More...
 
void flagBadData (const FilterHit< double > &hit, const unsigned flagvalue)
 
void generateCmds (std::vector< std::string > &cmds)
 
void getArcStats (const unsigned which)
 
void getArcStats (std::map< int, Arc >::iterator &ait, const unsigned which)
 
int GrossProcessing (const unsigned which)
 
void init ()
 Initializer used in c'tor to define default configuration. More...
 
int mergeFilterResultsIntoArcs (std::vector< FilterHit< double >> &hits, const unsigned which)
 
int ProcessOneCombo (const unsigned which)
 
void recomputeArcs ()
 
std::string returnMessage (int prec=-1, int wid=-1)
 build the string that is returned by the discontinuity corrector More...
 
Epoch xtime (const int &i)
 compute a time tag from array index: beginT + (xdata[i]==ndt)*dt More...
 

Protected Attributes

double alpha
 alpha, from sat More...
 
std::map< int, ArcArcs
 
Epoch beginT
 begin time from SatPass More...
 
double beta
 beta, from sat More...
 
std::map< std::string, double > CFG
 map containing configuration labels and their values More...
 
std::map< std::string, std::string > CFGdesc
 map containing configuration labels and their descriptions More...
 
int CFGindex
 map used to keep them in order More...
 
std::map< int, std::string > CFGlist
 
std::vector< double > dataGF
 
std::vector< double > dataWL
 
double dt
 data time spacing, from SatPass, in sec More...
 
std::vector< int > flags
 
double GFbias
 bias determined by initial value of GF, in wl More...
 
int GLOchan
 GLONASS frequency channel (-99 by default in GDC()) More...
 
bool isGLO
 true if this is a GLONASS satellite More...
 
long long N1bias
 bias in L1 at initial point (from P1=wl1*(N1bias+L1)) More...
 
long long N2bias
 bias in L2 at initial point (from P2=wl2*(N2bias+L2)) More...
 
int osprec
 output stream precision More...
 
int oswidth
 output stream width More...
 
std::string outfmt
 output time format, from SatPass More...
 
RinexSatID sat
 member data used internally More...
 
std::string SPSstr
 SPS output of SatPass, or generated equivalent. More...
 
std::string tag
 begin each output line with 'GDC <unique>' ( <label>) More...
 
int unique
 unique number, counting passes or calls More...
 
double wl1
 L1 wavelength, from sat, in meters. More...
 
double wl2
 L2 wavelength, from sat, in meters. More...
 
double WLbias
 bias determined by initial value of WL, in wl More...
 
double wlGF
 GF wavelength = wl2-wl1 = 5.376cm, in meters. More...
 
double wlNL
 NL wavelength ~10.7cm, in meters. More...
 
double wlWL
 WL wavelength ~86cm, in meters. More...
 
std::vector< double > xdata
 

Static Protected Attributes

static const unsigned BAD = 1
 flag for bad data = 1 NB SatPass::BAD = 0 More...
 
static const std::vector< unsigned > FIX = gdc::create_vector_FIX()
 slips, fixes More...
 
static const GNSSTK_EXPORT std::string GDCVersion = string("9.0 5/20/17")
 Version string. More...
 
static const unsigned GF = 1
 used internally to denote the GF combo More...
 
static const unsigned GFOUTLIER = 3
 flag for data called outlier by GF filter More...
 
static const unsigned GFSHORT = 5
 flag for data with Arc.ngood < MinPts More...
 
static const unsigned ISOLATED
 flag for isolated good data (< MinPts) More...
 
static const std::vector< std::string > LAB = gdc::create_vector_LAB()
 vector of labels: WL, GF More...
 
static const unsigned OK = 0
 Values for flags[] = bit maps. More...
 
static const std::vector< unsigned > SLIP = gdc::create_vector_SLIP()
 
static const unsigned WL = 0
 conveniences More...
 
static std::vector< double > wl
 vector of wavelengths More...
 
static const unsigned WLOUTLIER = 2
 flag for data called outlier by WL filter More...
 
static const unsigned WLSHORT = 4
 flag for data with Arc.ngood < MinPts More...
 

Static Private Member Functions

static std::vector< unsigned > create_vector_FIX ()
 helper routine to initialize vectors More...
 
static std::vector< std::string > create_vector_LAB ()
 helper routine to initialize vectors More...
 
static std::vector< unsigned > create_vector_SLIP ()
 helper routine to initialize vectors More...
 

Constructor & Destructor Documentation

◆ gdc()

gnsstk::gdc::gdc ( )
inline

constructor; this sets a full default set of parameters.

Definition at line 323 of file gdc.hpp.

◆ ~gdc()

gnsstk::gdc::~gdc ( )
inline

destructor

Definition at line 326 of file gdc.hpp.

Member Function Documentation

◆ addArc()

bool gnsstk::gdc::addArc ( const int  index,
const unsigned  mark 
)
protected

add a new Arc to Arcs at index, using the given value for mark.

Parameters
indexthe index into data[] at which to add the Arc
markthe value to assign to the new Arc's mark
Returns
true if new Arc created -> fixUpArcs() should be called.
Exceptions
Exception

Definition at line 913 of file gdc.cpp.

◆ applyFixesToSatPass()

void gnsstk::gdc::applyFixesToSatPass ( SatPass SP)
protected

apply the results to fix the input SatPass; cf. cfg(doFix)

Parameters
SPSatPass object containing the input data.
breaksvector of indexes where SatPass SP must be broken into two
marksvector of indexes in SatPass SP where breaks are suspected
Exceptions
Exception

Definition at line 1600 of file gdc.cpp.

◆ cfg_func()

double gnsstk::gdc::cfg_func ( std::string  a)
inline

define this function so that invalid labels will throw, because this fails silently #define cfg(a) CFG[#a] // stringize

Exceptions
Exception

Definition at line 373 of file gdc.hpp.

◆ computeNgood()

unsigned gnsstk::gdc::computeNgood ( Arc arc)
inlineprotected

recompute the number of good points in an Arc

Definition at line 727 of file gdc.hpp.

◆ create_vector_FIX()

static std::vector<unsigned> gnsstk::gdc::create_vector_FIX ( )
inlinestaticprivate

helper routine to initialize vectors

Definition at line 497 of file gdc.hpp.

◆ create_vector_LAB()

static std::vector<std::string> gnsstk::gdc::create_vector_LAB ( )
inlinestaticprivate

helper routine to initialize vectors

Definition at line 505 of file gdc.hpp.

◆ create_vector_SLIP()

static std::vector<unsigned> gnsstk::gdc::create_vector_SLIP ( )
inlinestaticprivate

helper routine to initialize vectors

Definition at line 489 of file gdc.hpp.

◆ DiscontinuityCorrector() [1/2]

int gnsstk::gdc::DiscontinuityCorrector ( const RinexSatID sat,
const double &  nominalDT,
const Epoch beginTime,
std::vector< double >  dataL1,
std::vector< double >  dataL2,
std::vector< double >  dataP1,
std::vector< double >  dataP2,
std::vector< double >  dt,
std::vector< int >  flags,
std::string &  retMsg,
std::vector< std::string > &  cmds,
int  GLOn = -99,
std::string  outfmt = std::string("%4F %10.3g") 
)

Overloaded version that accepts input data in parallel arrays. NB phases are in cycles, ranges in meters. See the doc in the SatPass version. This is where the work is done; SatPass version creates arrays and calls this. Flags on input must be either 1(OK) or 0(BAD) (as in SatPass), however on output they are defined by static consts OK, BAD, etc

Exceptions
Exception

Definition at line 246 of file gdc.cpp.

◆ DiscontinuityCorrector() [2/2]

int gnsstk::gdc::DiscontinuityCorrector ( SatPass SP,
std::string &  retMsg,
std::vector< std::string > &  cmds,
int  GLOn = -99 
)

GNSSTK Discontinuity Corrector (GDC). Find, and fix if possible, discontinuities in the GPS or GLONASS carrier phase data, given dual-frequency pseudorange and phase data for a satellite pass.

There are two versions, one accepts the data in parallel vectors, the other uses class SatPass, converts the data to vectors and calls the first version.

Input is the SatPass object, or a set of vectors, that hold the data. Part of the input is a flags array, which is defined in SatPass (ok=1, bad=0); a similarly defined array is required in the array-input version.

Glonass satellites require a frequency channel integer; the caller may pass this in, or let the GDC compute it from the data - if it fails it returns -9.

This call assumes that the GDC has already been configured. See DisplayParameterUsage() for list of cfg.

The results of the process can be found in the flags array, with its values defined by static constants OK, SLIP, etc. NB on output OK=0, the OPPOSITE of input/SatPass where OK/BAD = 1/0.

Other output depends on the two configuration parameters doFix and doCmds. If doFix is on (non-zero) then the SatPass is modified for slips, outliers and bad data. Note that the GDC never splits a SatPass in two, even if rejecting data has created a large gap; this is a function only the caller can apply and so must be done after this call.

If doCmds is on, the call returns a vector of strings which are editing commands for EditRinex or tk-RinEdit; they are the "--IF name" form which is accepted by both (tk-RinEdit only takes this form).

Also, the L1 and L2 arrays in the input SatPass are corrected. The routine will flag bad points in the input data using the values defined in this class, including OK, BAD, WLOUTLIER, GFOUTLIER, Arc::WLSLIP, Arc::GFSLIP Glonass satellites require a frequency channel integer; the caller may pass this in, or let the GDC compute it from the data - if this fails it returns -9.

Output data filter output : use setParameter(WLF,1) RAW data as read from SatPass in m WL1 results of first difference filter of WL in wl WLW results of window filter of WL in wl WLF data with WL slips fixed and outliers removed in m GF1 results of first difference filter of GF in wl GFW results of window filter of GF in wl GFF data with GF slips fixed and outliers removed in m FIN data after final check

Parameters
SPSatPass object containing the input data.
retMsgstring summary of results: see 'GDC' in output
cmdsvector of strings giving editing commands for RINEX editor.
GLOnGLONASS frequency channel (-7<=n<7), -99 (default) : UNKNOWN. if -99, try to compute from SatPass.
Returns
0 for success, otherwise return an Error code; defined as follows. -4 insufficient input data, or all data is bad // TD this true? -9 GLONASS frequency channel could not be computed.
Exceptions
Exceptionon the following: input data does not have the required obs types DT is not set, or a memory problem was encountered failed to find the Glonass frequency channel

Definition at line 144 of file gdc.cpp.

◆ DisplayParameterUsage()

void gnsstk::gdc::DisplayParameterUsage ( std::ostream &  os,
std::string  tag = std::string(),
bool  advanced = false 
)

Print help page, including descriptions and current values of all the parameters, to the ostream.

Parameters
osostream to which to write
tagstring to put at the beginning of each line of output
advancedif true, also print advanced parameters.
Exceptions
Exception

Definition at line 2007 of file gdc.cpp.

◆ DumpArcs()

void gnsstk::gdc::DumpArcs ( const std::string &  tag,
const std::string &  label,
int  prec = -1 
)
protected

dump all Arcs, e.g. #GDC 1 GFW Arc1[0] BEG good/tot=772/772=100.00% dWL=0.00wl 1210 -0.38 +-0.39 dGF=0.00wl 1210 -0.38 +-0.34 #GDC 1 GFW Arc2[772] WLslip/GFslip/WLfix/GFfix good/tot=438/445=98.43% dWL=46.54wl 438 -0.71 +-0.32 dGF=-46.37wl 438 -0.71 +-0.32

Definition at line 1427 of file gdc.cpp.

◆ dumpData()

void gnsstk::gdc::dumpData ( std::ostream &  os,
const std::string  msg = std::string() 
)
protected

dump the data stored in the data arrays

Definition at line 1387 of file gdc.cpp.

◆ DumpHits()

void gnsstk::gdc::DumpHits ( const std::vector< FilterHit< double >> &  filterResults,
const std::string &  tag,
const std::string &  label,
int  prec = -1 
)
protected

dump all FilterHits, e.g. #GDC 1 GFW Hit1[2] BOD npts=1206 ngood=1206 step 0.00 min 0.00 max 0.00 med 0.07 mad 0.03

Definition at line 1411 of file gdc.cpp.

◆ filterFirstDiff()

int gnsstk::gdc::filterFirstDiff ( const unsigned  which,
const std::string  label,
double  limit,
std::vector< FilterHit< double >> &  hits 
)
protected

filter using first differences

Parameters
[in]whichis either WL or GF
[in]labelstring to be passed to dump e.g. "GFG"
[in]limitpass to filter.setLimit()
[out]hitscontaining all outliers and slips
Returns
value of filter() if negative, otherwise number of slips found
Exceptions
Exception

Definition at line 621 of file gdc.cpp.

◆ filterWindow()

int gnsstk::gdc::filterWindow ( const unsigned  which,
const std::string  label,
double  limit,
std::vector< FilterHit< double >> &  hits 
)
protected

filter using window filter

Parameters
[in]whichis either WL or GF
[in]labelstring to be passed to dump e.g. "GFG"
[in]limitpass to filter.setLimit()
[out]hitscontaining all outliers and slips
Returns
value of filter() if negative, otherwise number of slips found
Exceptions
Exception

Definition at line 673 of file gdc.cpp.

◆ FinalCheck()

int gnsstk::gdc::FinalCheck ( )
protected

do a final check on the pass. Look for isolated good points (< MinPts good points surrounded by N(?) bad points on each side.

Exceptions
Exception

Definition at line 1273 of file gdc.cpp.

◆ findArc()

void gnsstk::gdc::findArc ( const unsigned int  ind,
std::map< int, Arc >::iterator &  ait 
)
inlineprotected

find the Arc that contains a given index, starting with the given iterator

Exceptions
Exceptionif the index is out of range

Definition at line 820 of file gdc.hpp.

◆ findGaps()

map< int, int > gnsstk::gdc::findGaps ( const Arc arc)
protected

find gaps within the given Arc, including those at the very beginning (index==Arc.index) and at the very end (index+nptsgap==Arc.index+Arc.npts).

Returns
map with key=index of beginning of gap, value=number of points in gap.
Exceptions
Exception

Definition at line 1146 of file gdc.cpp.

◆ findLargeGaps()

void gnsstk::gdc::findLargeGaps ( )
protected

find gaps within Arc in Arcs; if gap is larger than MaxGap, break the Arc into two, adding a BEG Arc after the gap.

Exceptions
Exception

Definition at line 1075 of file gdc.cpp.

◆ FineProcessing()

int gnsstk::gdc::FineProcessing ( const unsigned  which)
protected

process one combo (WL or GF) using window filter; called by ProcessOneCombo

Returns
return value of filter() if negative, otherwise number of slips found
Exceptions
Exception

Definition at line 552 of file gdc.cpp.

◆ fixSlips()

int gnsstk::gdc::fixSlips ( const unsigned  which)
protected

Fix slips between Arcs, using info.step (NOT info.Nslip), which is defined by the filter in results(FilterHit). Compute an integer from step and ADD it to Nslip. Thus Nslip always has the total slip, while step has only the latest estimate, and is used to fix. In the case of the FirstDifferenceFilter this step is only an approximate fix; for the WindowFilter the step is defined by stats on the two segments (one-sample for WL and two-sample for GF).

Parameters
whichis either WL or GF
Returns
the number of slips fixed.
Exceptions
Exception

Definition at line 1193 of file gdc.cpp.

◆ fixUpArcs()

void gnsstk::gdc::fixUpArcs ( )
protected

modify Arcs: recompute npts and ngood, remove empty Arcs

Exceptions
Exception

Definition at line 946 of file gdc.cpp.

◆ flagBadData()

void gnsstk::gdc::flagBadData ( const FilterHit< double > &  hit,
const unsigned  flagvalue 
)
protected

Flag bad data in the flags[] array, using a filter hit object. Don't alter Arcs NB FixUpArcs() must be called after this routine to recompute ngood. Note that flags[] is changed ONLY if flags[] currently OK....TD use bitmap?

Parameters
hitthe FilterHit, which describes a segment to be marked
flagvaluethe value to which flags[] is set for each outlier.
Exceptions
Exception

Definition at line 893 of file gdc.cpp.

◆ ForceUniqueNumber()

void gnsstk::gdc::ForceUniqueNumber ( int  n)
inline

Allow caller to force unique number, before call to DiscontinuityCorrector(), which will immediately increment it.

Parameters
ninteger force unique number in output to be this+1

Definition at line 391 of file gdc.hpp.

◆ generateCmds()

void gnsstk::gdc::generateCmds ( std::vector< std::string > &  cmds)
protected

apply the results to generate editing commands; cfg(doCmds) Use tk-RinEdit form for commands (–IF name, etc) since EditRinex also takes.

Parameters
cmdsvector of strings giving editing commands for RINEX editor.
Exceptions
Exception

Definition at line 1706 of file gdc.cpp.

◆ getArcStats() [1/2]

void gnsstk::gdc::getArcStats ( const unsigned  which)
inlineprotected

compute stats for 'which' data (WL or GF or both: WL&GF) for all Arcs

Parameters
whichis either WL or GF
Exceptions
Exception

Definition at line 745 of file gdc.hpp.

◆ getArcStats() [2/2]

void gnsstk::gdc::getArcStats ( std::map< int, Arc >::iterator &  ait,
const unsigned  which 
)
protected

compute stats for 'which' data (WL or GF but not both) for the given Arc. NB this is sneaky and goes across fixed slips.... NB do not confuse this with WindowFilter::getStats()

Parameters
aititerator pointing to element of Arcs that contains the Arc
whichis either WL or GF
Exceptions
Exception

Definition at line 1006 of file gdc.cpp.

◆ getParameter()

double gnsstk::gdc::getParameter ( std::string  label)
inline

Get the parameter in the configuration corresponding to label

Parameters
labelparameter label for which value is returned
Returns
value of the 'label' parameter

Definition at line 354 of file gdc.hpp.

◆ getUniqueNumber()

int gnsstk::gdc::getUniqueNumber ( )
inline

get the unique number; note that it is incremented at start of Disc..Corr()

Definition at line 384 of file gdc.hpp.

◆ GrossProcessing()

int gnsstk::gdc::GrossProcessing ( const unsigned  which)
protected

process one combo (WL or GF) using 1st differences; called by ProcessOneCombo

Returns
return value of filter() if negative, otherwise number of slips found
Exceptions
Exception

Definition at line 483 of file gdc.cpp.

◆ init()

void gnsstk::gdc::init ( )
protected

Initializer used in c'tor to define default configuration.

Definition at line 2076 of file gdc.cpp.

◆ mergeFilterResultsIntoArcs()

int gnsstk::gdc::mergeFilterResultsIntoArcs ( std::vector< FilterHit< double >> &  hits,
const unsigned  which 
)
protected

merge filter results (vector<FilterHit>) into the Arcs list, and set flags[]. The merge will mark outliers, add new Arc's where there are slips, and call fixUpArcs(), if necessary. Test with cases where there is huge data rejection in GF, after WL slips, etc.

Parameters
hitsvector<FilterHit> which is results of filter
whichis either WL or GF
Returns
the number of new Arcs in Arcs
Exceptions
Exception

Definition at line 755 of file gdc.cpp.

◆ ProcessOneCombo()

int gnsstk::gdc::ProcessOneCombo ( const unsigned  which)
protected

process one combo (WL or GF) all the way through 1st diff and window filters, flagging outliers, marking and fixing slips, and dumping.

Returns
return value of filter() if negative, otherwise number of slips found
Exceptions
Exception

Definition at line 444 of file gdc.cpp.

◆ recomputeArcs()

void gnsstk::gdc::recomputeArcs ( )
protected

recompute the npts and ngood for each Arc using the indexes in the map: Arcs

Exceptions
Exception

Definition at line 971 of file gdc.cpp.

◆ returnMessage()

string gnsstk::gdc::returnMessage ( int  prec = -1,
int  wid = -1 
)
protected

build the string that is returned by the discontinuity corrector

Definition at line 1444 of file gdc.cpp.

◆ setParameter() [1/2]

bool gnsstk::gdc::setParameter ( std::string  cmd)

Set a parameter in the configuration; the input string 'cmd' is of the form '[–DC]<id><s><value>' where the separator s is one of (:=,) and leading '-','–', or '–DC' are optional.

Parameters
cmdstring version of assigning a parameter, e.g. 'debug=0'
Returns
true if successful, otherwise label not valid, or parsing error
Exceptions
Exception

Definition at line 1894 of file gdc.cpp.

◆ setParameter() [2/2]

bool gnsstk::gdc::setParameter ( std::string  label,
double  value 
)

Set a parameter in the configuration using the label and the value, for booleans use (T,F)=(non-zero,zero).

Parameters
labelparameter label - cf. DisplayParameterUsage() for list of labels
valueparameter value to be assigned (0 for false)
Returns
true if successful, otherwise the label is not a valid parameter
Exceptions
Exception

Definition at line 1934 of file gdc.cpp.

◆ xtime()

Epoch gnsstk::gdc::xtime ( const int &  i)
inlineprotected

compute a time tag from array index: beginT + (xdata[i]==ndt)*dt

Definition at line 804 of file gdc.hpp.

Member Data Documentation

◆ alpha

double gnsstk::gdc::alpha
protected

alpha, from sat

Definition at line 583 of file gdc.hpp.

◆ Arcs

std::map<int, Arc> gnsstk::gdc::Arcs
protected

The list (map) of arcs used to store beginnings (BEG=first Arc and after gap), slips, number of points, number of good points and stats. The map has key=index into data arrays at which the Arc begins, and value = Arc. Note that Arcs[A.index] = A, always. Since Arcs is a map with key=index, it is sorted on index i.e. in the same order as data[]. The first value in this map (Arcs.begin(), at index 0) is always marked BEG and has index=0 = first data index, and the last Arc in Arcs has index+npts = last data index + 1. New Arcs are created whenever there is a slip, or a gap larger than MaxGap. Arcs hang around, but slips get fixed, e.g. Arc.mark=WLSLIP&GFSLIP&WLFIX&GFFIX. When a slip is fixed, it is marked with xxFIX and the data modified from Arc.index all the way to the end.

Definition at line 622 of file gdc.hpp.

◆ BAD

const unsigned gnsstk::gdc::BAD = 1
staticprotected

flag for bad data = 1 NB SatPass::BAD = 0

Definition at line 524 of file gdc.hpp.

◆ beginT

Epoch gnsstk::gdc::beginT
protected

begin time from SatPass

Definition at line 565 of file gdc.hpp.

◆ beta

double gnsstk::gdc::beta
protected

beta, from sat

Definition at line 584 of file gdc.hpp.

◆ CFG

std::map<std::string, double> gnsstk::gdc::CFG
protected

map containing configuration labels and their values

Definition at line 545 of file gdc.hpp.

◆ CFGdesc

std::map<std::string, std::string> gnsstk::gdc::CFGdesc
protected

map containing configuration labels and their descriptions

Definition at line 548 of file gdc.hpp.

◆ CFGindex

int gnsstk::gdc::CFGindex
protected

map used to keep them in order

Definition at line 551 of file gdc.hpp.

◆ CFGlist

std::map<int, std::string> gnsstk::gdc::CFGlist
protected

Definition at line 552 of file gdc.hpp.

◆ dataGF

std::vector<double> gnsstk::gdc::dataGF
protected

Definition at line 593 of file gdc.hpp.

◆ dataWL

std::vector<double> gnsstk::gdc::dataWL
protected

vectors used in processing - these MUST always remain parallel and equal length vector of data e.g. WLC and GFP, in wavelengths

Definition at line 593 of file gdc.hpp.

◆ dt

double gnsstk::gdc::dt
protected

data time spacing, from SatPass, in sec

Definition at line 564 of file gdc.hpp.

◆ FIX

const vector< unsigned > gnsstk::gdc::FIX = gdc::create_vector_FIX()
staticprotected

slips, fixes

Definition at line 538 of file gdc.hpp.

◆ flags

std::vector<int> gnsstk::gdc::flags
protected

vector of flags from SatPass OR GDC processing; non-zero == ignore data

Definition at line 606 of file gdc.hpp.

◆ GDCVersion

const string gnsstk::gdc::GDCVersion = string("9.0 5/20/17")
staticprotected

Version string.

Definition at line 516 of file gdc.hpp.

◆ GF

const unsigned gnsstk::gdc::GF = 1
staticprotected

used internally to denote the GF combo

Definition at line 537 of file gdc.hpp.

◆ GFbias

double gnsstk::gdc::GFbias
protected

bias determined by initial value of GF, in wl

Definition at line 574 of file gdc.hpp.

◆ GFOUTLIER

const unsigned gnsstk::gdc::GFOUTLIER = 3
staticprotected

flag for data called outlier by GF filter

Definition at line 528 of file gdc.hpp.

◆ GFSHORT

const unsigned gnsstk::gdc::GFSHORT = 5
staticprotected

flag for data with Arc.ngood < MinPts

Definition at line 530 of file gdc.hpp.

◆ GLOchan

int gnsstk::gdc::GLOchan
protected

GLONASS frequency channel (-99 by default in GDC())

Definition at line 571 of file gdc.hpp.

◆ isGLO

bool gnsstk::gdc::isGLO
protected

true if this is a GLONASS satellite

Definition at line 563 of file gdc.hpp.

◆ ISOLATED

const unsigned gnsstk::gdc::ISOLATED
staticprotected
Initial value:
=
6

flag for isolated good data (< MinPts)

Definition at line 532 of file gdc.hpp.

◆ LAB

const vector< string > gnsstk::gdc::LAB = gdc::create_vector_LAB()
staticprotected

vector of labels: WL, GF

Definition at line 539 of file gdc.hpp.

◆ N1bias

long long gnsstk::gdc::N1bias
protected

bias in L1 at initial point (from P1=wl1*(N1bias+L1))

Definition at line 577 of file gdc.hpp.

◆ N2bias

long long gnsstk::gdc::N2bias
protected

bias in L2 at initial point (from P2=wl2*(N2bias+L2))

Definition at line 579 of file gdc.hpp.

◆ OK

const unsigned gnsstk::gdc::OK = 0
staticprotected

Values for flags[] = bit maps.

flag for good data = 0 NB SatPass::OK = 1

Definition at line 523 of file gdc.hpp.

◆ osprec

int gnsstk::gdc::osprec
protected

output stream precision

Definition at line 569 of file gdc.hpp.

◆ oswidth

int gnsstk::gdc::oswidth
protected

output stream width

Definition at line 568 of file gdc.hpp.

◆ outfmt

std::string gnsstk::gdc::outfmt
protected

output time format, from SatPass

Definition at line 567 of file gdc.hpp.

◆ sat

RinexSatID gnsstk::gdc::sat
protected

member data used internally

satellite id, from SatPass

Definition at line 562 of file gdc.hpp.

◆ SLIP

const vector< unsigned > gnsstk::gdc::SLIP = gdc::create_vector_SLIP()
staticprotected

Definition at line 538 of file gdc.hpp.

◆ SPSstr

std::string gnsstk::gdc::SPSstr
protected

SPS output of SatPass, or generated equivalent.

Definition at line 559 of file gdc.hpp.

◆ tag

std::string gnsstk::gdc::tag
protected

begin each output line with 'GDC <unique>' ( <label>)

Definition at line 558 of file gdc.hpp.

◆ unique

int gnsstk::gdc::unique
protected

unique number, counting passes or calls

Definition at line 556 of file gdc.hpp.

◆ WL

const unsigned gnsstk::gdc::WL = 0
staticprotected

conveniences

used internally to denote the WL combo

Definition at line 536 of file gdc.hpp.

◆ wl

std::vector<double> gnsstk::gdc::wl
staticprotected

vector of wavelengths

Definition at line 540 of file gdc.hpp.

◆ wl1

double gnsstk::gdc::wl1
protected

L1 wavelength, from sat, in meters.

Definition at line 581 of file gdc.hpp.

◆ wl2

double gnsstk::gdc::wl2
protected

L2 wavelength, from sat, in meters.

Definition at line 582 of file gdc.hpp.

◆ WLbias

double gnsstk::gdc::WLbias
protected

bias determined by initial value of WL, in wl

Definition at line 573 of file gdc.hpp.

◆ wlGF

double gnsstk::gdc::wlGF
protected

GF wavelength = wl2-wl1 = 5.376cm, in meters.

Definition at line 586 of file gdc.hpp.

◆ wlNL

double gnsstk::gdc::wlNL
protected

NL wavelength ~10.7cm, in meters.

Definition at line 587 of file gdc.hpp.

◆ WLOUTLIER

const unsigned gnsstk::gdc::WLOUTLIER = 2
staticprotected

flag for data called outlier by WL filter

Definition at line 526 of file gdc.hpp.

◆ WLSHORT

const unsigned gnsstk::gdc::WLSHORT = 4
staticprotected

flag for data with Arc.ngood < MinPts

Definition at line 529 of file gdc.hpp.

◆ wlWL

double gnsstk::gdc::wlWL
protected

WL wavelength ~86cm, in meters.

Definition at line 585 of file gdc.hpp.

◆ xdata

std::vector<double> gnsstk::gdc::xdata
protected

vector of dt*ndt = number of steps of dt from begin point * dt; from spdvector

Definition at line 599 of file gdc.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44