<?xml version="1.0"?>
<cd:Record format="binary" name="MIP_OM2_AX_ADSR_occupation" last-modified="2012-10-24" xmlns:cd="http://www.stcorp.nl/coda/definition/2008/07">
  <cd:BitSize><![CDATA[int(./dsr_length) * 8]]></cd:BitSize>
  <cd:Field name="dsr_time">
    <cd:Time timeformat="binary_envisat_datetime">
      <cd:Description>Time of creation</cd:Description>
    </cd:Time>
  </cd:Field>
  <cd:Field name="dsr_length">
    <cd:Integer>
      <cd:Description>DSR length</cd:Description>
      <cd:BitSize>32</cd:BitSize>
      <cd:NativeType>uint32</cd:NativeType>
    </cd:Integer>
  </cd:Field>
  <cd:Field name="attach_flag">
    <cd:Integer>
      <cd:Description>Attachment flag (always set to zero for this ADS)</cd:Description>
      <cd:BitSize>8</cd:BitSize>
      <cd:NativeType>uint8</cd:NativeType>
    </cd:Integer>
  </cd:Field>
  <cd:Field name="lab_occ_matrix">
    <cd:Text format="ascii">
      <cd:Description>Label for occupation matrix</cd:Description>
      <cd:ByteSize>10</cd:ByteSize>
      <cd:NativeType>string</cd:NativeType>
    </cd:Text>
  </cd:Field>
  <cd:Field name="num_rows_current_occ_matrix">
    <cd:Integer>
      <cd:Description>Number of rows of current occupation matrix</cd:Description>
      <cd:BitSize>16</cd:BitSize>
      <cd:NativeType>uint16</cd:NativeType>
    </cd:Integer>
  </cd:Field>
  <cd:Field name="band_occ">
    <cd:Array>
      <cd:Description>Band occupation matrix for current occupation matrix</cd:Description>
      <cd:Dimension><![CDATA[int(/occ_matrix_general_data[0]/num_spectral_bands)]]></cd:Dimension>
      <cd:Dimension><![CDATA[int(../num_rows_current_occ_matrix)]]></cd:Dimension>
      <cd:Integer>
        <cd:BitSize>16</cd:BitSize>
        <cd:NativeType>uint16</cd:NativeType>
      </cd:Integer>
    </cd:Array>
  </cd:Field>
  <cd:Field name="vect_bands">
    <cd:Array>
      <cd:Description>Vector containing valid ranges for each row of occupation matrix</cd:Description>
      <cd:Dimension><![CDATA[int(../num_rows_current_occ_matrix)]]></cd:Dimension>
      <cd:Dimension>2</cd:Dimension>
      <cd:Float>
        <cd:Unit>km</cd:Unit>
        <cd:BitSize>32</cd:BitSize>
        <cd:NativeType>float</cd:NativeType>
      </cd:Float>
    </cd:Array>
  </cd:Field>
  <cd:Field name="log_retr_vector">
    <cd:Array>
      <cd:Description>Logical retrieval vector indicating sweeps where parameters shall be fitted</cd:Description>
      <cd:Dimension><![CDATA[int(../num_rows_current_occ_matrix)]]></cd:Dimension>
      <cd:Integer>
        <cd:BitSize>16</cd:BitSize>
        <cd:NativeType>uint16</cd:NativeType>
      </cd:Integer>
    </cd:Array>
  </cd:Field>
  <cd:Field name="dsr_offset_mds">
    <cd:Integer>
      <cd:Description>Offset of DSR within data set containing occupation matrix data</cd:Description>
      <cd:BitSize>32</cd:BitSize>
      <cd:NativeType>uint32</cd:NativeType>
    </cd:Integer>
  </cd:Field>
</cd:Record>
