Go to the documentation of this file.
46 GLOFNavUT1TimeOffset ::
47 GLOFNavUT1TimeOffset()
48 : tauc(
std::numeric_limits<double>::quiet_NaN()),
49 B1(
std::numeric_limits<double>::quiet_NaN()),
50 B2(
std::numeric_limits<double>::quiet_NaN()),
51 KP(-1), NT(-1), NA(-1)
61 const ios::fmtflags oldFlags = s.flags();
79 <<
" offset = " << offset << endl;
82 s <<
"****************************************************************"
83 <<
"************" << endl
84 <<
"Time System Offset"
89 <<
" TIMES OF INTEREST" << endl << endl
95 <<
"Parameter Value" << endl;
96 s.setf(ios::scientific, ios::floatfield);
97 s.setf(ios::right, ios::adjustfield);
98 s.setf(ios::uppercase);
101 s <<
"tau_c " << setw(14) <<
tauc <<
" sec" << endl
102 <<
"B1 " << setw(14) <<
B1 <<
" sec" << endl
103 <<
"B2 " << setw(14) <<
B2 <<
" sec/sec" << endl
104 <<
"KP " << setw(12) <<
KP;
107 s <<
" No leap second this quarter";
111 s <<
" +1 leap second this quarter";
115 s <<
" -1 leap second this quarter";
119 s <<
" Unknown meaning";
122 <<
"NT " << setw(12) <<
NT <<
" days" << endl
123 <<
"NA " << setw(12) <<
NA <<
" days" << endl;
133 s.setf(ios::scientific, ios::floatfield);
134 s.setf(ios::right, ios::adjustfield);
135 s.setf(ios::uppercase);
140 s <<
" s, B2:" <<
B2;
143 s <<
" s/s, KP:" <<
KP;
158 double dUT1 =
B1 +
B2*dt;
162 offset = -10800 +
tauc + dUT1;
void dumpTerse(std::ostream &s) const
std::string getSignalString() const
int id
Satellite identifier, e.g. PRN.
virtual void dump(std::ostream &s, DumpDetail dl) const
std::pair< TimeSystem, TimeSystem > TimeCvtKey
double B1
Time bias in seconds.
unsigned KP
Leap second indicator.
std::string getDumpTime(DumpDetail dl, const CommonTime &t) const
double B2
Time drift in s/s.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
std::string getDumpTimeHdr(DumpDetail dl) const
NavMessageID signal
Source signal identification for this navigation message data.
std::set< TimeCvtKey > TimeCvtSet
Define a unique set of time system conversions.
bool validate() const override
double tauc
Non-integer correction between UTC(SU) and GLONASS.
SatID sat
ID of satellite to which the nav data applies.
TimeSystem
Definition of various time systems.
@ GLO
GLONASS system time (aka UTC(SU))
@ UTC
Coordinated Universal Time (e.g., from NTP)
@ Terse
Aptly named, multiple lines of output with no labels.
void dump(std::ostream &s, DumpDetail dl) const override
#define GNSSTK_ASSERT(CONDITION)
Provide an "ASSERT" type macro.
unsigned NT
Ephemeris days since leap year.
TimeCvtSet getConversions() const override
TimeSystem getTimeSystem() const
Obtain time system info (enum).
DumpDetail
Specify level of detail for dump output.
std::string printTime(const CommonTime &t, const std::string &fmt)
@ Brief
Limit output to <= 5 lines of minimal information.
unsigned NA
Almanac days since leap year.
@ OneLine
Limit output to minimal information on a single line.
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39