CelestrakGeneralPerturbationElementsReadFromCsvFile Method (String) |
Namespace: AGI.Foundation.Propagators
public static List<CelestrakGeneralPerturbationElements> ReadFromCsvFile( string filename )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when filename is . |
The Celestrak General Perturbation CSV format includes a header row before the actual CSV data. The reader will first parse the first row. The first row is considered a valid header row if it contains all of the obligatory CCSDS Orbit Mean-Elements Message (OMM) Data keywords and all of the TLE Related Parameters (other than COMMENT). MEAN_MOTION must be used rather than the SEMI_MAJOR_AXIS. These keywords can be in any order, but all of them must be included as comma-separated entries in the first row for the header to be valid. The second and subsequent rows must have entries in formats consistent with the header keywords in the first row. See Table 4-3 of the document titled "Orbit Data Messages" from the CCSDS website.