SP3aEphemerisReadFrom Method (TextReader) |
Reads the SP3 version A file from the
TextReader and returns a
SP3aEphemeris 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 SP3aEphemeris ReadFrom(
TextReader reader
)
Public Shared Function ReadFrom (
reader As TextReader
) As SP3aEphemeris
public:
static SP3aEphemeris^ ReadFrom(
TextReader^ reader
)
static member ReadFrom :
reader : TextReader -> SP3aEphemeris
Parameters
- reader
- Type: System.IOTextReader
TextReader for the SP3a file to read.
Return Value
Type:
SP3aEphemerisSP3aEphemeris.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when the reader is .
|
| InvalidDataException |
Thrown when the file represented by the reader is not
version "A".
|
| InvalidDataException |
Thrown when the Position-Velocity flag in the SP3 file is neither 'P' nor 'V'.
|
See Also