Skip to content

rinex sub

Guillaume W. Bres edited this page May 16, 2024 · 3 revisions

RINEX(A) - RINEX(B)

RINEX(A) - B is truly the first differential operation RINEX-Cli supports.

It is a simple yet efficient operation to compare two GNSS receivers together, usually focused on how their two reference clocks behave compared to one another.
Thefore RINEX(A) - B is though to be run on OBS RINEX files.

RINEX differentiation is requested with --sub in which we expect the user to pass the "reference" RINEX, or B, in the substract operation. --sub will generate the resulting observations in OBS RINEX format, in a file named DIFFERENCED.rnx generated in your workspace.

--sub will substract the related observations (signal sampling) on the same signals at the same instant. Therefore it is also intended to be executed on synchronous RINEX data.

Our repo only contains a single pair of synchronous RINEX, you can only run such an operation on these two files.

rinex-cli \
    -f test_resources/OBS/V3/OB712480.23O.gz \
    --sub test_resources/OBS/V3/gps_10MSps.23O.gz

Now if you consider the generated DIFFERENCED.rnx file, it's still a valid RINEX file but it contains on every instant where the same quantity was observed on both side, the result of the A-B operation.

You can then use our graph mode to visualize for example the phase drift between their reference clocks:

rinex-cli -f WORKSPACE/OB712480/DIFFERENCED.23O.gz -g --csv

Next step

Read about other types of file operations we support

Clone this wiki locally