Package org.orekit.files.ilrs
Class CRDHeader
- java.lang.Object
-
- org.orekit.files.ilrs.ILRSHeader
-
- org.orekit.files.ilrs.CRDHeader
-
public class CRDHeader extends ILRSHeader
Container for Consolidated laser ranging Data Format (CDR) header.- Since:
- 10.3
- Author:
- Bryan Cazabonne, Rongwang Li
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCRDHeader.DataTypeData type for CRD data.static classCRDHeader.RangeTypeRange type for SLR data.
-
Field Summary
Fields Modifier and Type Field Description static PatternPATTERN_DATETIME_DELIMITER_REGEXPattern of delimiter of datetime.
-
Constructor Summary
Constructors Constructor Description CRDHeader()Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataReleaseFlag()Get the flag indicating the data release.intgetDataType()Get the data type.StringgetDateAndTime()Get the date and time as the string value.intgetEpochIdentifier()Get the epoch identifier.StringgetH1CrdString()Get a string representation of the H1 in the CRD format.StringgetH2CrdString()Get a string representation of the H2 in the CRD format.StringgetH3CrdString()Get a string representation of the H3 in the CRD format.StringgetH4CrdString()Get a string representation of the H4 in the CRD format.StringgetH5CrdString()Get a string representation of the H5 in the CRD format.StringgetPredictionProvider()Get the prediction provider.intgetPredictionType()Get the prediction type (CPF or TLE).intgetQualityIndicator()Get the data quality indicator.CRDHeader.RangeTypegetRangeType()Get the range type.intgetSpacecraftEpochTimeScale()Get the spacecraft epoch time scale.StringgetStationName()Get the station name from official list.StringgetStationNetword()Get the station network.intgetSystemIdentifier()Get the system identifier.intgetSystemNumber()Get the system number.intgetSystemOccupancy()Get the system occupancy.intgetYearOfCentury()Get the year of century from CPF or TLE.booleanisCenterOfMassCorrectionApplied()Get the center of mass correction applied indicator.booleanisReceiveAmplitudeCorrectionApplied()Get the receive amplitude correction applied indicator.booleanisStationSystemDelayApplied()Get the station system delay applied indicator.booleanisTransponderDelayApplied()Get the spacecraft system delay applied (transponders) indicator.booleanisTroposphericRefractionApplied()Get the tropospheric refraction correction applied indicator.voidsetDataReleaseFlag(int dataReleaseFlag)Set the flag indicating the data release.voidsetDataType(int dataType)Set the data type.voidsetDateAndTime(String dateAndTime)Set the string value of date and time.voidsetEpochIdentifier(int epochIdentifier)Set the epoch identifier.voidsetIsCenterOfMassCorrectionApplied(boolean isCenterOfMassCorrectionApplied)Set the center of mass correction applied indicator.voidsetIsReceiveAmplitudeCorrectionApplied(boolean isReceiveAmplitudeCorrectionApplied)Set the receive amplitude correction applied indicator.voidsetIsStationSystemDelayApplied(boolean isStationSystemDelayApplied)Set the station system delay applied indicator.voidsetIsTransponderDelayApplied(boolean isTransponderDelayApplied)Set the spacecraft system delay applied (transponders) indicator.voidsetIsTroposphericRefractionApplied(boolean isTroposphericRefractionApplied)Set the tropospheric refraction correction applied indicator.voidsetPredictionProvider(String predictionProvider)Set the prediction provider.voidsetPredictionType(int predictionType)Set the prediction type.voidsetQualityIndicator(int qualityIndicator)Set the data quality indicator.voidsetRangeType(int indicator)Set the range type indicator.voidsetSpacecraftEpochTimeScale(int spacecraftEpochTimeScale)Set the spacecraft epoch time scale.voidsetStationName(String stationName)Set the station name from official list.voidsetStationNetword(String stationNetword)Set the station network.voidsetSystemIdentifier(int systemIdentifier)Set the system identifier.voidsetSystemNumber(int systemNumber)Set the system number.voidsetSystemOccupancy(int systemOccupancy)Set the system occupancy.voidsetYearOfCentury(int yearOfCentury)Set the year of century from CPF or TLE.-
Methods inherited from class org.orekit.files.ilrs.ILRSHeader
getEndEpoch, getFormat, getIlrsSatelliteId, getName, getNoradId, getProductionEpoch, getProductionHour, getSequenceNumber, getSic, getStartEpoch, getTargetClass, getTargetLocation, getVersion, setEndEpoch, setFormat, setIlrsSatelliteId, setName, setNoradId, setProductionEpoch, setProductionHour, setSequenceNumber, setSic, setStartEpoch, setTargetClass, setTargetLocation, setVersion
-
-
-
-
Field Detail
-
PATTERN_DATETIME_DELIMITER_REGEX
public static final Pattern PATTERN_DATETIME_DELIMITER_REGEX
Pattern of delimiter of datetime.
-
-
Method Detail
-
getStationName
public String getStationName()
Get the station name from official list.- Returns:
- the station name from official list
-
setStationName
public void setStationName(String stationName)
Set the station name from official list.- Parameters:
stationName- the station name to set
-
getSystemIdentifier
public int getSystemIdentifier()
Get the system identifier.- Returns:
- the system identifier
-
setSystemIdentifier
public void setSystemIdentifier(int systemIdentifier)
Set the system identifier.- Parameters:
systemIdentifier- the system identifier to set
-
getSystemNumber
public int getSystemNumber()
Get the system number.- Returns:
- the system number
-
setSystemNumber
public void setSystemNumber(int systemNumber)
Set the system number.- Parameters:
systemNumber- the system number to set
-
getSystemOccupancy
public int getSystemOccupancy()
Get the system occupancy.- Returns:
- the system occupancy
-
setSystemOccupancy
public void setSystemOccupancy(int systemOccupancy)
Set the system occupancy.- Parameters:
systemOccupancy- the system occupancy to set
-
getEpochIdentifier
public int getEpochIdentifier()
Get the epoch identifier.3 = UTC (UNSO) ; 4 = UTC (GPS) ; 7 = UTC (BIPM) ; 10 = UTC (Station Time Scale)
- Returns:
- the epoch identifier
-
setEpochIdentifier
public void setEpochIdentifier(int epochIdentifier)
Set the epoch identifier.- Parameters:
epochIdentifier- the epoch identifier to set
-
getStationNetword
public String getStationNetword()
Get the station network.- Returns:
- the station network
-
setStationNetword
public void setStationNetword(String stationNetword)
Set the station network.- Parameters:
stationNetword- the station network to set
-
getSpacecraftEpochTimeScale
public int getSpacecraftEpochTimeScale()
Get the spacecraft epoch time scale.- Returns:
- the spacecraft epoch time scale
-
setSpacecraftEpochTimeScale
public void setSpacecraftEpochTimeScale(int spacecraftEpochTimeScale)
Set the spacecraft epoch time scale.- Parameters:
spacecraftEpochTimeScale- the spacecraft epoch time scale to set
-
getDataType
public int getDataType()
Get the data type.0 = full rate ; 1 = normal point ; 2 = sampled engineering
- Returns:
- the data type
-
setDataType
public void setDataType(int dataType)
Set the data type.- Parameters:
dataType- the data type to set
-
getDataReleaseFlag
public int getDataReleaseFlag()
Get the flag indicating the data release.- Returns:
- the flag indicating the data release
-
setDataReleaseFlag
public void setDataReleaseFlag(int dataReleaseFlag)
Set the flag indicating the data release.- Parameters:
dataReleaseFlag- the flag to set
-
isTroposphericRefractionApplied
public boolean isTroposphericRefractionApplied()
Get the tropospheric refraction correction applied indicator.- Returns:
- true if tropospheric refraction correction is applied
-
setIsTroposphericRefractionApplied
public void setIsTroposphericRefractionApplied(boolean isTroposphericRefractionApplied)
Set the tropospheric refraction correction applied indicator.- Parameters:
isTroposphericRefractionApplied- true if tropospheric refraction correction is applied
-
isCenterOfMassCorrectionApplied
public boolean isCenterOfMassCorrectionApplied()
Get the center of mass correction applied indicator.- Returns:
- true if center of mass correction is applied
-
setIsCenterOfMassCorrectionApplied
public void setIsCenterOfMassCorrectionApplied(boolean isCenterOfMassCorrectionApplied)
Set the center of mass correction applied indicator.- Parameters:
isCenterOfMassCorrectionApplied- true if center of mass correction is applied
-
isReceiveAmplitudeCorrectionApplied
public boolean isReceiveAmplitudeCorrectionApplied()
Get the receive amplitude correction applied indicator.- Returns:
- true if receive amplitude correction is applied
-
setIsReceiveAmplitudeCorrectionApplied
public void setIsReceiveAmplitudeCorrectionApplied(boolean isReceiveAmplitudeCorrectionApplied)
Set the receive amplitude correction applied indicator.- Parameters:
isReceiveAmplitudeCorrectionApplied- true if receive amplitude correction is applied
-
isStationSystemDelayApplied
public boolean isStationSystemDelayApplied()
Get the station system delay applied indicator.- Returns:
- true if station system delay is applied
-
setIsStationSystemDelayApplied
public void setIsStationSystemDelayApplied(boolean isStationSystemDelayApplied)
Set the station system delay applied indicator.- Parameters:
isStationSystemDelayApplied- true if station system delay is applied
-
isTransponderDelayApplied
public boolean isTransponderDelayApplied()
Get the spacecraft system delay applied (transponders) indicator.- Returns:
- true if transponder delay is applied
-
setIsTransponderDelayApplied
public void setIsTransponderDelayApplied(boolean isTransponderDelayApplied)
Set the spacecraft system delay applied (transponders) indicator.- Parameters:
isTransponderDelayApplied- true if transponder delay is applied
-
getRangeType
public CRDHeader.RangeType getRangeType()
Get the range type.- Returns:
- the range type
-
setRangeType
public void setRangeType(int indicator)
Set the range type indicator.- Parameters:
indicator- range type indicator
-
getQualityIndicator
public int getQualityIndicator()
Get the data quality indicator.- Returns:
- the data quality indicator
-
setQualityIndicator
public void setQualityIndicator(int qualityIndicator)
Set the data quality indicator.- Parameters:
qualityIndicator- the indicator to set
-
getPredictionType
public int getPredictionType()
Get the prediction type (CPF or TLE).- Returns:
- the prediction type
-
setPredictionType
public void setPredictionType(int predictionType)
Set the prediction type.- Parameters:
predictionType- the prediction type to set
-
getYearOfCentury
public int getYearOfCentury()
Get the year of century from CPF or TLE.- Returns:
- the year of century from CPF or TLE
-
setYearOfCentury
public void setYearOfCentury(int yearOfCentury)
Set the year of century from CPF or TLE.- Parameters:
yearOfCentury- the year of century to set
-
getDateAndTime
public String getDateAndTime()
Get the date and time as the string value.Depending the prediction type, this value can represent the CPF starting date and hour (MMDDHH) from CPF H2 record or TLE epoch day/fractional day
- Returns:
- the date and time as the string value
-
setDateAndTime
public void setDateAndTime(String dateAndTime)
Set the string value of date and time.- Parameters:
dateAndTime- the date and time to set
-
getPredictionProvider
public String getPredictionProvider()
Get the prediction provider.- Returns:
- the preditction provider
-
setPredictionProvider
public void setPredictionProvider(String predictionProvider)
Set the prediction provider.- Parameters:
predictionProvider- the prediction provider to set
-
getH1CrdString
public String getH1CrdString()
Get a string representation of the H1 in the CRD format.- Returns:
- a string representation of the H1, in the CRD format.
- Since:
- 12.0
-
getH2CrdString
public String getH2CrdString()
Get a string representation of the H2 in the CRD format.- Returns:
- a string representation of the H2, in the CRD format.
- Since:
- 12.0
-
getH3CrdString
public String getH3CrdString()
Get a string representation of the H3 in the CRD format.- Returns:
- a string representation of the H3, in the CRD format.
- Since:
- 12.0
-
getH4CrdString
@DefaultDataContext public String getH4CrdString()
Get a string representation of the H4 in the CRD format.- Returns:
- a string representation of the H4, in the CRD format.
- Since:
- 12.0
-
getH5CrdString
public String getH5CrdString()
Get a string representation of the H5 in the CRD format.- Returns:
- a string representation of the H5, in the CRD format.
- Since:
- 12.0
-
-