Click or drag to resize

CelestrakGeneralPerturbationElementsReadFromCsvFile Method (TextReader)

Reads the Celestrak General Perturbation elements in from a file (most likely a .csv).

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static List<CelestrakGeneralPerturbationElements> ReadFromCsvFile(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
TextReader for the .csv file to read.

Return Value

Type: ListCelestrakGeneralPerturbationElements
A list of CelestrakGeneralPerturbationElements.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when reader is .
Remarks

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.

See Also