RINEX Cli
Command line tool to handle, manage and analyze RINEX files
This command line interface implements the latest Rinex crate and allows easy RINEX files manipulation.
Getting started
Run with cargo
Filepath : -fp or --filepath, to select local RINEX files
Compressed OBS are natively supported.
⚠ for V > 2 RINEX OBS, this parser expects single line epochs (resulting from RNX2CRX compression).
This tool currently has 3 opmodes:
- -e will print encountered epochs (sampling timestamps)
- -o can be combined to -e, will print encountered OBS codes, useful to determine which data we can filter out
Otherwise (nominal op), -e and/or -o are not requested.
Example :
# determine available data
cargo run -- --fp /tmp/data.obs -e > info.txt
cargo run -- --fp /tmp/data.obs -o -e > info.txt
# nominal use
cargo run -- --fp /tmp/data.obs > data.txt
Epoch filter
-
--epoch-ok : will retain only valid epoch, ie., epochs that have an Epoch::Flag::Ok attached to them
-
--epoch-nok : will retain only non valid epoch, ie., epochs that have an !Epoch::Flag::Ok attached to them
Epoch filter only makes sense on OBS data (meteo or obs).
Satellite vehicule filter
- --sv with a comma separated list of satellite vehicule to retain
Example:
cargo run -- --filepath /tmp/data.obs --epoch-ok --sv G01,G2,E06,E24,R24 > data.txt
Will only retain data from GPS 1+2, GAL 6+24 and GLO 24 vehicules.
Constellation filter
Constellation filter is not feasible at the moment
Data filter
We use the -c or --code argument to filter data out and only retain data of interest.
- Observation / meteo data: we use the OBS code directly
- Navigation data: we use the official identification keyword, refero to the known Refer to the known NAV fields database
Example:
# Retain Carrier phase + Carrier power
Cumulated filter
All arguments can be cummulated, for example:
# Retain Carrier phase + Carrier power
will only retain pseudo range measurements for given satellite of interest.