1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.orekit.gnss;
18
19 import java.util.List;
20
21 import org.hipparchus.geometry.euclidean.threed.Vector3D;
22 import org.hipparchus.geometry.euclidean.twod.Vector2D;
23 import org.orekit.gnss.RinexLoader.Parser.AppliedDCBS;
24 import org.orekit.gnss.RinexLoader.Parser.AppliedPCVS;
25 import org.orekit.gnss.RinexLoader.Parser.PhaseShiftCorrection;
26 import org.orekit.time.AbsoluteDate;
27
28 public class RinexHeader {
29
30
31 private final double rinexVersion;
32
33
34 private final SatelliteSystem satelliteSystem;
35
36
37 private final String markerName;
38
39
40 private final String markerNumber;
41
42
43 private String markerType;
44
45
46 private final String observerName;
47
48
49 private final String agencyName;
50
51
52 private final String receiverNumber;
53
54
55 private final String receiverType;
56
57
58 private final String receiverVersion;
59
60
61 private final String antennaNumber;
62
63
64 private final String antennaType;
65
66
67 private final Vector3D approxPos;
68
69
70 private final double antHeight;
71
72
73 private final Vector2D eccentricities;
74
75
76 private Vector3D antRefPoint;
77
78
79 private String obsCode;
80
81
82
83 private Vector3D antPhaseCenter;
84
85
86
87 private Vector3D antBSight;
88
89
90 private double antAzi;
91
92
93 private Vector3D antZeroDir;
94
95
96 private Vector3D centerMass;
97
98
99 private String sigStrengthUnit;
100
101
102 private final double interval;
103
104
105 private final AbsoluteDate tFirstObs;
106
107
108 private final AbsoluteDate tLastObs;
109
110
111 private final int clkOffset;
112
113
114 private List<AppliedDCBS> listAppliedDCBS;
115
116
117 private List<AppliedPCVS> listAppliedPCVS;
118
119
120 private List<PhaseShiftCorrection> phaseShiftCorrections;
121
122
123 private final int leapSeconds;
124
125
126
127 private int leapSecondsFuture;
128
129
130
131
132 private int leapSecondsWeekNum;
133
134
135 private int leapSecondsDayNum;
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 public RinexHeader(final double rinexVersion, final SatelliteSystem satelliteSystem,
159 final String markerName, final String markerNumber, final String observerName,
160 final String agencyName, final String receiverNumber, final String receiverType,
161 final String receiverVersion, final String antennaNumber, final String antennaType,
162 final Vector3D approxPos, final double antHeight, final Vector2D eccentricities,
163 final double interval, final AbsoluteDate tFirstObs, final AbsoluteDate tLastObs,
164 final int clkOffset, final int leapSeconds) {
165 this.rinexVersion = rinexVersion;
166 this.satelliteSystem = satelliteSystem;
167 this.markerName = markerName;
168 this.markerNumber = markerNumber;
169 this.observerName = observerName;
170 this.agencyName = agencyName;
171 this.receiverNumber = receiverNumber;
172 this.receiverType = receiverType;
173 this.receiverVersion = receiverVersion;
174 this.antennaNumber = antennaNumber;
175 this.antennaType = antennaType;
176 this.approxPos = approxPos;
177 this.antHeight = antHeight;
178 this.eccentricities = eccentricities;
179 this.interval = interval;
180 this.tFirstObs = tFirstObs;
181 this.tLastObs = tLastObs;
182 this.clkOffset = clkOffset;
183 this.leapSeconds = leapSeconds;
184
185 }
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223 public RinexHeader(final double rinexVersion, final SatelliteSystem satelliteSystem,
224 final String markerName, final String markerNumber, final String markerType,
225 final String observerName, final String agencyName, final String receiverNumber,
226 final String receiverType, final String receiverVersion, final String antennaNumber,
227 final String antennaType, final Vector3D approxPos, final double antHeight,
228 final Vector2D eccentricities, final Vector3D antRefPoint, final String obsCode,
229 final Vector3D antPhaseCenter, final Vector3D antBSight, final double antAzi,
230 final Vector3D antZeroDir, final Vector3D centerMass, final String sigStrengthUnit,
231 final double interval, final AbsoluteDate tFirstObs, final AbsoluteDate tLastObs,
232 final int clkOffset, final List<AppliedDCBS> listAppliedDCBS,
233 final List<AppliedPCVS> listAppliedPCVS,
234 final List<PhaseShiftCorrection> phaseShiftCorrections, final int leapSeconds,
235 final int leapSecondsFuture, final int leapSecondsWeekNum, final int leapSecondsDayNum) {
236 this.rinexVersion = rinexVersion;
237 this.satelliteSystem = satelliteSystem;
238 this.markerName = markerName;
239 this.markerNumber = markerNumber;
240 this.observerName = observerName;
241 this.agencyName = agencyName;
242 this.receiverNumber = receiverNumber;
243 this.receiverType = receiverType;
244 this.receiverVersion = receiverVersion;
245 this.antennaNumber = antennaNumber;
246 this.antennaType = antennaType;
247 this.approxPos = approxPos;
248 this.antHeight = antHeight;
249 this.eccentricities = eccentricities;
250 this.clkOffset = clkOffset;
251 this.interval = interval;
252 this.tFirstObs = tFirstObs;
253 this.tLastObs = tLastObs;
254 this.leapSeconds = leapSeconds;
255 this.markerType = markerType;
256 this.sigStrengthUnit = sigStrengthUnit;
257 this.phaseShiftCorrections = phaseShiftCorrections;
258 this.obsCode = obsCode;
259 this.listAppliedDCBS = listAppliedDCBS;
260 this.listAppliedPCVS = listAppliedPCVS;
261 this.leapSecondsDayNum = leapSecondsDayNum;
262 this.leapSecondsFuture = leapSecondsFuture;
263 this.leapSecondsWeekNum = leapSecondsWeekNum;
264 this.centerMass = centerMass;
265 this.antAzi = antAzi;
266 this.antBSight = antBSight;
267 this.antZeroDir = antZeroDir;
268 this.antRefPoint = antRefPoint;
269 this.antPhaseCenter = antPhaseCenter;
270
271 }
272
273
274
275
276 public double getRinexVersion() {
277 return rinexVersion;
278 }
279
280
281
282
283 public SatelliteSystem getSatelliteSystem() {
284 return satelliteSystem;
285 }
286
287
288
289
290 public String getMarkerName() {
291 return markerName;
292 }
293
294
295
296
297 public String getMarkerNumber() {
298 return markerNumber;
299 }
300
301
302
303
304 public String getObserverName() {
305 return observerName;
306 }
307
308
309
310
311 public String getAgencyName() {
312 return agencyName;
313 }
314
315
316
317
318 public String getReceiverNumber() {
319 return receiverNumber;
320 }
321
322
323
324
325 public String getReceiverType() {
326 return receiverType;
327 }
328
329
330
331
332 public String getReceiverVersion() {
333 return receiverVersion;
334 }
335
336
337
338
339 public String getAntennaNumber() {
340 return antennaNumber;
341 }
342
343
344
345
346 public String getAntennaType() {
347 return antennaType;
348 }
349
350
351
352
353 public Vector3D getApproxPos() {
354 return approxPos;
355 }
356
357
358
359
360 public double getAntennaHeight() {
361 return antHeight;
362 }
363
364
365
366
367 public Vector2D getEccentricities() {
368 return eccentricities;
369 }
370
371
372
373
374 public int getClkOffset() {
375 return clkOffset;
376 }
377
378
379
380
381 public double getInterval() {
382 return interval;
383 }
384
385
386
387
388 public AbsoluteDate getTFirstObs() {
389 return tFirstObs;
390 }
391
392
393
394
395 public AbsoluteDate getTLastObs() {
396 return tLastObs;
397 }
398
399
400
401
402 public int getLeapSeconds() {
403 return leapSeconds;
404 }
405
406
407
408
409 public String getMarkerType() {
410 return markerType;
411 }
412
413
414
415
416 public Vector3D getAntennaReferencePoint() {
417 return antRefPoint;
418 }
419
420
421
422
423 public String getObservationCode() {
424 return obsCode;
425 }
426
427
428
429
430 public Vector3D getAntennaPhaseCenter() {
431 return antPhaseCenter;
432 }
433
434
435
436
437 public Vector3D getAntennaBSight() {
438 return antBSight;
439 }
440
441
442
443
444 public double getAntennaAzimuth() {
445 return antAzi;
446 }
447
448
449
450
451 public Vector3D getAntennaZeroDirection() {
452 return antZeroDir;
453 }
454
455
456
457
458 public Vector3D getCenterMass() {
459 return centerMass;
460 }
461
462
463
464
465 public String getSignalStrengthUnit() {
466 return sigStrengthUnit;
467 }
468
469
470
471
472 public int getLeapSecondsFuture() {
473 return leapSecondsFuture;
474 }
475
476
477
478
479 public int getLeapSecondsWeekNum() {
480 return leapSecondsWeekNum;
481 }
482
483
484
485
486 public int getLeapSecondsDayNum() {
487 return leapSecondsDayNum;
488 }
489
490
491
492
493 public List<AppliedDCBS> getListAppliedDCBS() {
494 return listAppliedDCBS;
495 }
496
497
498
499
500 public List<AppliedPCVS> getListAppliedPCVS() {
501 return listAppliedPCVS;
502 }
503
504
505
506
507 public List<PhaseShiftCorrection> getPhaseShiftCorrections() {
508 return phaseShiftCorrections;
509 }
510
511 }