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