Click or drag to resize

InternationalTerrestrialReferenceFrameTransformerReadFromItrfTransformationFile Method (TextReader)

Reads an ITRF transformation parameters file and creates a list of ITRF transformations. Each file contains transformation parameters from a specific ITRF to several other ITRFs. The forward transformations from the specific ITRF to the other ITRFs and the backward transformations from the other ITRFs to the specific ITRF are included in the resulting list of ITRFs.

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> ReadFromItrfTransformationFile(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
A TextReader for the ITRF transformation parameters .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. The names of the ITRFs before 2000 in the files are modified to include four-digit years (e.g. ITRF97 becomes ITRF1997)

A file of this format that handles conversions to and from ITRF2020 can be found here. A similar file that handles conversions to and from ITRF2014 can be found here.

See Also