10 stable releases

1.3.1 Sep 4, 2024
1.2.4 Apr 27, 2024
1.2.1 Feb 25, 2024
1.1.3 Dec 27, 2023
0.0.1 Sep 26, 2022

#157 in Geospatial

Download history 49/week @ 2024-07-29 130/week @ 2024-08-26 131/week @ 2024-09-02 37/week @ 2024-09-16 9/week @ 2024-09-23 24/week @ 2024-09-30

538 downloads per month

MIT/Apache

1MB
26K 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

~8–12MB
~221K SLoC