23 #include <QtCore/QDataStream>
44 return "SgParamatersDescriptor";
68 1.0e24, 1.0/8, 1.0e8, 1.0e8, 1.0,
69 16.0, 1.0/24.0, 72.0*24.0, 3,
76 1.0e24, 1.0, 1.0e8, 1.0e8, 1.0,
77 1.0, 1.0/24.0, 5.0*24.0, 1,
83 1.0e24, 1.0, 1.0e8, 1.0e8, 1.0,
84 1.0, 1.0/24.0, 5.0*24.0, 1,
90 1.0e24, 1.0, 1.0e8, 1.0e8, 1.0,
91 1.0, 1.0/24.0, 5.0*24.0, 1,
97 1.0e6, 1.0/6, 1.0e4, 1.0e4, 1.0,
98 1.5, 1.0/24.0, 40.0e-12*24.0*
vLight*100.0, 1,
105 1.0e6, 1.0/4, 1.0e4, 1.0e4, 1.0,
106 0.06, 1.2, 1.0e-3*24.0*
vLight*100, 1,
114 1.0e6, 1.0, 1.0e6, 1.0e6, 1.0,
115 1.0, 1.0/24.0, 1.0e6*24.0, 1,
121 1.0e6, 1.0, 1.0e6, 1.0e6, 1.0,
122 0.1, 1.0/24.0, 1.0e6*24.0, 1,
128 1.0e8, 1.0, 1.0e6, 1.0e6, 1.0,
129 0.1, 1.0/24.0, 1.0e6*24.0, 1,
135 1.0e7, 1.0, 1.0e7, 1.0e7, 1.0,
136 0.1, 1.0/24.0, 1.0e6*24.0, 1,
142 1.0e8, 1.0, 1.0e8, 1.0e8, 1.0,
143 0.16, 1.0/24.0, 1.0e6*24.0, 1,
148 1.0e8, 1.0, 1.0e8, 1.0e8, 1.0,
149 1.0, 1.0/24.0, 1.0e6*24.0, 1,
155 1.0e8, 1.0/48.0, 1.0e4, 1.0e4, 1.0,
156 0.18, 1.0/24.0, 1.0e6*24.0, 1,
161 1.0e8, 1.0, 1.0e4, 1.0e4, 1.0,
162 0.18, 1.0/4.0, 1.0e6*24.0, 1,
168 1.0e8, 1.0, 1.0e4, 1.0e4, 1.0,
169 0.012, 1.0/24.0, 1.0e6*24.0, 1,
175 1.0e8, 1.0, 1.0e4, 1.0e4, 1.0,
176 0.012, 1.0/4.0, 1.0e6*24.0, 1,
182 1.0e8, 1.0, 1.0e4, 1.0e4, 1.0,
183 0.18, 1.0/24.0, 1.0e6*24.0, 1,
189 1.0e8, 1.0, 1.0e4, 1.0e4, 1.0,
190 0.18, 1.0/4.0, 1.0e6*24.0, 1,
195 1.0e8, 1.0, 1.0e8, 1.0e8, 1.0,
196 16.0, 1.0/24.0, 72.0*24.0, 1,
201 1.0e8, 1.0, 1.0e6, 1.0e6, 1.0,
202 0.1, 1.0/24.0, 1.0e6*24.0, 1,
208 1.0e10, 1.0, 1.0e10, 1.0e10, 1.0,
209 1.0, 1.0/24.0, 1.0e6*24.0, 1,
223 for (
int i=0; i<
num(); i++)
248 for (
int i=0; i<idxs.size(); i++)
257 for (
int i=0; i<idxs.size(); i++)
266 for (
int i=0; i<
num(); i++)
269 if (s.status() != QDataStream::Ok)
272 ": saveIntermediateResults(): error writting data #" + QString(
"").setNum(i));
276 if (s.status() != QDataStream::Ok)
279 ": saveIntermediateResults(): error writting data");
282 return s.status() == QDataStream::Ok;
290 for (
int i=0; i<
num(); i++)
293 if (s.status() != QDataStream::Ok)
296 ": loadIntermediateResults(): error writting data #" + QString(
"").setNum(i) +
": " +
297 (s.status()==QDataStream::ReadPastEnd?
"read past end of the file":
"read corrupt data"));
302 return s.status()==QDataStream::Ok;
#define DAY2SEC
radians to mas:
#define RAD2SEC
seconds in one day:
#define NUMBER_OF_KNOWN_PARAMETER_SPECIES
virtual void write(LogLevel, quint32, const QString &, bool=false)
bool saveIntermediateResults(QDataStream &) const
bool loadIntermediateResults(QDataStream &)
void setPMode(PMode mode)
void unsetParameters(const QList< ParIdx > &)
bool saveIntermediateResults(QDataStream &) const
static const QString className()
void setMode4Parameter(SgParameterCfg::PMode, ParIdx)
void unsetParameter(ParIdx)
void unsetAllParameters()
bool loadIntermediateResults(QDataStream &)
void setMode4Parameters(SgParameterCfg::PMode, const QList< ParIdx > &)
@ Idx_SRCCOO
index for source coordinates
@ Idx_POLUSXY
index for EOP: polar motion
@ Idx_POLUSXYR
index for EOP: polar motion
@ Idx_CLOCK_1
index for clocks (order #1)
@ Idx_CLOCK_3
index for clocks (order #3)
@ Idx_STNCOO
index for station coordinates
@ Idx_POLUSUT1R
index for EOP: d(UT1-UTC) Rate
@ Idx_ATMGRAD
index for atmospheric gradients
@ Idx_CLOCK_2
index for clocks (order #2)
@ Idx_POLUSNUT
index for EOP: nutation angles
@ Idx_POLUSUT1
index for EOP: d(UT1-UTC)
@ Idx_CABLE
index for cable corrections
@ Idx_POLUSNUTR
index for EOP: nutation angles
@ Idx_TEST
index for test purposes
@ Idx_BL_CLK
index for baseline clocks
@ Idx_STNVEL
index for station velocities
@ Idx_SRCSSM
index for source SSM
@ Idx_BL_LENGTH
index for baseline length
@ Idx_ZENITH
index for wet zenith delay
@ Idx_CLOCK_0
index for clocks (order #0)
@ Idx_AXISOFFSET
index for axis offset
SgParameterCfg parameters_[NUMBER_OF_KNOWN_PARAMETER_SPECIES]