Class AbstractFrames

    • Constructor Detail

      • AbstractFrames

        public AbstractFrames​(TimeScales timeScales,
                              Supplier<Frame> icrfSupplier)
        Simple constructor.
        Parameters:
        timeScales - to use when creating frames.
        icrfSupplier - used to implement getICRF();
    • Method Detail

      • getFrame

        public Frame getFrame​(Predefined factoryKey)
        Description copied from interface: Frames
        Get one of the predefined frames.
        Specified by:
        getFrame in interface Frames
        Parameters:
        factoryKey - key of the frame within the factory
        Returns:
        the predefined frame
      • getGCRF

        public Frame getGCRF()
        Description copied from interface: Frames
        Get the unique GCRF frame.

        The GCRF frame is the root frame in the frame tree.

        Specified by:
        getGCRF in interface Frames
        Returns:
        the unique instance of the GCRF frame
      • getICRF

        public Frame getICRF()
        Description copied from interface: Frames
        Get the unique ICRF frame.

        The ICRF frame is centered at solar system barycenter and aligned with GCRF.

        Specified by:
        getICRF in interface Frames
        Returns:
        the unique instance of the ICRF frame
      • getEcliptic

        public Frame getEcliptic​(IERSConventions conventions)
        Description copied from interface: Frames
        Get the ecliptic frame. The IAU defines the ecliptic as "the plane perpendicular to the mean heliocentric orbital angular momentum vector of the Earth-Moon barycentre in the BCRS (IAU 2006 Resolution B1)." The +z axis is aligned with the angular momentum vector, and the +x axis is aligned with +x axis of MOD.

        This implementation agrees with the JPL 406 ephemerides to within 0.5 arc seconds.

        Specified by:
        getEcliptic in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        Returns:
        the selected reference frame singleton.
      • getEME2000

        public FactoryManagedFrame getEME2000()
        Description copied from interface: Frames
        Get the unique EME2000 frame.

        The EME2000 frame is also called the J2000 frame. The former denomination is preferred in Orekit.

        Specified by:
        getEME2000 in interface Frames
        Returns:
        the unique instance of the EME2000 frame
      • getITRF

        public VersionedITRF getITRF​(ITRFVersion version,
                                     IERSConventions conventions,
                                     boolean simpleEOP)
        Description copied from interface: Frames
        Get an specific International Terrestrial Reference Frame.

        Note that if a specific version of ITRF is required, then simpleEOP should most probably be set to false, as ignoring tidal effects has an effect of the same order of magnitude as the differences between the various ITRF versions.

        Specified by:
        getITRF in interface Frames
        Parameters:
        version - ITRF version
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getTIRF

        public FactoryManagedFrame getTIRF​(IERSConventions conventions)
        Description copied from interface: Frames
        Get the TIRF reference frame, ignoring tidal effects.
        Specified by:
        getTIRF in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        Returns:
        the selected reference frame singleton. library cannot be read.
      • getTIRF

        public FactoryManagedFrame getTIRF​(IERSConventions conventions,
                                           boolean simpleEOP)
        Description copied from interface: Frames
        Get the TIRF reference frame.
        Specified by:
        getTIRF in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getCIRF

        public FactoryManagedFrame getCIRF​(IERSConventions conventions,
                                           boolean simpleEOP)
        Description copied from interface: Frames
        Get the CIRF2000 reference frame.
        Specified by:
        getCIRF in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getVeis1950

        public FactoryManagedFrame getVeis1950()
        Description copied from interface: Frames
        Get the VEIS 1950 reference frame.

        Its parent frame is the GTOD frame with IERS 1996 conventions without EOP corrections.

        Specified by:
        getVeis1950 in interface Frames
        Returns:
        the selected reference frame singleton.
      • getITRFEquinox

        public FactoryManagedFrame getITRFEquinox​(IERSConventions conventions,
                                                  boolean simpleEOP)
        Description copied from interface: Frames
        Get the equinox-based ITRF reference frame.
        Specified by:
        getITRFEquinox in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getGTOD

        public FactoryManagedFrame getGTOD​(boolean applyEOPCorr)
        Description copied from interface: Frames
        Get the GTOD reference frame.

        The applyEOPCorr parameter is available mainly for testing purposes or for consistency with legacy software that don't handle EOP correction parameters. Beware that setting this parameter to false leads to crude accuracy (order of magnitudes for errors might be above 250m in LEO and 1400m in GEO). For this reason, setting this parameter to false is restricted to IERS 1996 conventions, and hence the IERS conventions cannot be freely chosen here.

        Specified by:
        getGTOD in interface Frames
        Parameters:
        applyEOPCorr - if true, EOP corrections are applied (here, dut1 and lod)
        Returns:
        the selected reference frame singleton.
      • getGTOD

        public FactoryManagedFrame getGTOD​(IERSConventions conventions,
                                           boolean simpleEOP)
        Description copied from interface: Frames
        Get the GTOD reference frame.
        Specified by:
        getGTOD in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getTOD

        public FactoryManagedFrame getTOD​(boolean applyEOPCorr)
        Description copied from interface: Frames
        Get the TOD reference frame.

        The applyEOPCorr parameter is available mainly for testing purposes or for consistency with legacy software that don't handle EOP correction parameters. Beware that setting this parameter to false leads to crude accuracy (order of magnitudes for errors might be above 1m in LEO and 10m in GEO). For this reason, setting this parameter to false is restricted to IERS 1996 conventions, and hence the IERS conventions cannot be freely chosen here.

        Specified by:
        getTOD in interface Frames
        Parameters:
        applyEOPCorr - if true, EOP corrections are applied (here, nutation)
        Returns:
        the selected reference frame singleton.
      • getTOD

        public FactoryManagedFrame getTOD​(IERSConventions conventions,
                                          boolean simpleEOP)
        Description copied from interface: Frames
        Get the TOD reference frame.
        Specified by:
        getTOD in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
      • getMOD

        public FactoryManagedFrame getMOD​(boolean applyEOPCorr)
        Description copied from interface: Frames
        Get the MOD reference frame.

        The applyEOPCorr parameter is available mainly for testing purposes or for consistency with legacy software that don't handle EOP correction parameters. Beware that setting this parameter to false leads to crude accuracy (order of magnitudes for errors might be above 1m in LEO and 10m in GEO). For this reason, setting this parameter to false is restricted to IERS 1996 conventions, and hence the IERS conventions cannot be freely chosen here.

        Specified by:
        getMOD in interface Frames
        Parameters:
        applyEOPCorr - if true, EOP corrections are applied (EME2000/GCRF bias compensation)
        Returns:
        the selected reference frame singleton.
      • getMOD

        public FactoryManagedFrame getMOD​(IERSConventions conventions)
        Description copied from interface: Frames
        Get the MOD reference frame.
        Specified by:
        getMOD in interface Frames
        Parameters:
        conventions - IERS conventions to apply
        Returns:
        the selected reference frame singleton.
      • getTEME

        public FactoryManagedFrame getTEME()
        Description copied from interface: Frames
        Get the TEME reference frame.

        The TEME frame is used for the SGP4 model in TLE propagation. This frame has no official definition and there are some ambiguities about whether it should be used as "of date" or "of epoch". This frame should therefore be used only for TLE propagation and not for anything else, as recommended by the CCSDS Orbit Data Message blue book.

        Specified by:
        getTEME in interface Frames
        Returns:
        the selected reference frame singleton.
      • getPZ9011

        public FactoryManagedFrame getPZ9011​(IERSConventions convention,
                                             boolean simpleEOP)
        Description copied from interface: Frames
        Get the PZ-90.11 (Parametry Zemly – 1990.11) reference frame.

        The PZ-90.11 reference system was updated on all operational GLONASS satellites starting from 3:00 pm on December 31, 2013.

        The transition between parent frame (ITRF-2008) and PZ-90.11 frame is performed using a seven parameters Helmert transformation.

            From       To      ΔX(m)   ΔY(m)   ΔZ(m)   RX(mas)   RY(mas)  RZ(mas)   Epoch
         ITRF-2008  PZ-90.11  +0.003  +0.001  -0.000   +0.019    -0.042   +0.002     2010
         
        Specified by:
        getPZ9011 in interface Frames
        Parameters:
        convention - IERS conventions to apply
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        the selected reference frame singleton.
        See Also:
        "Springer Handbook of Global Navigation Satellite Systems, Peter Teunissen & Oliver Montenbruck"
      • getTimeScales

        protected TimeScales getTimeScales()
        Get the time scales.
        Returns:
        time scales used to define these frames.