Go to the documentation of this file.
42 #ifndef GNSSTK_RINEX3_FILE_LOADER_INCLUDE
43 #define GNSSTK_RINEX3_FILE_LOADER_INCLUDE
145 timefmt = std::string(
"%04Y/%02m/%02d %02H:%02M:%02S");
208 inline void reset(std::vector<std::string> in_filenames)
221 inline void files(std::vector<std::string> in_filenames)
236 if (srot.size() != 4)
242 bool is3(srot.substr(0, 1) ==
"*");
313 for (
int i = 0; i < sats.size(); i++)
345 inline std::map<RinexSatID, std::vector<int>>
387 inline const std::vector<Rinex3ObsData>&
getStore()
const
400 int loadFiles(std::string& errmsg, std::string& msg);
423 const std::map<
char, std::vector<int>>& indexLoadOT,
424 std::vector<SatPass>& SPList);
458 #endif // GNSSTK_RINEX3_FILE_LOADER_INCLUDE
std::map< SatID, std::string > mapSatStr
void setTimeFormat(std::string fmt)
std::vector< std::string > getWantedObsTypes() const
std::vector< Rinex3ObsData > datastore
vector of all input data - filled only if saveData is true.
std::vector< std::string > wantedObsTypes
list of wanted RinexObsIDs, without any "*", which appear in header(s)
bool isValidRinexObsID(const std::string &strID)
std::vector< int > getTotalObsCounts() const
double dtdec
decimate to this time step
Rinex3ObsFileLoader()
empty constructor
bool saveData
if true save the data (F)
static const double dttol
tolerance in comparing times
void init()
initialization used by the constructors
void dumpStoreEpoch(std::ostream &s, const gnsstk::Rinex3ObsData &rod) const
@ Any
wildcard; allows comparison with any other type
std::vector< std::string > filenames
input RINEX obs file names
CommonTime & setTimeSystem(TimeSystem timeSystem)
static const GNSSTK_EXPORT CommonTime BEGINNING_OF_TIME
earliest representable CommonTime
int nepochsToRead
number of epochs to read (default:all)
void excludeSat(SatID sat)
void reset(std::vector< std::string > in_filenames)
void dumpStoreData(std::ostream &s) const
static const GNSSTK_EXPORT CommonTime END_OF_TIME
latest representable CommonTime
MostCommonValue mcv
estimator of the raw time interval
CommonTime stopTime
edit to start and stop times
const std::vector< Rinex3ObsData > & getStore() const
CommonTime getDataBeginTime() const
CommonTime endDataTime
first and last times of data
void setStopTime(const CommonTime &tt)
void files(std::vector< std::string > in_filenames)
void reset()
reset - called before reading another set of files, clears all info
CommonTime prevtime
used in reading loop for dt
std::vector< int > countWantedObsTypes
total counts per obs for wanted obs types (parallel to wantedObsTypes)
std::vector< SatID > exSats
exclude satellites, incl. (-1,sys)
Rinex3ObsFileLoader(std::vector< std::string > in_filenames)
void setDecimation(double dt)
void excludeSats(std::vector< SatID > sats)
void dumpAllRinex3ObsTypes(ostream &os)
void setStartTime(const CommonTime &tt)
int nepochs
number of epochs read
std::map< RinexSatID, std::vector< int > > SatObsCountMap
std::vector< std::string > obstypes
RINEX obs types found in data.
double rawdt
best est. of time interval, no decimate
double nominalDT
nominal timestep (rawdt or dtdec)
Rinex3ObsHeader getFullHeader(unsigned int i) const
bool loadObsID(std::string srot)
int loadFiles(std::string &errmsg, std::string &msg)
std::vector< Rinex3ObsHeader > headers
headers from reading filenames
const int getStoreSize() const
void dumpSatObsTable(std::ostream &s) const
void nEpochsToRead(int n)
std::string timefmt
format for time tags in output
void reset(int i=DEFAULT_DIM)
reset
std::vector< std::string > inputWantedObsTypes
int WriteSatPassList(const std::map< char, std::vector< std::string >> &obstypes, const std::map< char, std::vector< int >> &indexLoadOT, std::vector< SatPass > &SPList)
CommonTime getDataEndTime() const
Rinex3ObsFileLoader(std::string in_filename)
int vectorindex(const std::vector< T > &vec, const T &value)
std::map< RinexSatID, std::vector< int > > getWantedSatObsCountMap() const
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41