CcsdsOrbitEphemerisMessageFileWriteTo Method (TextWriter, CcsdsOemFileWritingOptions) |
Writes this instance to a TextWriter in the CCSDS orbit ephemeris message OEM format.
The TextWriter can be a StreamWriter for writing to a file, a StringWriter for writing to a string, or any number of other types.
If acceleration information is contained in the EphemerisData of any of the segments contained by this instance, or if the CovarianceData of any of the segments is not empty, then the Version needs to be set to 2.0 or this method will throw.
Namespace: AGI.Foundation.Ccsds
Exception | Condition |
---|---|
ArgumentNullException | Thrown when writer or options are . |
PropertyInvalidException | Thrown when any required property is , or when Version is not 1.0 or 2.0, or when acceleration or covariance information is available, but the Version is 1.0. |