Teqc Basestation conversion

Some flights will be provided with data from the ARSF basestation, grafnav may throw this error:

Error: Zero number of epochs in Default_9488_1008_054912.gpb

Which will probably be from attempting to convert a file group like this:

Default_9488_1008_054912.14S
Default_9488_1008_054912.80S
Default_9488_1008_054912.azi
Default_9488_1008_054912.ele
Default_9488_1008_054912.i00
Default_9488_1008_054912.iod
Default_9488_1008_054912.ion
Default_9488_1008_054912.m00
Default_9488_1008_054912.mp1
Default_9488_1008_054912.mp2
Default_9488_1008_054912.sn1
Default_9488_1008_054912.sn2
Default_9488_1008_054912.X01
Default_9488_1008_054912.X02
Default_9488_1008_054912.X06
Default_9488_1008_054912.X08
Default_9488_1008_054912.X12
Default_9488_1008_054912.X18
Default_9488_1008_054912.X22
Default_9488_1008_054912.X23
Default_9488_1008_054912.XCF

You will need to convert and crop the basestation file. First you need to estimate how many surveys are within the file (if there is only one this might not be the solution you need). Remember to keep a backup copy of the original basestation files at all times.

Run (I'm not sure this is the best way to get the information we need):

teqc Input.m00 > /tmp/teqc_output

Which should give a result similar to this:

! Notice ! Leica MDB 130: survey starts @ 2014 Oct  8 05:49:39.700 GPS time
canceled point @ 2014 Oct  8 05:49:53.280
! Notice ! Leica MDB 130:   survey ends @ 2014 Oct  8 05:49:57.840 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Oct  8 05:51:46.230 GPS time
! Notice ! Leica MDB 130:   survey ends @ 2014 Oct  8 08:12:50.890 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Oct 27 22:05:46.560 GPS time
! Notice ! 2014 Oct 27 22:06:40.000: poss. incr. of sampling int. OR data gap of 1691648.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Oct 28 00:14:50.090 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Oct 28 23:33:16.890 GPS time
! Notice ! 2014 Oct 28 23:34:15.000: poss. incr. of sampling int. OR data gap of 83966.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Oct 29 04:38:19.480 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Oct 30 21:57:58.550 GPS time
! Notice ! 2014 Oct 30 21:58:49.000: poss. incr. of sampling int. OR data gap of 148830.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Oct 30 23:42:33.960 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Nov  4 21:51:29.850 GPS time
! Notice ! 2014 Nov  4 21:52:13.000: poss. incr. of sampling int. OR data gap of 425380.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Nov  5 02:29:10.280 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Nov 10 01:51:45.890 GPS time
! Notice ! 2014 Nov 10 01:52:40.000: poss. incr. of sampling int. OR data gap of 429810.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Nov 10 03:25:57.670 GPS time
! Notice ! Leica MDB 130: survey starts @ 2014 Nov 10 23:15:16.090 GPS time
! Notice ! 2014 Nov 10 23:16:13.000: poss. incr. of sampling int. OR data gap of 71416.000 seconds (min. dt found= 1.000 s)
! Notice ! Leica MDB 130:   survey ends @ 2014 Nov 11 03:53:38.560 GPS time

Use the above output to work out which survey you need, once known you can use the command:

teqc -st yymmddhhmmss -e yymmddhhmmss +nav output.17n input.m00 > output.17o

(Please note that with the RINEX *.17o or *17n format, 17 = year 2017)

To produce the required files as .17n and .17o format (changing to current year) where -st is the start date and time and -e is the end date and time. The created 17n/o files can then be used with grafnav without errors, this should produce data in 1 second intervals.

Last modified 6 years ago Last modified on Sep 26, 2018, 3:31:41 PM