Class RinexObservationHeader


  • public class RinexObservationHeader
    extends RinexBaseHeader
    Container for Rinex observation file header.
    Since:
    9.2
    • Constructor Detail

      • RinexObservationHeader

        public RinexObservationHeader()
        Simple constructor.
    • Method Detail

      • setMarkerName

        public void setMarkerName​(String markerName)
        Set name of the antenna marker.
        Parameters:
        markerName - name of the antenna marker
      • getMarkerName

        public String getMarkerName()
        Get name of the antenna marker.
        Returns:
        name of the antenna marker
      • setMarkerNumber

        public void setMarkerNumber​(String markerNumber)
        Set number of the antenna marker.
        Parameters:
        markerNumber - number of the antenna marker
      • getMarkerNumber

        public String getMarkerNumber()
        Get number of the antenna marker.
        Returns:
        number of the antenna marker
      • setObserverName

        public void setObserverName​(String observerName)
        Set name of the observer.
        Parameters:
        observerName - name of the observer
      • getObserverName

        public String getObserverName()
        Get name of the observer.
        Returns:
        name of the observer
      • setAgencyName

        public void setAgencyName​(String agencyName)
        Setter for the agency name.
        Parameters:
        agencyName - the agency name to set
      • getAgencyName

        public String getAgencyName()
        Get name of the agency.
        Returns:
        name of the agency
      • setReceiverNumber

        public void setReceiverNumber​(String receiverNumber)
        Set the number of the receiver.
        Parameters:
        receiverNumber - number of the receiver
      • getReceiverNumber

        public String getReceiverNumber()
        Get the number of the receiver.
        Returns:
        number of the receiver
      • setReceiverType

        public void setReceiverType​(String receiverType)
        Set the type of the receiver.
        Parameters:
        receiverType - type of the receiver
      • getReceiverType

        public String getReceiverType()
        Get the type of the receiver.
        Returns:
        type of the receiver
      • setReceiverVersion

        public void setReceiverVersion​(String receiverVersion)
        Set the version of the receiver.
        Parameters:
        receiverVersion - version of the receiver
      • getReceiverVersion

        public String getReceiverVersion()
        Get the version of the receiver.
        Returns:
        version of the receiver
      • setAntennaNumber

        public void setAntennaNumber​(String antennaNumber)
        Set the number of the antenna.
        Parameters:
        antennaNumber - number of the antenna
      • getAntennaNumber

        public String getAntennaNumber()
        Get the number of the antenna.
        Returns:
        number of the antenna
      • setAntennaType

        public void setAntennaType​(String antennaType)
        Set the type of the antenna.
        Parameters:
        antennaType - type of the antenna
      • getAntennaType

        public String getAntennaType()
        Get the type of the antenna.
        Returns:
        type of the antenna
      • setApproxPos

        public void setApproxPos​(Vector3D approxPos)
        Set the Approximate Marker Position.
        Parameters:
        approxPos - Approximate Marker Position
      • getApproxPos

        public Vector3D getApproxPos()
        Get the Approximate Marker Position.
        Returns:
        Approximate Marker Position
      • setAntennaHeight

        public void setAntennaHeight​(double antennaHeight)
        Set the antenna height.
        Parameters:
        antennaHeight - height of the antenna
      • getAntennaHeight

        public double getAntennaHeight()
        Get the antenna height.
        Returns:
        height of the antenna
      • setEccentricities

        public void setEccentricities​(Vector2D eccentricities)
        Set the eccentricities of antenna center.
        Parameters:
        eccentricities - Eccentricities of antenna center
      • getEccentricities

        public Vector2D getEccentricities()
        Get the eccentricities of antenna center.
        Returns:
        Eccentricities of antenna center
      • setClkOffset

        public void setClkOffset​(int clkOffset)
        Set the realtime-derived receiver clock offset.
        Parameters:
        clkOffset - realtime-derived receiver clock offset
      • getClkOffset

        public int getClkOffset()
        Get the realtime-derived receiver clock offset.
        Returns:
        realtime-derived receiver clock offset
      • setInterval

        public void setInterval​(double interval)
        Set the observation interval in seconds.
        Parameters:
        interval - Observation interval in seconds
      • getInterval

        public double getInterval()
        Get the observation interval in seconds.
        Returns:
        Observation interval in seconds
      • setTFirstObs

        public void setTFirstObs​(AbsoluteDate firstObs)
        Set the time of First observation record.
        Parameters:
        firstObs - Time of First observation record
      • getTFirstObs

        public AbsoluteDate getTFirstObs()
        Get the time of First observation record.
        Returns:
        Time of First observation record
      • setTLastObs

        public void setTLastObs​(AbsoluteDate lastObs)
        Set the time of last observation record.
        Parameters:
        lastObs - Time of last observation record
      • getTLastObs

        public AbsoluteDate getTLastObs()
        Get the time of last observation record.
        Returns:
        Time of last observation record
      • setLeapSeconds

        public void setLeapSeconds​(int leapSeconds)
        Set the Number of leap seconds since 6-Jan-1980.
        Parameters:
        leapSeconds - Number of leap seconds since 6-Jan-1980
      • getLeapSeconds

        public int getLeapSeconds()
        Get the Number of leap seconds since 6-Jan-1980.
        Returns:
        Number of leap seconds since 6-Jan-1980
      • setMarkerType

        public void setMarkerType​(String markerType)
        Set type of the antenna marker.
        Parameters:
        markerType - type of the antenna marker
      • getMarkerType

        public String getMarkerType()
        Get type of the antenna marker.
        Returns:
        type of the antenna marker
      • setAntennaReferencePoint

        public void setAntennaReferencePoint​(Vector3D refPoint)
        Set the position of antenna reference point for antenna on vehicle.
        Parameters:
        refPoint - Position of antenna reference point for antenna on vehicle
      • getAntennaReferencePoint

        public Vector3D getAntennaReferencePoint()
        Get the position of antenna reference point for antenna on vehicle.
        Returns:
        Position of antenna reference point for antenna on vehicle
      • setPhaseCenterSystem

        public void setPhaseCenterSystem​(SatelliteSystem phaseCenterSystem)
        Set satellite system for average phase center.
        Parameters:
        phaseCenterSystem - satellite system for average phase center
        Since:
        12.0
      • getPhaseCenterSystem

        public SatelliteSystem getPhaseCenterSystem()
        Get satellite system for average phase center.
        Returns:
        satellite system for average phase center
        Since:
        12.0
      • setObservationCode

        public void setObservationCode​(String observationCode)
        Set the observation code of the average phasecenter position w/r to antenna reference point.
        Parameters:
        observationCode - Observation code of the average phasecenter position w/r to antenna reference point
      • getObservationCode

        public String getObservationCode()
        Get the observation code of the average phasecenter position w/r to antenna reference point.
        Returns:
        Observation code of the average phasecenter position w/r to antenna reference point
      • setAntennaPhaseCenter

        public void setAntennaPhaseCenter​(Vector3D antennaPhaseCenter)
        Set the antenna phasecenter.
        Parameters:
        antennaPhaseCenter - Antenna phasecenter
      • getAntennaPhaseCenter

        public Vector3D getAntennaPhaseCenter()
        Get the antenna phasecenter.
        Returns:
        Antenna phasecenter
      • setAntennaBSight

        public void setAntennaBSight​(Vector3D antennaBSight)
        Set the antenna B.Sight.
        Parameters:
        antennaBSight - Antenna B.Sight
      • getAntennaBSight

        public Vector3D getAntennaBSight()
        Get the antenna B.Sight.
        Returns:
        Antenna B.Sight
      • setAntennaAzimuth

        public void setAntennaAzimuth​(double antennaAzimuth)
        Set the azimuth of the zero direction of a fixed antenna.
        Parameters:
        antennaAzimuth - Azimuth of the zero direction of a fixed antenna
      • getAntennaAzimuth

        public double getAntennaAzimuth()
        Get the azimuth of the zero direction of a fixed antenna.
        Returns:
        Azimuth of the zero direction of a fixed antenna
      • setAntennaZeroDirection

        public void setAntennaZeroDirection​(Vector3D antennaZeroDirection)
        Set the zero direction of antenna.
        Parameters:
        antennaZeroDirection - Zero direction of antenna
      • getAntennaZeroDirection

        public Vector3D getAntennaZeroDirection()
        Get the zero direction of antenna.
        Returns:
        Zero direction of antenna
      • setCenterMass

        public void setCenterMass​(Vector3D centerMass)
        Set the current center of mass of vehicle in body fixed coordinate system.
        Parameters:
        centerMass - Current center of mass of vehicle in body fixed coordinate system
      • getCenterMass

        public Vector3D getCenterMass()
        Get the current center of mass of vehicle in body fixed coordinate system.
        Returns:
        Current center of mass of vehicle in body fixed coordinate system
      • setSignalStrengthUnit

        public void setSignalStrengthUnit​(String signalStrengthUnit)
        Set the unit of the carrier to noise ratio observables.
        Parameters:
        signalStrengthUnit - Unit of the carrier to noise ratio observables
      • getSignalStrengthUnit

        public String getSignalStrengthUnit()
        Get the unit of the carrier to noise ratio observables.
        Returns:
        Unit of the carrier to noise ratio observables
      • setLeapSecondsFuture

        public void setLeapSecondsFuture​(int leapSecondsFuture)
        Set the future or past leap seconds.
        Parameters:
        leapSecondsFuture - Future or past leap seconds
      • getLeapSecondsFuture

        public int getLeapSecondsFuture()
        Get the future or past leap seconds.
        Returns:
        Future or past leap seconds
      • setLeapSecondsWeekNum

        public void setLeapSecondsWeekNum​(int leapSecondsWeekNum)
        Set the respective leap second week number.
        Parameters:
        leapSecondsWeekNum - Respective leap second week number
      • getLeapSecondsWeekNum

        public int getLeapSecondsWeekNum()
        Get the respective leap second week number.
        Returns:
        Respective leap second week number
      • setLeapSecondsDayNum

        public void setLeapSecondsDayNum​(int leapSecondsDayNum)
        Set the respective leap second day number.
        Parameters:
        leapSecondsDayNum - Respective leap second day number
      • getLeapSecondsDayNum

        public int getLeapSecondsDayNum()
        Get the respective leap second day number.
        Returns:
        Respective leap second day number
      • addAppliedDCBS

        public void addAppliedDCBS​(AppliedDCBS appliedDCBS)
        Add applied differential code bias corrections.
        Parameters:
        appliedDCBS - applied differential code bias corrections to add
      • getListAppliedDCBS

        public List<AppliedDCBS> getListAppliedDCBS()
        Get the list of applied differential code bias corrections.
        Returns:
        list of applied differential code bias corrections
      • addAppliedPCVS

        public void addAppliedPCVS​(AppliedPCVS appliedPCVS)
        Add antenna center variation corrections.
        Parameters:
        appliedPCVS - antenna center variation corrections
      • getListAppliedPCVS

        public List<AppliedPCVS> getListAppliedPCVS()
        Get the list of antenna center variation corrections.
        Returns:
        List of antenna center variation corrections
      • addPhaseShiftCorrection

        public void addPhaseShiftCorrection​(PhaseShiftCorrection phaseShiftCorrection)
        Add phase shift correction used to generate phases consistent w/r to cycle shifts.
        Parameters:
        phaseShiftCorrection - phase shift correction used to generate phases consistent w/r to cycle shifts
      • getPhaseShiftCorrections

        public List<PhaseShiftCorrection> getPhaseShiftCorrections()
        Get the list of phase shift correction used to generate phases consistent w/r to cycle shifts.
        Returns:
        List of phase shift correction used to generate phases consistent w/r to cycle shifts
      • addScaleFactorCorrection

        public void addScaleFactorCorrection​(SatelliteSystem satelliteSystem,
                                             ScaleFactorCorrection scaleFactorCorrection)
        Add scale factor correction.
        Parameters:
        satelliteSystem - system to which this scaling factor applies
        scaleFactorCorrection - scale factor correction
      • getScaleFactorCorrections

        public List<ScaleFactorCorrection> getScaleFactorCorrections​(SatelliteSystem satelliteSystem)
        Get the list of scale factor correction.
        Parameters:
        satelliteSystem - system to which this scaling factor applies
        Returns:
        List of scale factor correction
      • addGlonassChannel

        public void addGlonassChannel​(GlonassSatelliteChannel glonassChannel)
        Add GLONASS satellite/channel association.
        Parameters:
        glonassChannel - GLONASS satellite/channel association
        Since:
        12.0
      • getGlonassChannels

        public List<GlonassSatelliteChannel> getGlonassChannels()
        Get the list of GLONASS satellite/channel associations.
        Returns:
        List of GLONASS satellite/channel associations
        Since:
        12.0
      • setNbSat

        public void setNbSat​(int nbSat)
        Set number of satellites.
        Parameters:
        nbSat - number of satellites
        Since:
        12.0
      • getNbSat

        public int getNbSat()
        Get number of satellites.
        Returns:
        number of satellites
        Since:
        12.0
      • setNbObsPerSatellite

        public void setNbObsPerSatellite​(SatInSystem sat,
                                         ObservationType type,
                                         int nbObs)
        Set number of observations for a satellite.
        Parameters:
        sat - satellite
        type - observation type
        nbObs - number of observations of this type for this satellite
        Since:
        12.0
      • getNbObsPerSat

        public Map<SatInSystem,​Map<ObservationType,​Integer>> getNbObsPerSat()
        Get an unmodifiable view of the map of number of observations per satellites.
        Returns:
        unmodifiable view of the map of number of observations per satellites
        Since:
        12.0
      • setTypeObs

        public void setTypeObs​(SatelliteSystem system,
                               List<ObservationType> types)
        Set number of observations for a satellite.
        Parameters:
        system - satellite system
        types - observation types
        Since:
        12.0
      • getTypeObs

        public Map<SatelliteSystem,​List<ObservationType>> getTypeObs()
        Get an unmodifiable view of the map of observation types.
        Returns:
        unmodifiable view of the map of observation types
        Since:
        12.0
      • setC1cCodePhaseBias

        public void setC1cCodePhaseBias​(double c1cCodePhaseBias)
        Set the code phase bias correction for GLONASS ObservationType.C1C signal.
        Parameters:
        c1cCodePhaseBias - code phase bias correction for GLONASS ObservationType.C1C signal
        Since:
        12.0
      • getC1cCodePhaseBias

        public double getC1cCodePhaseBias()
        Get the code phase bias correction for GLONASS ObservationType.C1C signal.
        Returns:
        code phase bias correction for GLONASS ObservationType.C1C signal
        Since:
        12.0
      • setC1pCodePhaseBias

        public void setC1pCodePhaseBias​(double c1pCodePhaseBias)
        Set the code phase bias correction for GLONASS ObservationType.C1P signal.
        Parameters:
        c1pCodePhaseBias - code phase bias correction for GLONASS ObservationType.C1P signal
        Since:
        12.0
      • getC1pCodePhaseBias

        public double getC1pCodePhaseBias()
        Get the code phase bias correction for GLONASS ObservationType.C1P signal.
        Returns:
        code phase bias correction for GLONASS ObservationType.C1P signal
        Since:
        12.0
      • setC2cCodePhaseBias

        public void setC2cCodePhaseBias​(double c2cCodePhaseBias)
        Set the code phase bias correction for GLONASS ObservationType.C2C signal.
        Parameters:
        c2cCodePhaseBias - code phase bias correction for GLONASS ObservationType.C2C signal
        Since:
        12.0
      • getC2cCodePhaseBias

        public double getC2cCodePhaseBias()
        Get the code phase bias correction for GLONASS ObservationType.C2C signal.
        Returns:
        code phase bias correction for GLONASS ObservationType.C2C signal
        Since:
        12.0
      • setC2pCodePhaseBias

        public void setC2pCodePhaseBias​(double c2pCodePhaseBias)
        Set the code phase bias correction for GLONASS ObservationType.C2P signal.
        Parameters:
        c2pCodePhaseBias - code phase bias correction for GLONASS ObservationType.C2P signal
        Since:
        12.0
      • getC2pCodePhaseBias

        public double getC2pCodePhaseBias()
        Get the code phase bias correction for GLONASS ObservationType.C2P signal.
        Returns:
        code phase bias correction for GLONASS ObservationType.C2P signal
        Since:
        12.0