Class Station


  • public class Station
    extends Object
    Station model.

    Since Orekit 11.1, this class handles multiple site antenna eccentricity. The getEccentricities(AbsoluteDate) method can be used to access the site antenna eccentricity values for a given epoch.

    Since:
    10.3
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • Station

        public Station()
        Constructor.
    • Method Detail

      • getSiteCode

        public String getSiteCode()
        Get the site code (station identifier).
        Returns:
        the site code
      • setSiteCode

        public void setSiteCode​(String siteCode)
        Set the site code (station identifier).
        Parameters:
        siteCode - the site code to set
      • getDomes

        public String getDomes()
        Get the site DOMES number.
        Returns:
        the DOMES number
      • setDomes

        public void setDomes​(String domes)
        Set the DOMES number.
        Parameters:
        domes - the DOMES number to set
      • getValidFrom

        public AbsoluteDate getValidFrom()
        Get start of validity.
        Returns:
        start of validity
      • setValidFrom

        public void setValidFrom​(AbsoluteDate validFrom)
        Set the start of validity.
        Parameters:
        validFrom - the start of validity to set
      • getValidUntil

        public AbsoluteDate getValidUntil()
        Get end of validity.
        Returns:
        end of validity
      • setValidUntil

        public void setValidUntil​(AbsoluteDate validUntil)
        Set the end of validity.
        Parameters:
        validUntil - the end of validity to set
      • getEccRefSystem

        public Station.ReferenceSystem getEccRefSystem()
        Get the reference system used to define the eccentricity vector (local or cartesian).
        Returns:
        the reference system used to define the eccentricity vector
      • setEccRefSystem

        public void setEccRefSystem​(Station.ReferenceSystem eccRefSystem)
        Set the reference system used to define the eccentricity vector (local or cartesian).
        Parameters:
        eccRefSystem - the reference system used to define the eccentricity vector
      • getEccentricities

        public Vector3D getEccentricities​(AbsoluteDate date)
        Get the station antenna eccentricities for the given epoch.

        Vector convention: X-Y-Z or UP-NORTH-EAST. See getEccRefSystem() method.

        If there is no eccentricity values for the given epoch, an exception is thrown.

        Parameters:
        date - epoch
        Returns:
        station antenna eccentricities (m)
        Since:
        11.1
      • getEccentricitiesTimeSpanMap

        public TimeSpanMap<Vector3D> getEccentricitiesTimeSpanMap()
        Get the TimeSpanMap of site antenna eccentricities.
        Returns:
        the TimeSpanMap of site antenna eccentricities
        Since:
        11.1
      • addStationEccentricitiesValidBefore

        public void addStationEccentricitiesValidBefore​(Vector3D entry,
                                                        AbsoluteDate latestValidityDate)
        Add a station eccentricity vector entry valid before a limit date.
        Using addStationEccentricitiesValidBefore(entry, t) will make entry valid in ]-∞, t[ (note the open bracket).
        Parameters:
        entry - station eccentricity vector entry
        latestValidityDate - date before which the entry is valid (must be different from all dates already used for transitions)
        Since:
        11.1
      • addStationEccentricitiesValidAfter

        public void addStationEccentricitiesValidAfter​(Vector3D entry,
                                                       AbsoluteDate earliestValidityDate)
        Add a station eccentricity vector entry valid after a limit date.
        Using addStationEccentricitiesValidAfter(entry, t) will make entry valid in [t, +∞[ (note the closed bracket).
        Parameters:
        entry - station eccentricity vector entry
        earliestValidityDate - date after which the entry is valid (must be different from all dates already used for transitions)
        Since:
        11.1
      • getPsdTimeSpanMap

        public TimeSpanMap<List<PsdCorrection>> getPsdTimeSpanMap()
        Get the TimeSpanMap of Post-Seismic Deformation.
        Returns:
        the TimeSpanMap of Post-Seismic Deformation
        Since:
        12.1
      • addPsdCorrectionValidAfter

        public void addPsdCorrectionValidAfter​(PsdCorrection entry,
                                               AbsoluteDate earliestValidityDate)
        Add a Post-Seismic Deformation entry valid after a limit date.
        Using addPsdCorrectionValidAfter(entry, t) will make entry valid in [t, +∞[ (note the closed bracket).
        Parameters:
        entry - Post-Seismic Deformation entry
        earliestValidityDate - date after which the entry is valid (must be different from all dates already used for transitions)
        Since:
        12.1
      • getAntennaType

        public String getAntennaType​(AbsoluteDate date)
        Get the antenna type for the given epoch. If there is no antenna types for the given epoch, an exception is thrown.
        Parameters:
        date - epoch
        Returns:
        antenna type
        Since:
        12.0
      • getAntennaTypeTimeSpanMap

        public TimeSpanMap<String> getAntennaTypeTimeSpanMap()
        Get the TimeSpanMap of site antenna type.
        Returns:
        the TimeSpanMap of site antenna type
        Since:
        12.0
      • addAntennaTypeValidBefore

        public void addAntennaTypeValidBefore​(String entry,
                                              AbsoluteDate latestValidityDate)
        Add a antenna type entry valid before a limit date.
        Using addAntennaTypeValidBefore(entry, t) will make entry valid in ]-∞, t[ (note the open bracket).
        Parameters:
        entry - antenna type entry
        latestValidityDate - date before which the entry is valid (must be different from all dates already used for transitions)
        Since:
        12.0
      • addAntennaTypeValidAfter

        public void addAntennaTypeValidAfter​(String entry,
                                             AbsoluteDate earliestValidityDate)
        Add a antenna type entry valid after a limit date.
        Using addAntennaTypeValidAfter(entry, t) will make entry valid in [t, +∞[ (note the closed bracket).
        Parameters:
        entry - antenna type entry
        earliestValidityDate - date after which the entry is valid (must be different from all dates already used for transitions)
        Since:
        12.0
      • getPosition

        public Vector3D getPosition()
        Get the station position.
        Returns:
        the station position (m)
      • setPosition

        public void setPosition​(Vector3D position)
        Set the station position.
        Parameters:
        position - the position to set
      • getVelocity

        public Vector3D getVelocity()
        Get the station velocity.
        Returns:
        the station velocity (m/s)
      • setVelocity

        public void setVelocity​(Vector3D velocity)
        Set the station velocity.
        Parameters:
        velocity - the velocity to set
      • getEpoch

        public AbsoluteDate getEpoch()
        Get the coordinates reference epoch.
        Returns:
        the coordinates reference epoch
      • setEpoch

        public void setEpoch​(AbsoluteDate epoch)
        Set the coordinates reference epoch.
        Parameters:
        epoch - the epoch to set