7 releases (stable)

1.2.1 Feb 25, 2024
1.2.0 Jan 1, 2024
1.1.3 Dec 27, 2023
1.1.2 Nov 27, 2023
0.0.1 Sep 26, 2022

#67 in Geospatial

MIT/Apache

1MB
24K SLoC

RNX2CRX

crates.io License License

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

This tool only support CRINEX1 encoding at the moment.

This tool encodes with a compression of 3, which is equivalent to other existing tools. This means you can safely pass a CRINEX compressed by this tool, to other existing CRINEX decompressors.

Supported revisions

  • CRINEX1: under test
  • CRINEX3

Getting started

Build with the --release flag for optimzed performances

Provide Observation data with --fp

rnx2crx --fp test_resources/OBS/V2/zegv0010.21o

This will produce test_resources/OBS/V2/zegv0012.21D to follow naming conventions.

Control the output path yourself with --output

rnx2crx --fp test_resources/OBS/V2/zegv0010.21o \ 
      --output /tmp/test.txt

You can force the CRINEX revision to use yourself, otherwise we compress V2 to CRINEX1, and modern Observations (V3, V4..) to CRINEX3:

  • force to CRINEX1 with --crx1
  • force to CRINEX3 with --crx3

Dependencies

~6.5–9.5MB
~178K SLoC