RINEX
Rust package to parse and analyze Rinex files
Getting started
Many RINEX file types exist,
the RinexType enum (refer to API)
describes the types of RINEX currently supported:
- RinexType::NavigationMessage: Ephemeride NAV messages
- RinexType::ObservationData: Observations
RINEX files contain a lot of information,
and this library exposes all data contained by supported
Rinex Types, that is: a lot.
To determine how to operate this library, refer to:
- basic examples provided in this page
- basic examples delivered with the library (see down below)
- basic autotest method delivered by src/lib.rs
cargo run --example basic
If you're using this library, you probably want more than that and actually retrieve your data of interest and manipulate it. To learn how to do this, refer to:
- more advanced examples described in this page:
- basic data parsing, identification, extraction..
- basic data sorting,
- data plotting..
- advanced examples delivered with the library (see down below)
- specific autotest methods delviered by src/lib.rs
cargo run --example nav-1
cargo run --example nav-2
Supported RINEX revisions
- 2.00 ⩽ v < 4.0 Tested
- v < 2.0 should work
- v = 4.0 should work, not garanteed
Parsing a RINEX
The ::from_file method is how to parse a local RINEX file:
let rinex = from_file;
println!;
let rinex = from_file;
println!;
RINEX Header
The Rinex Header contains high level information
let rinex = from_file;
let header = rinex.get_header;
println!;
assert_eq!;
assert_eq!;
Other example
let rinex = from_file;
let header = rinex.get_header;
println!;
assert_eq!;
assert_eq!;
assert_eq!;
"Comments" are currently discarded and not exposed by the parser.
length of a Rinex file returns the number of payload items:
- Total number of Observations for
RinexType::ObservationData - Total number of Nav Messages for
RinexType::NavigationMessage
let rinex = from_file;
println!;
GPS Observation example
TODO
RINEX File Types
RINEX: Navigation Message (NAV)
Three main constellations are currently supported
- GPS
- Glonass
- Galileo
- Mixed (GPS,Glonass,Galileo)
RINEX: Observation Data (OBS)
TODO
Data indexing interface
This lib builds a dictionnary interface to interact, sort and retrieve RINEX files payloads. Some restrictions may apply to certains GNSS constellations, refer to specific paragraphs down below.
All known keys are referenced in the /keys folder.
For key and related data specifications, refer toe the related "DATA RECORD" description
in the RINEX specifications
GPS Navigation analysis example
TODO
Glonass Navigation analysis example
TODO
Mixed Navigation example
TODO
Mixed Observation example
TODO
Supporting new RINEX Revisions
To support a new RINEX revision, for all currently supported RinexTypes:
- go through all possible record modifications:
- new record types would require a new src/record.rs RecordItem entry
- this implies a new construction & parsing method
- add a new entry to keys.json file
- add new test resources
- add new specific test method