Class RinexObservationHeader
- java.lang.Object
-
- org.orekit.files.rinex.section.RinexBaseHeader
-
- org.orekit.files.rinex.observation.RinexObservationHeader
-
public class RinexObservationHeader extends RinexBaseHeader
Container for Rinex observation file header.- Since:
- 9.2
-
-
Constructor Summary
Constructors Constructor Description RinexObservationHeader()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAppliedDCBS(AppliedDCBS appliedDCBS)Add applied differential code bias corrections.voidaddAppliedPCVS(AppliedPCVS appliedPCVS)Add antenna center variation corrections.voidaddGlonassChannel(GlonassSatelliteChannel glonassChannel)Add GLONASS satellite/channel association.voidaddPhaseShiftCorrection(PhaseShiftCorrection phaseShiftCorrection)Add phase shift correction used to generate phases consistent w/r to cycle shifts.voidaddScaleFactorCorrection(SatelliteSystem satelliteSystem, ScaleFactorCorrection scaleFactorCorrection)Add scale factor correction.StringgetAgencyName()Get name of the agency.doublegetAntennaAzimuth()Get the azimuth of the zero direction of a fixed antenna.Vector3DgetAntennaBSight()Get the antenna B.Sight.doublegetAntennaHeight()Get the antenna height.StringgetAntennaNumber()Get the number of the antenna.Vector3DgetAntennaPhaseCenter()Get the antenna phasecenter.Vector3DgetAntennaReferencePoint()Get the position of antenna reference point for antenna on vehicle.StringgetAntennaType()Get the type of the antenna.Vector3DgetAntennaZeroDirection()Get the zero direction of antenna.Vector3DgetApproxPos()Get the Approximate Marker Position.doublegetC1cCodePhaseBias()Get the code phase bias correction for GLONASSPredefinedObservationType.C1Csignal.doublegetC1pCodePhaseBias()Get the code phase bias correction for GLONASSPredefinedObservationType.C1Psignal.doublegetC2cCodePhaseBias()Get the code phase bias correction for GLONASSPredefinedObservationType.C2Csignal.doublegetC2pCodePhaseBias()Get the code phase bias correction for GLONASSPredefinedObservationType.C2Psignal.Vector3DgetCenterMass()Get the current center of mass of vehicle in body fixed coordinate system.booleangetClockOffsetApplied()Get the application flag for realtime-derived receiver clock offset.Vector2DgetEccentricities()Get the eccentricities of antenna center.List<GlonassSatelliteChannel>getGlonassChannels()Get the list of GLONASS satellite/channel associations.doublegetInterval()Get the observation interval in seconds.intgetLeapSeconds()Get the Number of leap seconds since 6-Jan-1980.intgetLeapSecondsDayNum()Get the respective leap second day number.intgetLeapSecondsFuture()Get the future or past leap seconds.intgetLeapSecondsWeekNum()Get the respective leap second week number.List<AppliedDCBS>getListAppliedDCBS()Get the list of applied differential code bias corrections.List<AppliedPCVS>getListAppliedPCVS()Get the list of antenna center variation corrections.StringgetMarkerName()Get name of the antenna marker.StringgetMarkerNumber()Get number of the antenna marker.StringgetMarkerType()Get type of the antenna marker.Map<SatInSystem,Map<ObservationType,Integer>>getNbObsPerSat()Get an unmodifiable view of the map of number of observations per satellites.intgetNbSat()Get number of satellites.StringgetObservationCode()Get the observation code of the average phasecenter position w/r to antenna reference point.StringgetObserverName()Get name of the observer.SatelliteSystemgetPhaseCenterSystem()Get satellite system for average phase center.List<PhaseShiftCorrection>getPhaseShiftCorrections()Get the list of phase shift correction used to generate phases consistent w/r to cycle shifts.StringgetReceiverNumber()Get the number of the receiver.StringgetReceiverType()Get the type of the receiver.StringgetReceiverVersion()Get the version of the receiver.List<ScaleFactorCorrection>getScaleFactorCorrections(SatelliteSystem satelliteSystem)Get the list of scale factor correction.StringgetSignalStrengthUnit()Get the unit of the carrier to noise ratio observables.AbsoluteDategetTFirstObs()Get the time of First observation record.AbsoluteDategetTLastObs()Get the time of last observation record.Map<SatelliteSystem,List<ObservationType>>getTypeObs()Get an unmodifiable view of the map of observation types.voidsetAgencyName(String agencyName)Setter for the agency name.voidsetAntennaAzimuth(double antennaAzimuth)Set the azimuth of the zero direction of a fixed antenna.voidsetAntennaBSight(Vector3D antennaBSight)Set the antenna B.Sight.voidsetAntennaHeight(double antennaHeight)Set the antenna height.voidsetAntennaNumber(String antennaNumber)Set the number of the antenna.voidsetAntennaPhaseCenter(Vector3D antennaPhaseCenter)Set the antenna phasecenter.voidsetAntennaReferencePoint(Vector3D refPoint)Set the position of antenna reference point for antenna on vehicle.voidsetAntennaType(String antennaType)Set the type of the antenna.voidsetAntennaZeroDirection(Vector3D antennaZeroDirection)Set the zero direction of antenna.voidsetApproxPos(Vector3D approxPos)Set the Approximate Marker Position.voidsetC1cCodePhaseBias(double c1cCodePhaseBias)Set the code phase bias correction for GLONASSPredefinedObservationType.C1Csignal.voidsetC1pCodePhaseBias(double c1pCodePhaseBias)Set the code phase bias correction for GLONASSPredefinedObservationType.C1Psignal.voidsetC2cCodePhaseBias(double c2cCodePhaseBias)Set the code phase bias correction for GLONASSPredefinedObservationType.C2Csignal.voidsetC2pCodePhaseBias(double c2pCodePhaseBias)Set the code phase bias correction for GLONASSPredefinedObservationType.C2Psignal.voidsetCenterMass(Vector3D centerMass)Set the current center of mass of vehicle in body fixed coordinate system.voidsetClockOffsetApplied(boolean clockOffsetApplied)Set the application flag for realtime-derived receiver clock offset.voidsetEccentricities(Vector2D eccentricities)Set the eccentricities of antenna center.voidsetInterval(double interval)Set the observation interval in seconds.voidsetLeapSeconds(int leapSeconds)Set the Number of leap seconds since 6-Jan-1980.voidsetLeapSecondsDayNum(int leapSecondsDayNum)Set the respective leap second day number.voidsetLeapSecondsFuture(int leapSecondsFuture)Set the future or past leap seconds.voidsetLeapSecondsWeekNum(int leapSecondsWeekNum)Set the respective leap second week number.voidsetMarkerName(String markerName)Set name of the antenna marker.voidsetMarkerNumber(String markerNumber)Set number of the antenna marker.voidsetMarkerType(String markerType)Set type of the antenna marker.voidsetNbObsPerSatellite(SatInSystem sat, ObservationType type, int nbObs)Set number of observations for a satellite.voidsetNbSat(int nbSat)Set number of satellites.voidsetObservationCode(String observationCode)Set the observation code of the average phasecenter position w/r to antenna reference point.voidsetObserverName(String observerName)Set name of the observer.voidsetPhaseCenterSystem(SatelliteSystem phaseCenterSystem)Set satellite system for average phase center.voidsetReceiverNumber(String receiverNumber)Set the number of the receiver.voidsetReceiverType(String receiverType)Set the type of the receiver.voidsetReceiverVersion(String receiverVersion)Set the version of the receiver.voidsetSignalStrengthUnit(String signalStrengthUnit)Set the unit of the carrier to noise ratio observables.voidsetTFirstObs(AbsoluteDate firstObs)Set the time of First observation record.voidsetTLastObs(AbsoluteDate lastObs)Set the time of last observation record.voidsetTypeObs(SatelliteSystem system, List<ObservationType> types)Set number of observations for a satellite.-
Methods inherited from class org.orekit.files.rinex.section.RinexBaseHeader
getCreationDate, getCreationDateComponents, getCreationTimeZone, getDoi, getFileType, getFormatVersion, getLicense, getProgramName, getRunByName, getSatelliteSystem, getStationInformation, setCreationDate, setCreationDateComponents, setCreationTimeZone, setDoi, setFormatVersion, setLicense, setProgramName, setRunByName, setSatelliteSystem, setStationInformation
-
-
-
-
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
-
setClockOffsetApplied
public void setClockOffsetApplied(boolean clockOffsetApplied)
Set the application flag for realtime-derived receiver clock offset.- Parameters:
clockOffsetApplied- application flag for realtime-derived receiver clock offset- Since:
- 12.1
-
getClockOffsetApplied
public boolean getClockOffsetApplied()
Get the application flag for realtime-derived receiver clock offset.- Returns:
- application flag for realtime-derived receiver clock offset
- Since:
- 12.1
-
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 appliesscaleFactorCorrection- 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- satellitetype- observation typenbObs- 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 systemtypes- 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 GLONASSPredefinedObservationType.C1Csignal.- Parameters:
c1cCodePhaseBias- code phase bias correction for GLONASSPredefinedObservationType.C1Csignal- Since:
- 12.0
-
getC1cCodePhaseBias
public double getC1cCodePhaseBias()
Get the code phase bias correction for GLONASSPredefinedObservationType.C1Csignal.- Returns:
- code phase bias correction for GLONASS
PredefinedObservationType.C1Csignal - Since:
- 12.0
-
setC1pCodePhaseBias
public void setC1pCodePhaseBias(double c1pCodePhaseBias)
Set the code phase bias correction for GLONASSPredefinedObservationType.C1Psignal.- Parameters:
c1pCodePhaseBias- code phase bias correction for GLONASSPredefinedObservationType.C1Psignal- Since:
- 12.0
-
getC1pCodePhaseBias
public double getC1pCodePhaseBias()
Get the code phase bias correction for GLONASSPredefinedObservationType.C1Psignal.- Returns:
- code phase bias correction for GLONASS
PredefinedObservationType.C1Psignal - Since:
- 12.0
-
setC2cCodePhaseBias
public void setC2cCodePhaseBias(double c2cCodePhaseBias)
Set the code phase bias correction for GLONASSPredefinedObservationType.C2Csignal.- Parameters:
c2cCodePhaseBias- code phase bias correction for GLONASSPredefinedObservationType.C2Csignal- Since:
- 12.0
-
getC2cCodePhaseBias
public double getC2cCodePhaseBias()
Get the code phase bias correction for GLONASSPredefinedObservationType.C2Csignal.- Returns:
- code phase bias correction for GLONASS
PredefinedObservationType.C2Csignal - Since:
- 12.0
-
setC2pCodePhaseBias
public void setC2pCodePhaseBias(double c2pCodePhaseBias)
Set the code phase bias correction for GLONASSPredefinedObservationType.C2Psignal.- Parameters:
c2pCodePhaseBias- code phase bias correction for GLONASSPredefinedObservationType.C2Psignal- Since:
- 12.0
-
getC2pCodePhaseBias
public double getC2pCodePhaseBias()
Get the code phase bias correction for GLONASSPredefinedObservationType.C2Psignal.- Returns:
- code phase bias correction for GLONASS
PredefinedObservationType.C2Psignal - Since:
- 12.0
-
-