<?xml version="1.0"?>
<cd:ProductClass xmlns:cd="http://www.stcorp.nl/coda/definition/2008/07" name="ECMWF" last-modified="2016-12-20">
  <cd:Description>ECMWF GRIB product</cd:Description>
  <cd:ProductType name="GRIB">
    <cd:Description>ECMWF GRIB model outputs</cd:Description>
    <cd:ProductDefinition id="GRIB" format="grib" version="0">
      <cd:Description>The format definition for this product is taken from the GRIB file itself.</cd:Description>
      <cd:DetectionRule>
        <!-- GRIB1/GRIB2: centre 98 -> ECMWF -->
        <!-- GRIB2: curret master tables version is 5 -->
        <cd:MatchExpression><![CDATA[all(/, (exists(./grib1) && int(./grib1/centre) == 98) || (exists(./grib2) && int(./grib2/centre) == 98 && int(./grib2/masterTablesVersion) == 5))]]></cd:MatchExpression>
      </cd:DetectionRule>
    </cd:ProductDefinition>
  </cd:ProductType>
</cd:ProductClass>
