Class RinexObservationHeader
java.lang.Object
org.orekit.files.rinex.section.RinexBaseHeader
org.orekit.files.rinex.section.RinexClockObsBaseHeader
org.orekit.files.rinex.observation.RinexObservationHeader
Container for Rinex observation file header.
- Since:
- 9.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGlonassChannel(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.voidCheck file type.Get name of the agency.doubleGet the azimuth of the zero direction of a fixed antenna.Get the antenna B.Sight.doubleGet the antenna height.Get the number of the antenna.Get the antenna phasecenter.Get the position of antenna reference point for antenna on vehicle.Get the type of the antenna.Get the zero direction of antenna.Get the Approximate Marker Position.doubleGet the code phase bias correction for GLONASSPredefinedObservationType.C1Csignal.doubleGet the code phase bias correction for GLONASSPredefinedObservationType.C1Psignal.doubleGet the code phase bias correction for GLONASSPredefinedObservationType.C2Csignal.doubleGet the code phase bias correction for GLONASSPredefinedObservationType.C2Psignal.Get the current center of mass of vehicle in body fixed coordinate system.booleanGet the application flag for realtime-derived receiver clock offset.Get the eccentricities of antenna center.Get the list of GLONASS satellite/channel associations.doubleGet the observation interval in seconds.intGet the index of the header label.Get name of the antenna marker.Get number of the antenna marker.Get type of the antenna marker.Get an unmodifiable view of the map of number of observations per satellites.intgetNbSat()Get number of satellites.Get the observation code of the average phasecenter position w/r to antenna reference point.Get name of the observer.Get satellite system for average phase center.Get the list of phase shift correction used to generate phases consistent w/r to cycle shifts.getScaleFactorCorrections(SatelliteSystem satelliteSystem) Get the list of scale factor correction.Get the unit of the carrier to noise ratio observables.Get the time of First observation record.Get the time of last observation record.booleanmatchFound(Label label, String line) Check if a label is found in a line.voidparseProgramRunByDate(String line, TimeScales timeScales) Parse program, run/by and date.parseSatelliteSystem(String line, SatelliteSystem defaultSatelliteSystem) Parse satellite system.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.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, String 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.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.Methods inherited from class org.orekit.files.rinex.section.RinexClockObsBaseHeader
addAppliedDCBS, addAppliedPCVS, getListAppliedDCBS, getListAppliedPCVS, getTypeObs, setTypeObsMethods inherited from class org.orekit.files.rinex.section.RinexBaseHeader
checkType, getCreationDate, getCreationDateComponents, getCreationTimeZone, getDoi, getFileType, getFormatVersion, getLeapSecondsDayNum, getLeapSecondsFuture, getLeapSecondsGNSS, getLeapSecondsWeekNum, getLicense, getProgramName, getReceiverNumber, getReceiverType, getReceiverVersion, getRunByName, getSatelliteSystem, getStationInformation, parseProgramRunByDate, parseVersionFileTypeSatelliteSystem, setCreationDate, setCreationDateComponents, setCreationTimeZone, setDoi, setFormatVersion, setLeapSecondsDayNum, setLeapSecondsFuture, setLeapSecondsGNSS, setLeapSecondsWeekNum, setLicense, setProgramName, setReceiverNumber, setReceiverType, setReceiverVersion, setRunByName, setSatelliteSystem, setStationInformation
-
Field Details
-
LABEL_INDEX
public static final int LABEL_INDEXIndex of label in header lines.- See Also:
-
-
Constructor Details
-
RinexObservationHeader
public RinexObservationHeader()Simple constructor.
-
-
Method Details
-
parseSatelliteSystem
Parse satellite system.- Specified by:
parseSatelliteSystemin classRinexBaseHeader- Parameters:
line- header linedefaultSatelliteSystem- satellite system to use if string is null or empty- Returns:
- parsed satellite system
-
parseProgramRunByDate
Parse program, run/by and date.- Specified by:
parseProgramRunByDatein classRinexBaseHeader- Parameters:
line- line to parsetimeScales- the set of time scales used for parsing dates
-
setMarkerName
Set name of the antenna marker.- Parameters:
markerName- name of the antenna marker
-
getMarkerName
Get name of the antenna marker.- Returns:
- name of the antenna marker
-
setMarkerNumber
Set number of the antenna marker.- Parameters:
markerNumber- number of the antenna marker
-
getMarkerNumber
Get number of the antenna marker.- Returns:
- number of the antenna marker
-
setObserverName
Set name of the observer.- Parameters:
observerName- name of the observer
-
getObserverName
Get name of the observer.- Returns:
- name of the observer
-
setAgencyName
Setter for the agency name.- Parameters:
agencyName- the agency name to set
-
getAgencyName
Get name of the agency.- Returns:
- name of the agency
-
setAntennaNumber
Set the number of the antenna.- Parameters:
antennaNumber- number of the antenna
-
getAntennaNumber
Get the number of the antenna.- Returns:
- number of the antenna
-
setAntennaType
Set the type of the antenna.- Parameters:
antennaType- type of the antenna
-
getAntennaType
Get the type of the antenna.- Returns:
- type of the antenna
-
setApproxPos
Set the Approximate Marker Position.- Parameters:
approxPos- Approximate Marker Position
-
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
Set the eccentricities of antenna center.- Parameters:
eccentricities- Eccentricities of antenna center
-
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
Set the time of First observation record.- Parameters:
firstObs- Time of First observation record
-
getTFirstObs
Get the time of First observation record.- Returns:
- Time of First observation record
-
setTLastObs
Set the time of last observation record.- Parameters:
lastObs- Time of last observation record
-
getTLastObs
Get the time of last observation record.- Returns:
- Time of last observation record
-
setMarkerType
Set type of the antenna marker.- Parameters:
markerType- type of the antenna marker
-
getMarkerType
Get type of the antenna marker.- Returns:
- type of the antenna marker
-
setAntennaReferencePoint
Set the position of antenna reference point for antenna on vehicle.- Parameters:
refPoint- Position of antenna reference point for antenna on vehicle
-
getAntennaReferencePoint
Get the position of antenna reference point for antenna on vehicle.- Returns:
- Position of antenna reference point for antenna on vehicle
-
setPhaseCenterSystem
Set satellite system for average phase center.- Parameters:
phaseCenterSystem- satellite system for average phase center- Since:
- 12.0
-
getPhaseCenterSystem
Get satellite system for average phase center.- Returns:
- satellite system for average phase center
- Since:
- 12.0
-
setObservationCode
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
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
Set the antenna phasecenter.- Parameters:
antennaPhaseCenter- Antenna phasecenter
-
getAntennaPhaseCenter
Get the antenna phasecenter.- Returns:
- Antenna phasecenter
-
setAntennaBSight
Set the antenna B.Sight.- Parameters:
antennaBSight- Antenna B.Sight
-
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
Set the zero direction of antenna.- Parameters:
antennaZeroDirection- Zero direction of antenna
-
getAntennaZeroDirection
Get the zero direction of antenna.- Returns:
- Zero direction of antenna
-
setCenterMass
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
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
Set the unit of the carrier to noise ratio observables.- Parameters:
signalStrengthUnit- Unit of the carrier to noise ratio observables
-
getSignalStrengthUnit
Get the unit of the carrier to noise ratio observables.- Returns:
- Unit of the carrier to noise ratio observables
-
addPhaseShiftCorrection
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
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
Get the list of scale factor correction.- Parameters:
satelliteSystem- system to which this scaling factor applies- Returns:
- List of scale factor correction
-
addGlonassChannel
Add GLONASS satellite/channel association.- Parameters:
glonassChannel- GLONASS satellite/channel association- Since:
- 12.0
-
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
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
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
-
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
-
checkType
Check file type.- Specified by:
checkTypein classRinexBaseHeader- Parameters:
line- header linename- file name (for error message)
-
getLabelIndex
public int getLabelIndex()Get the index of the header label.- Specified by:
getLabelIndexin classRinexBaseHeader- Returns:
- index of the header label
-
matchFound
Check if a label is found in a line.- Specified by:
matchFoundin classRinexBaseHeader- Parameters:
label- label to checkline- header line- Returns:
- true if label is found in the header line
-