Class RinexNavigationHeader
java.lang.Object
org.orekit.files.rinex.section.RinexBaseHeader
org.orekit.files.rinex.navigation.RinexNavigationHeader
Header for Rinex Navigation.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIonosphericCorrection(IonosphericCorrection ionosphericCorrection) Add a ionospheric correction.voidaddTimeSystemCorrections(TimeSystemCorrection timeSystemCorrection) Add a time system correction to the list.voidCheck file type.Getter for the ionospheric corrections.intGet the index of the header label.intGetter for the number of merged files.Getter for the time system corrections contained in the file header.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.voidsetMergedFiles(int mergedFiles) Setter for the number of merged files.Methods 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
-
RinexNavigationHeader
public RinexNavigationHeader()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
-
getIonosphericCorrections
Getter for the ionospheric corrections.- Returns:
- the ionospheric corrections
-
getTimeSystemCorrections
Getter for the time system corrections contained in the file header.Corrections to transform the system time to UTC or oter time system.
- Returns:
- the list of time system corrections
-
getMergedFiles
public int getMergedFiles()Getter for the number of merged files.- Returns:
- the number of merged files
-
setMergedFiles
public void setMergedFiles(int mergedFiles) Setter for the number of merged files.- Parameters:
mergedFiles- the number of merged files
-
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
-