Click or drag to resize

YumaAlmanacReadFrom Method (String, Int32)

Reads a Yuma almanac from the specified file.

Namespace:  AGI.Foundation.Navigation.DataReaders
Assembly:  AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static YumaAlmanac ReadFrom(
	string fileName,
	int rolloverCount
)

Parameters

fileName
Type: SystemString
The name of the file from which to read the almanac.
rolloverCount
Type: SystemInt32
The number of times the GPS week counter had rolled over when this almanac was created. See below for more information.

Return Value

Type: YumaAlmanac
The almanac read from the stream.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when fileName is .
Remarks

The following list represents the rollover dates for the GPS week parameter. On or after the date listed below, you will need to use the specified rollover count.

DateRollover Count
January 6, 19800
August 22, 19991
April 7, 20192
November 21, 20383
July 7, 20584

To compute the rollover count for a given date, construct a GlobalPositioningSystemDate and use the value of RolloverCount.

See Also