Skip to main content

Analyze and Convert GBX Files

Phase 4 of 6Advanced tutorials

Learn how to export GBX files from the GUI using the Export GBX as... dialog window. Then, learn to inspect or convert GBX files from the CLI with Binflate.

Binflate is included with all PpRx licenses. To verify the installation, run:

which binflate
binflate --version
binflate --help

Overview

GBX files are compressed binaries containing a range of processed GNSS data, including observables, ephemeris, and final position and timing solutions. GBX files are the primary output format of PpRx.

A .gbx file produced by a PpRx run can be exported to other file types containing this information. This can be done either in the GUI or via the CLI.

Exporting GBX Files in the GUI

Open the Export GBX dialog in the GUI by selecting FileExport GBX as… in the menu bar:

Export GBX

After selecting a .gbx file to export and an output folder for the file or files, entering an output filename will populate filenames for each selected output product, as shown below:

Export GBX

Selecting the Export button will create the desired output products in the output folder.

Exporting GBX Files in the Command Line with Binflate

The same operations can be completed in the CLI using the binflate utility included in the software installation. To inspect the available arguments:

binflate --help

Suppose there is a pprx.gbx file in the current directory. Common conversions include:

binflate -i pprx.gbx -s rin
# Export RINEX 2.11 output

binflate -i pprx.gbx -s kml
# Export KML for map visualization (for import to Google Earth Pro)

binflate -i pprx.gbx -s log
# Export log (.csv) files

binflate -i pprx.gbx -s mat
# Export MATLAB `.mat` files

Depending on the selected conversion, files such as grid.obs, standard.kml, channel.log, and navsol.mat will be created in the current directory.

Analyzing GBX Files in the Command Line with Binflate Interactive Mode

Binflate also provides an interactive mode, which allows rapid inspection and debugging on embedded systems. Interactive mode is activated by passing the -x argument. For example:

binflate -i pprx.gbx -x
# Open `pprx.gbx` in interactive mode

Export GBX

To exit Binflate, press Ctrl+C. Commands can be listed while in interactive mode using help.

Export GBX

Processing Binflate .log and .mat Files

Processing .log and .mat files may be useful for receiver performance analysis. The .log files are CSV outputs that can be loaded into applications such as Microsoft Excel or Google Sheets.

The .mat files can be imported into MATLAB using, for example:

load channel.mat;
channel = channel'; % Transpose to put in columnar format

The column formats are the same for all .log and .mat file products produced by Binflate. Formats are defined in the following text files:

When processing data, the mapping between signals and GenericTypes may also be required and is available here.

Notes

  • The RINEX format is useful for porting PpRx outputs to external PPP processing tools such as CSRS-PPP.