Skip to content

Commit

Permalink
Update parsing of ANTEX frequency codes (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbangelo authored Aug 15, 2023
1 parent 0876752 commit bdeafed
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions rinex/src/carrier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,12 @@ impl Carrier {
_ => Ok(Self::L1),
},
Constellation::BeiDou => match sv.prn {
1 => Ok(Self::E1),
2 => Ok(Self::E2),
5 => Ok(Self::E5),
6 => Ok(Self::E6),
7 => Ok(Self::E5b),
1 => Ok(Self::B1C),
2 => Ok(Self::B1I),
5 => Ok(Self::B2A),
6 => Ok(Self::B3),
7 => Ok(Self::B2B),
8 => Ok(Self::B2),
_ => Ok(Self::E1),
},
Constellation::QZSS => match sv.prn {
Expand All @@ -585,6 +586,7 @@ impl Carrier {
Constellation::IRNSS => match sv.prn {
1 => Ok(Self::L1),
5 => Ok(Self::L5),
9 => Ok(Self::S),
_ => Ok(Self::L1),
},
_ => panic!(
Expand Down

0 comments on commit bdeafed

Please sign in to comment.