|   | 1 | = Converting Raw GPS Base Station Data to RINEX = | 
                  
                          |   | 2 |  | 
                  
                          |   | 3 | These instructions currently only cover converting Trimble GPS data to RINEX, though teqc can convert other formats. | 
                  
                          |   | 4 |  | 
                  
                          |   | 5 | Note: You are advised to take a backup before doing all this - these utilities will cheerfully overwrite your source files with garbage if misused. | 
                  
                          |   | 6 |  | 
                  
                          |   | 7 | == Converting raw Trimble data (*.T00) to Trimble DAT format == | 
                  
                          |   | 8 |  | 
                  
                          |   | 9 |  1. Check you have runpkr00 installed (http://facility.unavco.org/software/download_transfer/trimble/trimble.html) | 
                  
                          |   | 10 |  1. For each raw GPS file (*.T00), run `runpkr00 -dveai <filename>` | 
                  
                          |   | 11 |    * This should generate three or four files per input file - .dat (GPS observations), .eph (GPS ephemeris), .ion (Ionosphere information?) and possibly .app (?). | 
                  
                          |   | 12 |  | 
                  
                          |   | 13 | == Converting Trimble DAT format to RINEX == | 
                  
                          |   | 14 |  | 
                  
                          |   | 15 |  1. Check you have teqc (http://facility.unavco.org/software/teqc/teqc.html). Note this doesn't install, it's just an executable that should be in the path somewhere. | 
                  
                          |   | 16 |  1. Check which Julian day your GPS observations were collected on. | 
                  
                          |   | 17 |  1. for each .dat file created above, ensure the other files are in the same directory and run `teqc -week YYYY:JJJ -tr d +nav <output_filename>.YYn <dat_filename> > output_filename.YYo` | 
                  
                          |   | 18 |    * In that command, YYYY is a 4-digit year, JJJ is the julian day on which the GPS observations start, YY is a two-digit year. | 
                  
                          |   | 19 |    * Note: If you forget to give the nav filename (*.YYn) and just give the input DAT file, that command will overwrite your input file with garbage. '''Don't forget the nav file.''' | 
                  
                          |   | 20 |    * This should generate RINEX files that can be read by Grafnav/Grafnet as normal. |