Skip to main content

parse

Function parse 

Source
pub fn parse(line1: &str, line2: &str) -> Result<ParsedTle, TleError>
Expand description

Parse a two-line element set into TleElements.

The parser is liberal: trailing content past column 69 is trimmed, leading-dot floats are normalized, and an invalid checksum is reported (via ParsedTle::checksum_warnings) rather than rejected.