13 stable releases
2.5.0 | Feb 20, 2025 |
---|---|
2.4.1 | Sep 4, 2024 |
2.3.4 | Apr 27, 2024 |
2.3.0 | Jan 1, 2024 |
1.0.0 | Jun 25, 2022 |
#38 in Geospatial
265 downloads per month
19KB
102 lines
CRX2RNX
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.
Download the tool
You can download the latest version from the release portal
Install from Cargo
You can directly install the tool from Cargo with internet access:
cargo install crx2rnx
Build from sources
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
Getting started
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
CRINEX V1/V3
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
Custom output name
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
Gzip files
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
Licensing
This application is part of the RTK-rs framework which is delivered under the Mozilla V2 Public license.
Dependencies
~10–14MB
~257K SLoC