Class CRDHeader


  • public class CRDHeader
    extends ILRSHeader
    Container for Consolidated laser ranging Data Format (CDR) header.
    Since:
    10.3
    Author:
    Bryan Cazabonne, Rongwang Li
    • Field Detail

      • PATTERN_DATETIME_DELIMITER_REGEX

        public static final Pattern PATTERN_DATETIME_DELIMITER_REGEX
        Pattern of delimiter of datetime.
    • Constructor Detail

      • CRDHeader

        public CRDHeader()
        Empty constructor.

        This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

        Since:
        12.0
    • 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