Function sgp4::parse_2les

source ·
pub fn parse_2les(tles: &str) -> Result<Vec<Elements>, Error>
Available on crate feature alloc only.
Expand description

Parses a multi-line TL/2LE string into a list of Elements

Each pair of lines must represent a TLE, for example as in https://celestrak.com/NORAD/elements/gp.php?GROUP=stations&FORMAT=2le.

Arguments

  • tles - A string containing multiple lines