EarthOrientationParametersFileDownloadData Method |
Downloads the latest EOP file (EOP-v1.1.txt) from an AGI server and returns the contents of the file as
EarthOrientationParameters.
This method connects via HTTPS to ftp.agi.com.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static EarthOrientationParameters DownloadData()
Public Shared Function DownloadData As EarthOrientationParameters
public:
static EarthOrientationParameters^ DownloadData()
static member DownloadData : unit -> EarthOrientationParameters
Return Value
Type:
EarthOrientationParametersA
EarthOrientationParameters populated with the data returned from the server.
Exceptions| Exception | Condition |
|---|
| InvalidDataException |
Thrown when there is an error parsing the EOP data returned from the download.
|
| DataUnavailableException | Thrown when the data cannot be retrieved from the server. |
RemarksNote that an internet connection is required to use this method successfully.
See Also