pub fn read(text: &str) -> Result<FlightLog, LogError>Expand description
Reads an Entacore AIM CSV export from its text.
§Errors
LogError::NotThisFormat if the first line isn’t an AIM export’s header;
LogError::Syntax for a header with an empty name, a name given twice or a clock without
columns, a file without Pressure AGL, a row of another width than the header’s (but for the
GPS group’s extra cell), or a cell that isn’t a number; LogError::NoData if Pressure AGL
has no sample with a time; LogError::Unit if neither GPS Time of Week nor the clocks’
step settles the clock’s unit, or the pressure doesn’t settle the altitudes’ (module docs).