<?xml version="1.0"?>
<cd:Record xmlns:cd="http://www.stcorp.nl/coda/definition/2008/07" xmlns:ct="http://www.stcorp.nl/coda/test/2008/10" format="binary" last-modified="2017-09-08" name="Level_1A_Data_Quality_ADSR_04_04">
  <cd:Field name="start_of_observation_time">
    <cd:Time timeformat="binary_envisat_datetime">
      <cd:Description>Start time at start of BRC</cd:Description>
    </cd:Time>
    <ct:NamedTest id="RangeSecond" path="seconds"/>
    <ct:NamedTest id="RangeMicroSecond" path="microseconds"/>
  </cd:Field>
  <cd:Field name="observation_validity_indicator">
    <cd:Integer>
      <cd:Description>TRUE = some critical BRC source packets invalid; FALSE = All critical BRC SP invalid</cd:Description>
      <cd:BitSize>8</cd:BitSize>
      <cd:NativeType>uint8</cd:NativeType>
    </cd:Integer>
    <ct:NamedTest id="BooleanBinTest"/>
  </cd:Field>
  <cd:Field name="measurement_validity_indicator">
    <cd:Array>
      <cd:Dimension>30</cd:Dimension>
      <cd:Record>
        <cd:Description>Level 1A Measurement Validity Indicator</cd:Description>
        <cd:Field name="measurement_data_present">
          <cd:Integer>
            <cd:Description>TRUE = Measurement data is present in BRC. FALSE = SID (measurement index + 4) missing</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
          </cd:Integer>
          <ct:NamedTest id="BooleanBinTest"/>
        </cd:Field>
        <cd:Field name="mie_measurement_sp_valid">
          <cd:Integer>
            <cd:Description>TRUE = Mie Measurement Source Packet Valid</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
          </cd:Integer>
          <ct:NamedTest id="BooleanBinTest"/>
        </cd:Field>
        <cd:Field name="rayleigh_measurement_sp_valid">
          <cd:Integer>
            <cd:Description>TRUE = Rayleigh Measurement Source Packet Valid</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
          </cd:Integer>
          <ct:NamedTest id="BooleanBinTest"/>
        </cd:Field>
        <cd:Field name="measurement_valid">
          <cd:Integer>
            <cd:Description>TRUE = if number of corresponding valid pulses is over Meas_Cavity_Lock_Status_Thresh (from processing parameters file); FALSE = otherwise</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
          </cd:Integer>
          <ct:NamedTest id="BooleanBinTest"/>
        </cd:Field>
        <cd:Field name="spacecraft_attitude_on_target">
          <cd:Integer>
            <cd:Description>TRUE = AOCS status indicates the spacecraft was in a stable state during any part of the measurement, as determined by AOCS status samples (SID1) falling within measurement interval</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
          </cd:Integer>
          <ct:NamedTest id="BooleanBinTest"/>
        </cd:Field>
        <cd:Field name="velocity_of_attitude_uncertainty_error">
          <cd:Float>
            <cd:Description>Velocity of attitude uncertainty error</cd:Description>
            <cd:Unit>m/s</cd:Unit>
            <cd:BitSize>64</cd:BitSize>
            <cd:NativeType>double</cd:NativeType>
          </cd:Float>
        </cd:Field>
        <cd:Field name="spare_1">
          <cd:Raw>
            <cd:Description>Spare</cd:Description>
            <cd:BitSize>24</cd:BitSize>
          </cd:Raw>
          <cd:Hidden/>
        </cd:Field>
      </cd:Record>
    </cd:Array>
  </cd:Field>
  <cd:Field name="reference_pulse_validity_indicator">
    <cd:Record>
      <cd:Description>Reference Pulse Validity Indicator</cd:Description>
      <cd:Field name="mie_reference_pulses_present">
        <cd:Integer>
          <cd:Description>TRUE = Mie Reference Pulses are present in BRC, FALSE=SID3 is missing</cd:Description>
          <cd:BitSize>8</cd:BitSize>
          <cd:NativeType>uint8</cd:NativeType>
        </cd:Integer>
        <ct:NamedTest id="BooleanBinTest"/>
      </cd:Field>
      <cd:Field name="rayleigh_reference_pulses_present">
        <cd:Integer>
          <cd:Description>TRUE = Rayleigh Reference Pulses are present in BRC, FALSE=SID4 is missing</cd:Description>
          <cd:BitSize>8</cd:BitSize>
          <cd:NativeType>uint8</cd:NativeType>
        </cd:Integer>
        <ct:NamedTest id="BooleanBinTest"/>
      </cd:Field>
      <cd:Field name="mie_reference_pulse_sp_valid">
        <cd:Integer>
          <cd:Description>TRUE = Mie Reference Pulse Source Packet Valid</cd:Description>
          <cd:BitSize>8</cd:BitSize>
          <cd:NativeType>uint8</cd:NativeType>
        </cd:Integer>
        <ct:NamedTest id="BooleanBinTest"/>
      </cd:Field>
      <cd:Field name="rayleigh_reference_pulse_sp_valid">
        <cd:Integer>
          <cd:Description>TRUE = Rayleigh Reference Pulse Source Packet Valid</cd:Description>
          <cd:BitSize>8</cd:BitSize>
          <cd:NativeType>uint8</cd:NativeType>
        </cd:Integer>
        <ct:NamedTest id="BooleanBinTest"/>
      </cd:Field>
      <cd:Field name="pulse_validity_status_flag">
        <cd:Array>
          <cd:Dimension>600</cd:Dimension>
          <cd:Integer>
            <cd:Description>TRUE = Valid pulse status</cd:Description>
            <cd:BitSize>8</cd:BitSize>
            <cd:NativeType>uint8</cd:NativeType>
            <ct:NamedTest id="BooleanBinTest"/>
          </cd:Integer>
        </cd:Array>
      </cd:Field>
      <cd:Field name="spare_2">
        <cd:Raw>
          <cd:Description>Spare</cd:Description>
          <cd:BitSize>136</cd:BitSize>
        </cd:Raw>
        <cd:Hidden/>
      </cd:Field>
    </cd:Record>
  </cd:Field>
</cd:Record>
