Code Monkey home page Code Monkey logo

ppk's Introduction

Workflow for static post-processing analysis (PPK), with calibrated antenna support

ppk.sh is a wrapper function of RTKLIB Demo5 rnx2rtkp app, that performs post-processing analysis from base and rover data. The user must provide a PPK configuration file, base and rover observation files (RINEX v3, ZIP containing UBX files or UBX files directly) and at least one navigation messages file. Optionally, antenna calibration data may be provided. Requires RTKLIB Demo5 installed on the computer.

Syntax: ppk [-iftHsh] -c configuration file -r rover file -b base file [-n nav file]
Options:
i     Time interval in seconds for computing solutions [15]
f     Antenna calibration file
t     Antenna type
H     Antenna height in meters, i.e. pole height
s     Output solution format (llh;enu;xyz;nmea) [llh]
o     Output solution static (all;single) [single]
h     Display help

Example of use with RINEX files

./ppk.sh -i 15 -c conf/ppk.conf -r example-rinex/rover/2022-02-25_13-26-06_GNSS-1.obs \
  -b example-rinex/base/2022-02-25_00-00-00_GNSS-1.obs \
  -n example-rinex/base/2022-02-25_00-00-00_GNSS-1.nav \
  -f ant/AS-ANT2BCAL.atx -t AS-ANT2BCAL -H 2

Example with ZIP files with ENU as output solution format

./ppk.sh -i 15 -c conf/ppk.conf -r example-zip/rover/2022-02-25_13-26-06_GNSS-1.ubx.zip \
  -b example-zip/base/2022-02-25_00-00-00_GNSS-1.ubx.zip \
  -f ant/AS-ANT2BCAL.atx -t AS-ANT2BCAL -H 2 -s enu

Example of use with UBX files with ALL solutions enumerated exhaustively

./ppk.sh -i 15 -c conf/ppk.conf -r example-ubx/rover/2022-02-25_13-26-06_GNSS-1.ubx \
  -b example-ubx/base/2022-02-25_00-00-00_GNSS-1.ubx \
  -f ant/AS-ANT2BCAL.atx -t AS-ANT2BCAL -H 2 -o all

Old workflow for post-processing raw GNSS data using RTKLIB and Bash

Example of use

  • The following script will create the necessary folders. Before running, copy the .ubx files generated by the ZED-F9P receiver in the same folder where this repo was cloned. This workflow assumes that the .ubx files contain both the NMEA-0183 messages and the raw GNSS observations. In addition, the workflow assists in copying the RTCM corrections collected during the RTK phase, but are not necessary for PPK (may be used for cross-check).
./prepare.sh
  • Now, download and copy files of the base station (observables: in rinex v2.11, matching in time with those of the collected data; ephemeris: in rinex v3.03, whole day)

  • The following script unzip zipped base files and merge rinex if necessary. The first argument (e.g. 21) refers to the year of the base rinex files

./unzip_merge_rinex.sh 21
  • The following script converts RTK-fix solutions to KML format, and also calculates the solution in PPK-mode using ppk.conf, and converts PPK-fix to KML format. The coordinates of the base may be expressed in ECEF format:
./solutions.sh 1 ppk.conf r 2078678.9081 -5683737.3052 2006886.9294
  • ...or using latitude/longitude/height format (decimal degrees and meters)
./solutions.sh 1 ublox_f9p.conf l 18.461397786 -69.911323083 -9.147
  • The following script deletes unzipped files that won't be needed again, to free-up some space
./clean.sh
  • Note: add the repo directory to the PATH, so scripts may be called directly (e.g. prepare.sh instead of ./prepare.sh)

ppk's People

Contributors

geofis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.