Go to the documentation of this file.
46 GLOCNavUT1TimeOffset ::
47 GLOCNavUT1TimeOffset()
49 UTCTAI(
std::numeric_limits<double>::quiet_NaN())
59 const ios::fmtflags oldFlags = s.flags();
72 <<
" offset = " << offset << endl;
75 s <<
"****************************************************************"
76 <<
"************" << endl
77 <<
"Time System Offset" << endl << endl
78 <<
"PRN : " << setw(2) <<
signal.
sat <<
" / "
79 <<
"SVN : " << setw(2);
87 <<
" TIMES OF INTEREST" << endl << endl
93 <<
"Parameter Value" << endl
96 << right << uppercase << fixed << setprecision(0) << setfill(
' ')
97 << scientific << setprecision(9)
98 <<
"B0 " << setw(16) <<
B0 <<
" sec" << endl
99 <<
"B1 " << setw(16) <<
B1 <<
" sec/sec" << endl
100 <<
"B2 " << setw(16) <<
B2 <<
" sec/sec**2" << endl
101 << fixed << setprecision(0)
102 <<
"UTC-TAI " << setw(16) <<
UTCTAI <<
" sec" << endl;
110 const ios::fmtflags oldFlags = s.flags();
113 s.setf(ios::scientific, ios::floatfield);
114 s.setf(ios::right, ios::adjustfield);
115 s.setf(ios::uppercase);
118 s <<
"B0:" <<
B0 <<
" s, B1:" <<
B1 <<
" s/s, B2:" <<
B2 <<
"s/s**2 ";
132 double dt = (when -
refTime) / 86400.0;
133 double tauUT1 =
B0 +
B1*dt + (
B2/2.0)*dt*dt;
int id
Satellite identifier, e.g. PRN.
virtual void dump(std::ostream &s, DumpDetail dl) const
std::pair< TimeSystem, TimeSystem > TimeCvtKey
double B1
Time drift in s/s.
TimeCvtSet getConversions() const override
double B0
Time bias in seconds.
std::string getDumpTime(DumpDetail dl, const CommonTime &t) const
void dumpTerse(std::ostream &s) const
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
std::string getDumpTimeHdr(DumpDetail dl) const
void dump(std::ostream &s, DumpDetail dl) const override
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 B2
Time drift rate in s/s**2.
SatID sat
ID of satellite to which the nav data applies.
TimeSystem
Definition of various time systems.
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override
@ GLO
GLONASS system time (aka UTC(SU))
@ UTC
Coordinated Universal Time (e.g., from NTP)
#define GNSSTK_ASSERT(CONDITION)
Provide an "ASSERT" type macro.
TimeSystem getTimeSystem() const
Obtain time system info (enum).
DumpDetail
Specify level of detail for dump output.
double UTCTAI
Leap seconds - not really used.
std::string printTime(const CommonTime &t, const std::string &fmt)
@ Brief
Limit output to <= 5 lines of minimal information.
@ OneLine
Limit output to minimal information on a single line.
bool getSVN(const SatID &sat, const gnsstk::CommonTime &when, std::string &svn) const
CommonTime refTime
Reference time for computation.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39