pub fn read_odf(bytes: &[u8]) -> Result<FlightLog, LogError>Expand description
Reads an ARTS2 .odf file.
§Errors
LogError::NotThisFormat if the bytes don’t open as an .odf‘s; LogError::Binary if
they aren’t laid out as the module docs say, the settings word that may hold the rate isn’t
the sample files’, the calibration or the pad’s pressure isn’t borne out by the sensors’ data
sheets, or the climb check fails or can’t be measured;
LogError::NoData if the file holds no record after the baselines.