Click or drag to resize

SemAlmanacDownloadAlmanac Method (JulianDate)

Downloads the SEM Almanac which was most recently published before the given date from an AGI server and returns the contents of the file as a SemAlmanac. This method connects via HTTPS to ftp.agi.com.

Namespace:  AGI.Foundation.Navigation.DataReaders
Assembly:  AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static SemAlmanac DownloadAlmanac(
	JulianDate dateOfAlmanac
)

Parameters

dateOfAlmanac
Type: AGI.Foundation.TimeJulianDate
The date for which the almanac is needed.

Return Value

Type: SemAlmanac
A SemAlmanac that contains data from the almanac most recently published before dateOfAlmanac.
Exceptions
ExceptionCondition
DataUnavailableExceptionThrown when the data cannot be retrieved from the server.
Remarks
Note that an internet connection is required to use this method successfully.
See Also