Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle (ignore) observation epochs containing event flags #226

Merged
merged 8 commits into from
Mar 31, 2024
2 changes: 1 addition & 1 deletion rinex/src/algorithm/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub enum Error {
#[error("constellation parsing error")]
ConstellationParing(#[from] gnss::constellation::ParsingError),
#[error("failed to parse epoch flag")]
EpochFlagParsing(#[from] crate::epoch::flag::Error),
EpochFlagParsing(#[from] crate::observation::flag::Error),
#[error("failed to parse constellation")]
ConstellationParsing,
#[error("invalid nav item")]
Expand Down
2 changes: 1 addition & 1 deletion rinex/src/clock/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub(crate) fn parse_epoch(
const OFFSET: usize = "yyyy mm dd hh mm sssssssssss".len();

let (epoch, rem) = rem.split_at(OFFSET);
let (epoch, _) = epoch::parse_utc(epoch.trim())?;
let epoch = epoch::parse_utc(epoch.trim())?;

// nb of data fields
let (_n, rem) = rem.split_at(4);
Expand Down
Loading
Loading