Class DcbStation


  • public class DcbStation
    extends Object
    Class based on DCB, used to store the data parsed in SinexLoader for Differential Code Biases computed for stations.

    Satellites and stations have differentiated classes as stations might have multiple satellite systems. The data are stored in a Map of DCB, identified by the SatelliteSystem

    Since:
    12.0
    Author:
    Louis Aucouturier
    • Constructor Detail

      • DcbStation

        public DcbStation​(String siteCode)
        Simple constructor.
        Parameters:
        siteCode - the site code (station identifier)
    • Method Detail

      • getSiteCode

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

        public DcbDescription getDescription()
        Get the data contained in "DCB/DESCRIPTION" block of the Sinex file.

        This block gives important parameters from the analysis and defines the fields in the block ’BIAS/SOLUTION’

        Returns:
        the "DCB/DESCRIPTION" parameters.
      • setDescription

        public void setDescription​(DcbDescription description)
        Set the data contained in "DCB/DESCRIPTION" block of the Sinex file.
        Parameters:
        description - the "DCB/DESCRIPTION" parameters to set
      • getDcbData

        public Dcb getDcbData​(SatelliteSystem satelliteSystem)
        Get the DCB data for a given satellite system.
        Parameters:
        satelliteSystem - satellite system
        Returns:
        the DCB data corresponding to the satellite system (can be null is no DCB available)
      • addDcb

        public void addDcb​(SatelliteSystem satelliteSystem,
                           Dcb dcb)
        Add the DCB data corresponding to a satellite system.

        If the instance previously contained DCB data for the satellite system, the old value is replaced.

        Parameters:
        satelliteSystem - satellite system for which the DCB is added
        dcb - DCB data
      • getAvailableSatelliteSystems

        public Iterable<SatelliteSystem> getAvailableSatelliteSystems()
        Get the satellite systems available for the station.
        Returns:
        a Set containing all SatelliteSystems available for DCB computation.