SGL-UT / GPSTk

ATTENTION: This repository has been moved and is for archival purposes only. GPSTk toolkit has been renamed to GNSSTK and has been split into two new separate repositories. GNSSTK now only contains libraries while the other repository GNSSTK-APPS contains only applications. The rename and split into libraries and applications started with version v12.0.0 on September 2021. GPSTk --> GNSSTK at https://gitlab.com/sgl-ut/gnsstk --> GNSSTK-APPS at https://gitlab.com/sgl-ut/gnsstk-apps
Other
339 stars 182 forks source link

Fail to read renix file 'onsa2240.05o' #65

Closed libing64 closed 4 years ago

libing64 commented 4 years ago
./example3 ../onsa2240.05o 
Name your PRN of interest (by number: 1 through 32): 3
Reading ../onsa2240.05o.
text 0:Non-text data in file.
text 1:In record 0
text 2:In file ../onsa2240.05o
text 3:Near file line 17
location 0:/home/xxx/source/gnss/GPSTk/core/lib/FileHandling/FFTextStream.cpp:163
location 1:/home/xxx/source/gnss/GPSTk/core/lib/FileHandling/FFStream.cpp:225
location 2:/home/xxx/source/gnss/GPSTk/core/lib/FileHandling/FFStream.hpp:214
location 3:/home/xxx/source/gnss/GPSTk/core/lib/FileHandling/FFStream.hpp:214
libing64 commented 4 years ago

However, example3 works well on some other Rinex files.

./example3 ../madr1480.08o
....
05/27/2008 23:53:00 GPS    PRN 3 biased multipath -0.078
05/27/2008 23:53:30 GPS    PRN 3 biased multipath -0.665
05/27/2008 23:54:00 GPS    PRN 3 biased multipath 1.678
05/27/2008 23:54:30 GPS    PRN 3 biased multipath 2.108
05/27/2008 23:55:00 GPS    PRN 3 biased multipath -3.115
05/27/2008 23:55:30 GPS    PRN 3 biased multipath 2.324
05/27/2008 23:56:00 GPS    PRN 3 biased multipath 1.012
05/27/2008 23:56:30 GPS    PRN 3 biased multipath -0.229
05/27/2008 23:57:00 GPS    PRN 3 biased multipath 0.896
05/27/2008 23:57:30 GPS    PRN 3 biased multipath -2.010
05/27/2008 23:58:00 GPS    PRN 3 biased multipath -1.112
05/27/2008 23:58:30 GPS    PRN 3 biased multipath 2.280
05/27/2008 23:59:00 GPS    PRN 3 biased multipath -1.519
05/27/2008 23:59:30 GPS    PRN 3 biased multipath -1.141
Read 2881 epochs.  Cheers.
libing64 commented 4 years ago

This issue would affact example3 and also example8, but this could be solved by removing comments in 'onsa2240.05o '

-MSWin2000|IAx86-PII|bcc32 5.0|MSWin95/98/NT/2000|486/DX+    COMMENT
-teqc  2002Mar14                         20050812 00:00:19UTCCOMMENT
-Forced Modulo Decimation to 30 seconds                      COMMENT
-IMoS GFileSrv 3.34  Lantm<E4>teriet        11.08.2005          COMMENT
-Edited by GPSTK Rinex Editor ver 3.5 6/21/2007 on 2008/03/26COMMENT
-Edited by GPSTK Rinex Editor ver 3.5 6/21/2007 on 2008/03/29COMMENT