Class AntexLoader


  • public class AntexLoader
    extends Object
    Factory for GNSS antennas (both receiver and satellite).

    The factory creates antennas by parsing an ANTEX file.

    Since:
    9.2
    Author:
    Luc Maisonobe
    • Field Detail

      • DEFAULT_ANTEX_SUPPORTED_NAMES

        public static final String DEFAULT_ANTEX_SUPPORTED_NAMES
        Default supported files name pattern for antex files.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AntexLoader

        public AntexLoader​(String supportedNames,
                           DataProvidersManager dataProvidersManager,
                           TimeScale gps)
        Construct a loader by specifying a DataProvidersManager.
        Parameters:
        supportedNames - regular expression for supported files names
        dataProvidersManager - provides access to auxiliary data.
        gps - the GPS time scale to use when loading the ANTEX files.
        Since:
        10.1
      • AntexLoader

        public AntexLoader​(DataSource source,
                           TimeScale gps)
        Construct a loader by specifying the source of ANTEX auxiliary data files.
        Parameters:
        source - source for the ANTEX data
        gps - the GPS time scale to use when loading the ANTEX files.
        Since:
        12.0
    • Method Detail

      • getSatellitesAntennas

        public List<TimeSpanMap<SatelliteAntenna>> getSatellitesAntennas()
        Get parsed satellites antennas.
        Returns:
        unmodifiable view of parsed satellites antennas
      • findSatelliteAntenna

        public TimeSpanMap<SatelliteAntenna> findSatelliteAntenna​(SatelliteSystem satelliteSystem,
                                                                  int prnNumber)
        Find the time map for a specific satellite antenna.
        Parameters:
        satelliteSystem - satellite system
        prnNumber - number within the satellite system
        Returns:
        time map for the antenna
      • getReceiversAntennas

        public List<ReceiverAntenna> getReceiversAntennas()
        Get parsed receivers antennas.
        Returns:
        unmodifiable view of parsed receivers antennas