<?xml version="1.0"?>
<cd:Union format="binary" name="GOME2_MDR_L1B_v4" last-modified="2008-07-01" xmlns:cd="http://www.stcorp.nl/coda/definition/2008/07">
  <cd:Description>Union of possible GOME L1b MDRs (format version 4). A definition for each of the record subclass values that are used in the field expression for this union can be found in the GOME-2 Level 1 PFS (EUM-MIS-SPE-97232).</cd:Description>
  <cd:FieldExpression><![CDATA[if(int(:/RECORD_HEADER/INSTRUMENT_GROUP) == 5, if(int(:/RECORD_HEADER/RECORD_SUBCLASS) == 6, 0, if(int(:/RECORD_HEADER/RECORD_SUBCLASS) == 7, 1, if(int(:/RECORD_HEADER/RECORD_SUBCLASS) == 8, 2, if(int(:/RECORD_HEADER/RECORD_SUBCLASS) == 9, 3, 5)))), if(int(:/RECORD_HEADER/INSTRUMENT_GROUP) == 13 && int(:/RECORD_HEADER/RECORD_SUBCLASS) == 1, 4, 5))]]></cd:FieldExpression>
  <cd:BitSize><![CDATA[$mdr_bit_size[index(.)]]]></cd:BitSize>
  <cd:Field name="Earthshine">
    <cd:NamedType id="GOME2_MDR_L1B_Earthshine_v4"/>
  </cd:Field>
  <cd:Field name="Calibration">
    <cd:NamedType id="GOME2_MDR_L1B_Calibration_v3"/>
  </cd:Field>
  <cd:Field name="Sun">
    <cd:NamedType id="GOME2_MDR_L1B_Sun_v3"/>
  </cd:Field>
  <cd:Field name="Moon">
    <cd:NamedType id="GOME2_MDR_L1B_Moon_v3"/>
  </cd:Field>
  <cd:Field name="Dummy">
    <cd:NamedType id="DMDR_v2"/>
  </cd:Field>
  <cd:Field name="Unknown">
    <cd:NamedType id="GENERIC_RECORD"/>
  </cd:Field>
</cd:Union>
