SP3dEphemerisReadFrom Method (String) |
Reads the SP3 version D file from a file and returns a
SP3dEphemeris record.
Namespace:
AGI.Foundation.Navigation.DataReaders
Assembly:
AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static SP3dEphemeris ReadFrom(
string fileName
)
Public Shared Function ReadFrom (
fileName As String
) As SP3dEphemeris
public:
static SP3dEphemeris^ ReadFrom(
String^ fileName
)
static member ReadFrom :
fileName : string -> SP3dEphemeris
Parameters
- fileName
- Type: SystemString
The name of the SP3d file from which to read.
Return Value
Type:
SP3dEphemerisSP3dEphemeris.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when fileName is .
|
| InvalidDataException |
Thrown when the file represented by the fileName is not
version "D".
|
| InvalidDataException |
Thrown when the Position-Velocity flag in the SP3 file is neither 'P' nor 'V'.
|
See Also