Hi,
I started to use Orekit (13.0.3) to read the rinex files of my garmin GPS. I mostly follow the GNSS tutorial to parse the observation file.
final RinexObservation obs = new RinexObservationParser().parse(observationData);
int listNum=0;
for(List<ObservationDataSet> oList2 : obs.bundleByDates()) {
System.out.println("[("+(listNum++)+") size: <"+oList2.size()+">]");
}
but all lists are of size zero and the loop never stops. When I use RinexObservation.getObservationDataSets()
, there are observation data as expected.
Second problem is about time: The header of my observation file says:
2025 6 4 5 31 27.0000000 GPS TIME OF FIRST OBS
(this corresponds to the time of the recording) but
System.out.println("[first obs: <" + obs.getHeader().getTFirstObs()+ ">]");
says:
[first obs: <2025-06-03T17:38:53.586895150001510016Z>]
I tried to initialize the AbsoluteDate
whith the GPS-TimeScale, but the result stays the same. Do I need to convert the first obs time somehow?
Thanks in advance.
Kind regards
Thomas