Class Omm

    • Constructor Detail

      • Omm

        public Omm​(Header header,
                   List<Segment<OmmMetadata,​OmmData>> segments,
                   IERSConventions conventions,
                   DataContext dataContext)
        Simple constructor.
        Parameters:
        header - file header
        segments - file segments
        conventions - IERS conventions
        dataContext - used for creating frames, time scales, etc.
    • Method Detail

      • getMetadata

        public OmmMetadata getMetadata()
        Get the file metadata.
        Returns:
        file metadata
      • getData

        public OmmData getData()
        Get the file data.
        Returns:
        file data
      • generateKeplerianOrbit

        public KeplerianOrbit generateKeplerianOrbit()
        Generate a keplerian orbit.
        Returns:
        generated orbit
      • generateSpacecraftState

        public SpacecraftState generateSpacecraftState()
        Generate spacecraft state from the CartesianOrbit generated by generateCartesianOrbit. Raises an exception if OPM doesn't contain spacecraft mass information.
        Returns:
        the spacecraft state of the OPM
      • generateTLE

        public TLE generateTLE()
        Generate TLE from OMM file. Launch Year, Launch Day and Launch Piece are not present in the OMM file, they have to be set manually by the user with the AdditionalData static class.
        Returns:
        the tle