Click or drag to resize

CcsdsOrbitEphemerisMessageFileWriteTo Method

Overload List
  NameDescription
Public methodWriteTo(TextWriter)

Writes this instance to a TextWriter in the CCSDS orbit ephemeris message OEM format.

This overload uses the DefaultOptions of the CcsdsOemFileWritingOptions, which means that the CreationDate is overridden by the current date and time and that the OEM will be written in the Key-Value Notation (KVN) 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 that this instance contains or the CovarianceData of any of the segments is not or empty, then the Version needs to be set to 2.0 or this method will throw.

Public methodWriteTo(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 that this instance contains or the CovarianceData of any of the segments is not or empty, then the Version needs to be set to 2.0 or this method will throw.

Top
See Also