Class IIRVParser

    • Field Detail

      • DEFAULT_INTERPOLATION_SAMPLE

        public static final int DEFAULT_INTERPOLATION_SAMPLE
        Default number of sample for interpolating data (See: reference documents).
        See Also:
        Constant Field Values
    • Constructor Detail

      • IIRVParser

        public IIRVParser​(int year,
                          UTCScale utc)
        Constructs a IIRVParser instance with default values.

        Default gravitational parameter is Constants.IERS96_EARTH_MU. Default number of interpolation samples is 7.

        Parameters:
        year - year of the initial vector in the IIRV ephemeris file.
        utc - UTC time scale
      • IIRVParser

        public IIRVParser​(double mu,
                          int interpolationSamples,
                          int year,
                          UTCScale utc)
        Constructs a IIRVParser instance.
        Parameters:
        mu - gravitational parameter (m^3/s^2)
        interpolationSamples - is the number of samples to use when interpolating.
        year - year of the initial vector in the IIRV ephemeris file.
        utc - UTC time scale
    • Method Detail

      • parse

        public IIRVEphemerisFile parse​(String iirv)
        Parses a string representing an IIRV message.
        Parameters:
        iirv - String representation of an IIRV message
        Returns:
        newly created IIRVSegment object populated with ephemeris data parsed from iirvVectorStrings
      • parse

        public IIRVEphemerisFile parse​(List<String> iirvVectorStrings)
        Parses a list of strings that comprise an IIRVMessage.
        Parameters:
        iirvVectorStrings - list of Strings that comprise an IIRVMessage
        Returns:
        newly created IIRVSegment object populated with ephemeris data parsed from iirvVectorStrings