Rust package to parse and analyze Rinex files
Many RINEX file types exist,
the RinexType
enum (refer to API)
describes the types of RINEX currently supported:
RinexType::NavigationMessage
(NAV) messagesRinexType::ObservationData
(OBS) dataRinexType::MeteoData
(Meteo) dataRINEX
files contain a lot of data and this library is capable of parsing all of it.
To fully understand how to operate this lib, refer to the RinexType
section you are interested in.
Link to the official API
Use Rinex::from_file
to parse a local RINEX
file:
rust
let path = std::path::PathBuf::from("amel0010.21g");
let rinex = Rinex::from_file(&path).unwrap();
The data/
folder contains a bunch of RINEX
files, spanning almost all revisions
and all supported file types, mainly
for CI purposes: you can refer to them.
For data analysis and manipulation, you must refer to the official RINEX definition
This interactive portal is also a nice interface to discover or figure things out.
The header
contains high level information.
Comments
are currently discarded and not exposed by the parser.
rust
println!("{:#?}", rinex.header);
This includes Rinex
:
* revision number
* GNSS constellation
* possible file compression infos
* recorder & station infos
* physical, RF and other infos
Once again, refer to complete API
rust
println!("{:#?}", rinex.header.version);
assert_eq!(rinex.header.constellation, Constellation::Glonass)
println!("{:#?}", rinex.header.crinex)
println!("pgm: \"{}\"", rinex.header.program);
println!("run by: \"{}\"", rinex.header.run_by);
println!("station: \"{}\"", rinex.header.station);
println!("observer: \"{}\"", rinex.header.observer);
println!("{:#?}", rinex.header.leap);
println!("{:#?}", rinex.header.coords);
Refer to related API and Navigation Data documentation
Refer to related API and Observation Data documentation
wip
wip
wip