Skip to content

asoberai/UBX_GNSS_Post_Processing

Repository files navigation

UBX to RINEX Converter

A GUI application for converting u-blox UBX files to RINEX format for GNSS processing and OPUS submission.

Installation

1. Install Python 3

  • Download from python.org
  • Ensure tkinter is included (usually default)

2. Install RTKLIB

# Clone and build RTKLIB 2.4.3
git clone -b rtklib_2.4.3 https://github.com/tomojitakasu/RTKLIB.git
cd RTKLIB/app/consapp/convbin/gcc

# macOS: Fix build issues
sed -i '' 's/-ansi//g' makefile
sed -i '' 's/-lrt//g' makefile

# Build
make

# Install (add to PATH)
sudo cp convbin /usr/local/bin/

Windows: Download pre-built RTKLIB from rtklib.com and add to PATH.

3. Get the Converter

git clone https://github.com/yourusername/ubx2rinex-converter.git
cd ubx2rinex-converter

Usage

Start the Application

  • Windows: Double-click launch_gui.bat
  • macOS/Linux: Double-click launch_gui.py or run python3 ubx2rinex_gui.py

Convert Files

  1. Browse for directory containing .ubx files
  2. Select output directory for RINEX files
  3. Fill in station information:
    • Station Name: 4-character code (e.g., "SITE")
    • Receiver/Antenna: Your equipment type
    • Observer/Agency: Your details
  4. Click "Convert UBX to RINEX"
  5. Monitor progress in the log
  6. Upload the generated .obs file to OPUS

Output

  • {STATION}_{DATE}_{TIME}.obs - RINEX observation file
  • {STATION}_{DATE}_{TIME}.nav - RINEX navigation file

Troubleshooting

"convbin not found"

  • Ensure RTKLIB is installed and convbin is in your PATH
  • Test with convbin command

"No module named '_tkinter'"

# macOS
brew install python-tk

# Linux
sudo apt-get install python3-tk

# Windows: Reinstall Python with tkinter option

"No UBX files found"

  • Ensure files have .ubx extension
  • Check directory permissions

"Empty RINEX files"

  • UBX files must contain raw measurement data (RXM-RAWX messages)
  • Check receiver configuration for raw data logging

Requirements

  • Python 3.6+ with tkinter
  • RTKLIB convbin tool
  • UBX files with raw GNSS measurements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors