11 stable releases

2.4.1 Sep 4, 2024
2.3.4 Apr 27, 2024
2.3.0 Jan 1, 2024
2.2.1 Dec 27, 2023
1.0.0 Jun 25, 2022

#85 in Geospatial

23 downloads per month

MIT/Apache

1MB
26K SLoC

CRX2RNX

crates.io License License

CRX2RNX is a command line tool to decompress Compact RINEX into RINEX data.
It is an alternative to the existing official tool.

Compression algorithm

Yuki Hatanaka created a simple yet efficient method to compress RINEX files, it's called CRINEX,
latest revision is CRINEX3 and is specified here.

This tool supports both CRINEX1 and CRINEX3 (latest).

This tool supports a maximal compression order of 6, which is more than other existing tools: this means you can safely pass CRINEX that were compressed with other existing tools.

Getting started

Build with the --release flag for best performances.

Specify one file to decompress with --fp:

crx2rnx --fp ../test_resources/CRNX/V1/wsra0010.21d

This generates test_resources/CRNX/V1/wsra0010.21o, to follow RINEX naming conventions.

You can specify the output path yourself:

crx2rnx --fp ../test_resoures/CRNX/V1/wsra0010.21d \
    -o /tmp/output.rnx # does not have to follow naming conventions
crx2rnx -f ../test_resoures/CRNX/V3/ACOR00ESP_R_20213550000_01D_30S_MO.crx \
    -o /tmp/output.rnx # standard V3 extension

Dependencies

~8–12MB
~221K SLoC