Click or drag to resize

EarthOrientationParametersFile.ReadData Method (TextReader, 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(
	TextReader source,
	EarthOrientationParametersReadOptions readOptions
)

Parameters

source
Type: System.IO.TextReader
The stream 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 source is null.
InvalidDataException Thrown when there is an error parsing the EOP data specified by the source.
See Also