Click or drag to resize

CelestrakGeneralPerturbationElementsReadFromCsvFile Method (String)

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.2.419.0 (24.2.419.0)
Syntax
public static List<CelestrakGeneralPerturbationElements> ReadFromCsvFile(
	string filename
)

Parameters

filename
Type: SystemString
Name of the CSV file from which to read.

Return Value

Type: ListCelestrakGeneralPerturbationElements
A list of CelestrakGeneralPerturbationElements.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when filename 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