Class OemWriter

    • Field Detail

      • CCSDS_OEM_VERS

        public static final double CCSDS_OEM_VERS
        Version number implemented.
        See Also:
        Constant Field Values
      • DEFAULT_FILE_NAME

        public static final String DEFAULT_FILE_NAME
        Default file name for error messages.
        See Also:
        Constant Field Values
      • KVN_PADDING_WIDTH

        public static final int KVN_PADDING_WIDTH
        Padding width for aligning the '=' sign.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OemWriter

        public OemWriter​(IERSConventions conventions,
                         DataContext dataContext,
                         AbsoluteDate missionReferenceDate)
        Constructor used to create a new OEM writer configured with the necessary parameters to successfully fill in all required fields that aren't part of a standard object.

        If the mandatory header entries are not present (or if header is null), built-in defaults will be used

        The writer is built from the complete header and partial metadata. The template metadata is used to initialize and independent local copy, that will be updated as new segments are written (with at least the segment start and stop will change, but some other parts may change too). The template argument itself is not changed.

        Calling this constructor directly is not recommended. Users should rather use writerBuilder.buildOemWriter().

        Parameters:
        conventions - IERS Conventions
        dataContext - used to retrieve frames, time scales, etc.
        missionReferenceDate - reference date for Mission Elapsed Time or Mission Relative Time time systems
        Since:
        11.0
        See Also:
        DEFAULT_FILE_NAME