rnx2crx is a small command line utility to compress
your RINEX files to CRINEX (Compact RINEX) files. It is modern
replacement of the historical tool.
You can download the latest version from the release portal
You can directly install the tool from Cargo with internet access:
cargo install rnx2crxDownload the version you are interested in:
git clone https://github.com/nav-solutions/rnx2crxAnd build it using cargo:
cargo build --all-features -rThe tool expects one input file that needs to be a valid Observation RINEX file:
rnx2crx AJAC3550.21O
Compressed AJAC3550.21DBy default the tool lets you know what the output file is (stdout).
If that bothers you, simply use -q (quiet option):
rnx2crx -q AJAC3550.21OThe tool supports RINEX V2, V3 and V4. It will preserve the input format by default, so standardized V3 filenames will produce a standardized file name:
rnx2crx ACOR00ESP_R_20213550000_01D_30S_MO.rnx
Compressed ACOR00ESP_R_20213550000_01D_30S_MO.crxWe have one option that let's you convert a V3 format to V2 directly:
rnx2crx -s ACOR00ESP_R_20213550000_01D_30S_MO.rnx
Compressed ACOR3550.21DYou can specify a custom output location with --prefix [directory]:
rnx2crx --prefix /tmp -s ACOR00ESP_R_20213550000_01D_30S_MO.rnx
Compressed /tmp/ACOR3550.21DYou can specify a filename yourself with -o [filename],
which overrides any filename determination logic:
rnx2crx -o TEST.txt ACOR00ESP_R_20213550000_01D_30S_MO.rnx
Compressed TEST.txtThe tool supports gzip compressed CRINEX files natively, but can only generate "plain" CRINEX at the moment:
crx2rnx ESBC00DNK_R_20201770000_01D_30S_MO.crx.gz
Compressed ESBC00DNK_R_20201770000_01D_30S_MO.crxWe support several option to optimize your compression scenario:
-d YYYY-MM-DDlet's you customize the CRINEX compression date. When-dis not specified, we use the system time:
rnx2crx -q -d 2000-01-01 ESBC00DNK_R_20201770000_01D_30S_MO.rnx.gz-t HH:MM:SSlet's you customize the CRINEX compression time during that date. When-tis not specified, we use the system time.
crx2rnx -q -d 2000-01-01 -t 01:02:03 ESBC00DNK_R_20201770000_01D_30S_MO.crx.gzWhen Time is specified without Date, we use the date retrieved from system time and replace the time during that day.
This application is released under the Mozilla V2 Public license.