Click or drag to resize

EarthOrientationParametersFile.ReadData 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: 25.1.421.0 (25.1.421.0)
Syntax
public static EarthOrientationParameters ReadData(
	string fileName,
	EarthOrientationParametersReadOptions readOptions
)

Parameters

fileName
Type: System.String
The name of the file from which to read.
readOptions
Type: AGI.Foundation.Celestial.EarthOrientationParametersReadOptions
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 null.
InvalidDataException Thrown when there is an error parsing the EOP data specified by the fileName.
See Also