Click or drag to resize

SphericalHarmonicGravityModel.ReadFrom Method (TextReader)

Reads the gravity model information in from a TextReader and returns a SphericalHarmonicGravityModel

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static SphericalHarmonicGravityModel ReadFrom(
	TextReader reader
)

Parameters

reader
Type: System.IO.TextReader
TextReader for the .grv file to read.

Return Value

Type: SphericalHarmonicGravityModel
The gravity model described in the file.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when reader is null.
Remarks
If the .grv file contains uncommented SecularVariation RefEpochTDT and LinearRate lines, the returned gravity model will include secular variations by default. If secular variations are not desired, SecularVariations must be manually set to null.
See Also