Click or drag to resize

EarthOrientationParametersFileReadData Method (String, EarthOrientationParametersReadOptions)

Reads an EOP data file and returns a new EarthOrientationParameters instance initialized with the contents of the file.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static EarthOrientationParameters ReadData(
	string fileName,
	EarthOrientationParametersReadOptions readOptions
)

Parameters

fileName
Type: SystemString
The name of the file from which to read.
readOptions
Type: AGI.Foundation.CelestialEarthOrientationParametersReadOptions
Options for reading the file.

Return Value

Type: EarthOrientationParameters
A new EarthOrientationParameters initialized with the contents of the file.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the fileName is .
InvalidDataException Thrown when there is an error parsing the EOP data specified by the fileName.
See Also