Skip to content

Commit 6ae6684

Browse files
authored
Add BeiDou as supported by RINEXv2.. (#360)
* Add BeiDou as supported by RINEXv2 * bump v0.18.1 --------- Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
1 parent 7a35021 commit 6ae6684

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rinex"
3-
version = "0.18.0"
3+
version = "0.18.1"
44
license = "MPL-2.0"
55
authors = ["Guillaume W. Bres <guillaume.bressaix@gmail.com>"]
66
description = "RINEX file parsing, analysis and production"

src/header/parsing.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,13 +1074,14 @@ impl Header {
10741074
) {
10751075
lazy_static! {
10761076
/*
1077-
* Only GPS, Glonass, Galileo and SBAS are supported in V2 RINEX
1077+
* We support GPS, Glonass, Galileo, SBAS and BDS as per v2.11.
10781078
*/
1079-
static ref KNOWN_V2_CONSTELLS: [Constellation; 4] = [
1079+
static ref KNOWN_V2_CONSTELLS: [Constellation; 5] = [
10801080
Constellation::GPS,
10811081
Constellation::SBAS,
10821082
Constellation::Glonass,
10831083
Constellation::Galileo,
1084+
Constellation::BeiDou,
10841085
];
10851086
}
10861087
let line = line.split_at(6).1;

0 commit comments

Comments
 (0)