crx2rnx
is a small command line utility to decompress
your CRINEX (Compact RINEX) files into readable RINEX. It aims at becoming
a modern replacement of the historical tool.
This tool is based on the GeoRust/RINEX parser.
You can download the latest version from the release portal
You can directly install the tool from Cargo with internet access:
cargo install crx2rnx
Download the version you are interested in:
git clone https://github.com/rtk-rs/crx2rnx
And build it using cargo:
cargo build --all-features -r
The tool expects one input file that needs to be a valid CRINEX file:
crx2rnx AJAC3550.21D
Decompressed AJAC3550.21O
By default the tool lets you know what the output file is (stdout
).
If that bothers you, simply use -q
(quiet option):
crx2rnx -q AJAC3550.21D
Both revisions are supported by this tool.
The tool preserves the input format by default, so standardized V3 filenames will produce a standardized file name:
crx2rnx ACOR00ESP_R_20213550000_01D_30S_MO.crx
Decompressed ACOR00ESP_R_20213550000_01D_30S_MO.rnx
We have one option that let's you convert a V3 format to V2 directly:
crx2rnx -s ACOR00ESP_R_20213550000_01D_30S_MO.crx
Decompressed ACOR3550.21O
You can specify a custom output location with --prefix [directory]
:
crx2rnx --prefix /tmp -s ACOR00ESP_R_20213550000_01D_30S_MO.crx
Decompressed /tmp/ACOR3550.21O
You can specify a filename yourself with -o [filename]
,
which overrides any filename determination logic:
crx2rnx -o TEST.txt ACOR00ESP_R_20213550000_01D_30S_MO.crx
Decompressed TEST.txt
The tool supports gzip compressed CRINEX files natively, but can only generate plain RINEX at the moment:
crx2rnx ESBC00DNK_R_20201770000_01D_30S_MO.crx.gz
Decompressed ESBC00DNK_R_20201770000_01D_30S_MO.rnx
This application is part of the RTK-rs framework which is delivered under the Mozilla V2 Public license.