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 Deprecated Methods Modifier and Type Method Description void
addAppliedDCBS(AppliedDCBS appliedDCBS)
Add applied differential code bias corrections.void
addAppliedPCVS(AppliedPCVS appliedPCVS)
Add antenna center variation corrections.void
addGlonassChannel(GlonassSatelliteChannel glonassChannel)
Add GLONASS satellite/channel association.void
addPhaseShiftCorrection(PhaseShiftCorrection phaseShiftCorrection)
Add phase shift correction used to generate phases consistent w/r to cycle shifts.void
addScaleFactorCorrection(SatelliteSystem satelliteSystem, ScaleFactorCorrection scaleFactorCorrection)
Add scale factor correction.String
getAgencyName()
Get name of the agency.double
getAntennaAzimuth()
Get the azimuth of the zero direction of a fixed antenna.Vector3D
getAntennaBSight()
Get the antenna B.Sight.double
getAntennaHeight()
Get the antenna height.String
getAntennaNumber()
Get the number of the antenna.Vector3D
getAntennaPhaseCenter()
Get the antenna phasecenter.Vector3D
getAntennaReferencePoint()
Get the position of antenna reference point for antenna on vehicle.String
getAntennaType()
Get the type of the antenna.Vector3D
getAntennaZeroDirection()
Get the zero direction of antenna.Vector3D
getApproxPos()
Get the Approximate Marker Position.double
getC1cCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.C1C
signal.double
getC1pCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.C1P
signal.double
getC2cCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.C2C
signal.double
getC2pCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.C2P
signal.Vector3D
getCenterMass()
Get the current center of mass of vehicle in body fixed coordinate system.int
getClkOffset()
Deprecated.as of 12.1, replaced by #@linkgetClockOffsetApplied()
boolean
getClockOffsetApplied()
Get the application flag for realtime-derived receiver clock offset.Vector2D
getEccentricities()
Get the eccentricities of antenna center.List<GlonassSatelliteChannel>
getGlonassChannels()
Get the list of GLONASS satellite/channel associations.double
getInterval()
Get the observation interval in seconds.int
getLeapSeconds()
Get the Number of leap seconds since 6-Jan-1980.int
getLeapSecondsDayNum()
Get the respective leap second day number.int
getLeapSecondsFuture()
Get the future or past leap seconds.int
getLeapSecondsWeekNum()
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.String
getMarkerName()
Get name of the antenna marker.String
getMarkerNumber()
Get number of the antenna marker.String
getMarkerType()
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.int
getNbSat()
Get number of satellites.String
getObservationCode()
Get the observation code of the average phasecenter position w/r to antenna reference point.String
getObserverName()
Get name of the observer.SatelliteSystem
getPhaseCenterSystem()
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.String
getReceiverNumber()
Get the number of the receiver.String
getReceiverType()
Get the type of the receiver.String
getReceiverVersion()
Get the version of the receiver.List<ScaleFactorCorrection>
getScaleFactorCorrections(SatelliteSystem satelliteSystem)
Get the list of scale factor correction.String
getSignalStrengthUnit()
Get the unit of the carrier to noise ratio observables.AbsoluteDate
getTFirstObs()
Get the time of First observation record.AbsoluteDate
getTLastObs()
Get the time of last observation record.Map<SatelliteSystem,List<ObservationType>>
getTypeObs()
Get an unmodifiable view of the map of observation types.void
setAgencyName(String agencyName)
Setter for the agency name.void
setAntennaAzimuth(double antennaAzimuth)
Set the azimuth of the zero direction of a fixed antenna.void
setAntennaBSight(Vector3D antennaBSight)
Set the antenna B.Sight.void
setAntennaHeight(double antennaHeight)
Set the antenna height.void
setAntennaNumber(String antennaNumber)
Set the number of the antenna.void
setAntennaPhaseCenter(Vector3D antennaPhaseCenter)
Set the antenna phasecenter.void
setAntennaReferencePoint(Vector3D refPoint)
Set the position of antenna reference point for antenna on vehicle.void
setAntennaType(String antennaType)
Set the type of the antenna.void
setAntennaZeroDirection(Vector3D antennaZeroDirection)
Set the zero direction of antenna.void
setApproxPos(Vector3D approxPos)
Set the Approximate Marker Position.void
setC1cCodePhaseBias(double c1cCodePhaseBias)
Set the code phase bias correction for GLONASSObservationType.C1C
signal.void
setC1pCodePhaseBias(double c1pCodePhaseBias)
Set the code phase bias correction for GLONASSObservationType.C1P
signal.void
setC2cCodePhaseBias(double c2cCodePhaseBias)
Set the code phase bias correction for GLONASSObservationType.C2C
signal.void
setC2pCodePhaseBias(double c2pCodePhaseBias)
Set the code phase bias correction for GLONASSObservationType.C2P
signal.void
setCenterMass(Vector3D centerMass)
Set the current center of mass of vehicle in body fixed coordinate system.void
setClkOffset(int clkOffset)
Deprecated.as of 12.1, replaced bysetClockOffsetApplied(boolean)
void
setClockOffsetApplied(boolean clockOffsetApplied)
Set the application flag for realtime-derived receiver clock offset.void
setEccentricities(Vector2D eccentricities)
Set the eccentricities of antenna center.void
setInterval(double interval)
Set the observation interval in seconds.void
setLeapSeconds(int leapSeconds)
Set the Number of leap seconds since 6-Jan-1980.void
setLeapSecondsDayNum(int leapSecondsDayNum)
Set the respective leap second day number.void
setLeapSecondsFuture(int leapSecondsFuture)
Set the future or past leap seconds.void
setLeapSecondsWeekNum(int leapSecondsWeekNum)
Set the respective leap second week number.void
setMarkerName(String markerName)
Set name of the antenna marker.void
setMarkerNumber(String markerNumber)
Set number of the antenna marker.void
setMarkerType(String markerType)
Set type of the antenna marker.void
setNbObsPerSatellite(SatInSystem sat, ObservationType type, int nbObs)
Set number of observations for a satellite.void
setNbSat(int nbSat)
Set number of satellites.void
setObservationCode(String observationCode)
Set the observation code of the average phasecenter position w/r to antenna reference point.void
setObserverName(String observerName)
Set name of the observer.void
setPhaseCenterSystem(SatelliteSystem phaseCenterSystem)
Set satellite system for average phase center.void
setReceiverNumber(String receiverNumber)
Set the number of the receiver.void
setReceiverType(String receiverType)
Set the type of the receiver.void
setReceiverVersion(String receiverVersion)
Set the version of the receiver.void
setSignalStrengthUnit(String signalStrengthUnit)
Set the unit of the carrier to noise ratio observables.void
setTFirstObs(AbsoluteDate firstObs)
Set the time of First observation record.void
setTLastObs(AbsoluteDate lastObs)
Set the time of last observation record.void
setTypeObs(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
-
setClkOffset
@Deprecated public void setClkOffset(int clkOffset)
Deprecated.as of 12.1, replaced bysetClockOffsetApplied(boolean)
Set the realtime-derived receiver clock offset.- Parameters:
clkOffset
- realtime-derived receiver clock offset
-
getClkOffset
@Deprecated public int getClkOffset()
Deprecated.as of 12.1, replaced by #@linkgetClockOffsetApplied()
Get the realtime-derived receiver clock offset.- Returns:
- realtime-derived receiver clock offset
-
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 GLONASSObservationType.C1C
signal.- Parameters:
c1cCodePhaseBias
- code phase bias correction for GLONASSObservationType.C1C
signal- Since:
- 12.0
-
getC1cCodePhaseBias
public double getC1cCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.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 GLONASSObservationType.C1P
signal.- Parameters:
c1pCodePhaseBias
- code phase bias correction for GLONASSObservationType.C1P
signal- Since:
- 12.0
-
getC1pCodePhaseBias
public double getC1pCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.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 GLONASSObservationType.C2C
signal.- Parameters:
c2cCodePhaseBias
- code phase bias correction for GLONASSObservationType.C2C
signal- Since:
- 12.0
-
getC2cCodePhaseBias
public double getC2cCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.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 GLONASSObservationType.C2P
signal.- Parameters:
c2pCodePhaseBias
- code phase bias correction for GLONASSObservationType.C2P
signal- Since:
- 12.0
-
getC2pCodePhaseBias
public double getC2pCodePhaseBias()
Get the code phase bias correction for GLONASSObservationType.C2P
signal.- Returns:
- code phase bias correction for GLONASS
ObservationType.C2P
signal - Since:
- 12.0
-
-