Skip to content

rtk-rs/crx2rnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c8766c1 · Feb 22, 2025

History

13 Commits
Feb 22, 2025
Feb 21, 2025
Feb 18, 2025
Feb 22, 2025
Feb 18, 2025
Feb 20, 2025
Feb 20, 2025

Repository files navigation

CRX2RNX

Rust Rust crates.io

License

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.

About

CRX2RNX File Decompression command line utility

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages