Click or drag to resize

InternationalTerrestrialReferenceFrameTransformerReadFromItrfDefinitionsFile Method (TextReader)

Reads an ITRF definitions file and creates a list of ITRF transformations. Each data line in the file adds two ITRF transformations to the list: The forward transformation from the "from year" to the "to year" and the backward transformation from the "to year" to the "from year".

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static List<InternationalTerrestrialReferenceFrameTransformer> ReadFromItrfDefinitionsFile(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
A TextReader for the ITRF definitions .txt file.

Return Value

Type: ListInternationalTerrestrialReferenceFrameTransformer
A list of ITRF transformations.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when reader is .
Remarks

The units are automatically converted into meters, seconds, and radians from mm, years, and milli-arc seconds. Parts per billion (ppb) are divided by one billion to make the Scaling constant term unitless.

A file of this format should be able to be found in the DynamicEarthData folder of a STK install that is 12.7 or later (2023r2 or later). Specifically, the correct file in that folder should be named "ITRFDefns.txt".

See Also