<?xml version="1.0" encoding="UTF-8"?>
<cdmGribReaderConfig xmlns="http://www.met.no/schema/fimex/cdmGribReaderConfig">
<processOptions>
    <!-- allow up to 1% numerical errors in gridDefinition -->
    <option name="gridDefinitionDelta" value="0.01"/>
    <!-- parameters to select: all, definedOnly -->
    <option name="selectParameters" value="all" />
</processOptions>
<global_attributes>
    <attribute name="Conventions" value="CF-1.0" type="string" />
    <attribute name="institution" value="Norwegian Meteorological Institute, met.no" type="string" />
    <attribute name="source" value="HIRLAM" type="string" />
    <attribute name="title" value="unknown" type="string" />
    <attribute name="min_time" value="%MIN_DATETIME(%Y-%m-%d %H:%M:%SZ)%" type="string" />
    <attribute name="max_time" value="%MAX_DATETIME(%Y-%m-%d)%" type="string" />
    <attribute name="Expires" value="%MAX_DATETIME(%Y-%m-%d,2419200)%" type="string" /> 
    <attribute name="references" value="unknown" type="string" />
    <!-- <attribute name="history" value="unknown" type="string" /> -->
    <attribute name="comment" value="none" type="string" />
</global_attributes>
<axes>
<time id="time" name="time" type="double">
    <attribute name="long_name" value="time" type="string" />
    <attribute name="standard_name" value="time" type="string" />
    <attribute name="units" value="seconds since 1970-01-01 00:00:00 +00:00" type="string" />
</time>
<spatial_axis typeOfGrid="polar_stereographic" id="x" name="x" type="float">
    <attribute name="long_name" value="x-coordinate in Cartesian system" type="string" />
    <attribute name="standard_name" value="projection_x_coordinate" type="string" />
    <attribute name="units" value="m" type="string" />
</spatial_axis>
<spatial_axis typeOfGrid="polar_stereographic" id="y" name="y" type="float">
    <attribute name="long_name" value="y-coordinate in Cartesian system" type="string" />
    <attribute name="standard_name" value="projection_y_coordinate" type="string" />
    <attribute name="units" value="m" type="string" />
</spatial_axis>
<spatial_axis typeOfGrid="regular_ll" id="x" name="longitude" type="float">
    <attribute name="long_name" value="longitude" type="string" />
    <attribute name="units" value="degrees_east" type="string" />
</spatial_axis>
<spatial_axis typeOfGrid="regular_ll" id="y" name="latitude" type="float">
    <attribute name="long_name" value="latitude" type="string" />
    <attribute name="units" value="degrees_north" type="string" />
</spatial_axis>
<spatial_axis typeOfGrid="rotated_ll" id="x" name="rlon" type="float">
    <attribute name="long_name" value="rotated longitude" type="string" />
    <attribute name="standard_name" value="grid_longitude" type="string" />
    <attribute name="units" value="degrees" type="string" />
</spatial_axis>
<spatial_axis typeOfGrid="rotated_ll" id="y" name="rlat" type="float">
    <attribute name="long_name" value="rotated latitude" type="string" />
    <attribute name="standard_name" value="grid_latitude" type="string" />
    <attribute name="units" value="degrees" type="string" />
</spatial_axis>
<spatial_axis id="longitude" name="longitude">
    <attribute name="valid_max" value="180." type="float" />
    <attribute name="valid_min" value="-180." type="float" />
    <attribute name="long_name" value="longitude" type="string" />
    <attribute name="standard_name" value="longitude" type="string" />
    <attribute name="units" value="degree_east" type="string" />
</spatial_axis>
<spatial_axis id="latitude" name="latitude">
    <attribute name="valid_max" value="90." type="float" />
    <attribute name="valid_min" value="-90." type="float" />
    <attribute name="long_name" value="latitude" type="string" />
    <attribute name="standard_name" value="latitude" type="string" />
    <attribute name="units" value="degree_north" type="string" />
</spatial_axis>
<!-- grib2 code table 4.5; grib1 code table 3 / 3a -->
<vertical_axis id="surface" name="surface" grib2_id="1" grib1_id="1" type="short">
    <attribute name="_FillValue" value="-32767" type="short" />
    <attribute name="description" value="ground or water surface" type="string" />
    <attribute name="long_name" value="surface" type="string" />
    <attribute name="positive" value="up" type="string" />
    <attribute name="units" value="m" type="string" />
</vertical_axis>
<vertical_axis id="mean_sea_level" name="mean_sea_level" grib2_id="101" grib1_id="102" type="short">
    <attribute name="_FillValue" value="-32767" type="short" />
    <attribute name="description" value="mean sea level" type="string" />
    <attribute name="long_name" value="mean_sea_level" type="string" />
    <attribute name="positive" value="up" type="string" />
    <attribute name="units" value="m" type="string" />
</vertical_axis>
<vertical_axis id="pressure" name="pressure" grib2_id="100" grib1_id="100" type="float">
    <!-- Isobaric level -->
    <attribute name="description" value="pressure" type="string" />
    <attribute name="long_name" value="pressure" type="string" />
    <attribute name="standard_name" value="air_pressure" type="string" />
    <attribute name="positive" value="up" type="string" />
    <grib1>
        <attribute name="units" value="hPa" type="string" />
    </grib1>
    <grib2>
        <attribute name="units" value="Pa" type="string" />
    </grib2>    
</vertical_axis>
<vertical_axis id="height" name="height" grib2_id="103" grib1_id="105" type="float">
    <attribute name="description" value="height above ground" type="string" />
    <attribute name="long_name" value="height" type="string" />
    <attribute name="positive" value="up" type="string" />
    <attribute name="units" value="m" type="string" />
</vertical_axis>
<vertical_axis id="sigma" name="sigma" grib2_id="104" grib1_id="107" type="float">
    <attribute name="description" value="atmosphere sigma coordinate" type="string" />
    <attribute name="long_name" value="atmosphere_sigma_coordinate" type="string" />
    <attribute name="standard_name" value="atmosphere_sigma_coordinate" type="string" />
    <attribute name="positive" value="up" type="string" />
</vertical_axis>
<vertical_axis id="hybrid" name="k" grib2_id="105" grib1_id="109" type="double">
    <attribute name="standard_name" value="atmosphere_hybrid_sigma_pressure_coordinate" type="string" />
    <attribute name="formular" value="p(n,k,j,i) = ap(k) + b(k)*ps(n,j,i)" type="string" />
    <attribute name="formula_terms" value="ap: ap b: b ps: ps p0: p0" type="string" />
    <attribute name="long_name" value="atmosphere_hybrid_sigma_pressure_coordinate" type="string" />
    <attribute name="positive" value="up" type="string" />
    <values mode="hybridSigmaCalc(ap,b)" />
    <!--  optional values, will otherwise be calculated -->
    <!-- <values mode="inline">0.01000025677 0.030167302165 0.0506574118 0.071450009935 0.09252333188 0.1138544163 0.13541913675 0.15719222585 0.17914733025 0.2012570937 0.2234932623 0.24582677445 0.2682278651 0.2906662383 0.31311114455 0.3355315966 0.35789645305 0.38017460195 0.40233509685 0.424347324 0.4461811847 0.4678071633 0.489196539 0.5103215403 0.5311554552 0.55167275145 0.5718492055 0.59166201445 0.61108997355 0.6301135343 0.6487148597 0.66687796335 0.6845887315 0.70183494755 0.71860654485 0.73489551425 0.75069577035 0.7660033971 0.78081677885 0.7951363129 0.80896444377 0.82230582149 0.83516716094 0.847557280535 0.859487003145 0.87096914209 0.882018498895 0.892651686215 0.90288721645 0.912745443885 0.92224845265 0.931419910746 0.9402852619265 0.9488715493425 0.9572073044055 0.96532265475235 0.97331471657385 0.981184395 0.98881774 0.996283525</values> -->
    <additional_axis_variable name="ap" type="double" axis="k">
        <attribute name="units" value="Pa" type="string" />
        <values mode="level2" scale_factor="10" />
        <!--  optional values, will otherwise be retrieved from level2 -->
        <!--  <values>1000.025677 3016.7302165 5053.90618 7087.0199935 9093.765188 11053.98013 12949.566675 14764.408585 16484.295025 18096.84587 19591.43773 20959.130445 22192.59551 23286.04683 24235.168455 25037.05066 25690.118305 26194.061695 26549.769185 26759.2609 26825.62347 26752.93383 26546.1954 26211.27253 25754.81752 25184.199145 24507.43255 23733.106445 22870.320355 21928.60293 20917.83697 19848.187335 18730.02765 17573.856255 16390.225985 15189.661425 13982.572535 12779.18721 11589.468885 10423.01579 9288.991377 8196.045649 7152.209594 6164.8270535 5240.4653145 4384.825709 3602.6483895 2897.6316215 2272.348645 1728.1508885 1265.082265 881.7835746 575.42419265 341.59793425 174.23244055 65.519475235 12.368657385 0 0 0</values> -->
    </additional_axis_variable>
    <additional_axis_variable name="b" type="double" axis="k">
        <attribute name="units" value="1" type="string" />
        <values mode="hybridLevels" scale_factor="0.0001" />
        <!--  optional values, will otherwise be retrieved from ident19 -->
        <!--  <values>0 0 0.00011835 0.00057981 0.00158568 0.003314615 0.00592347 0.00954814 0.01430438 0.020288635 0.027578885 0.03623547 0.04630191 0.05780577 0.07075946 0.08516109 0.10099527 0.118233985 0.136837405 0.156754715 0.17792495 0.200277825 0.223734585 0.248208815 0.27360728 0.29983076 0.32677488 0.35433095 0.38238677 0.410827505 0.43953649 0.46839609 0.497288455 0.526096385 0.554704285 0.5829989 0.610870045 0.638211525 0.66492209 0.690906155 0.71607453 0.740345365 0.763645065 0.78590901 0.80708235 0.827120885 0.845992015 0.86367537 0.88016373 0.895463935 0.90959763 0.922602075 0.93453102 0.94545557 0.95546498 0.96466746 0.97319103 0.981184395 0.98881774 0.996283525</values> -->
    </additional_axis_variable>
<!-- currently not possible to read axis independent variable
    <additional_axis_variable name="p0" type="int" axis="1">
        <attribute name="long_name" value="reference pressure for hybrid sigma coordinate" type="string" />
        <attribute name="units" value="Pa" type="string" />
        <values>100000</values>
    </additional_axis_variable>
-->
</vertical_axis>
<vertical_axis id="depth" name="depth" grib2_id="106" type="short">
    <attribute name="description" value="depth below land surface" type="string" />
    <attribute name="long_name" value="depth" type="string" />
    <attribute name="positive" value="down" type="string" />
    <attribute name="standard_name" value="depth" type="string" />
    <attribute name="units" value="m" type="string" />
</vertical_axis>
<vertical_axis id="depth" name="depth" grib1_id="111" type="short">
    <attribute name="description" value="depth below land surface" type="string" />
    <attribute name="long_name" value="depth" type="string" />
    <attribute name="positive" value="down" type="string" />
    <attribute name="standard_name" value="depth" type="string" />
    <attribute name="units" value="cm" type="string" />
</vertical_axis>
<vertical_axis id="theta" name="theta" grib2_id="107" grib1_id="113" type="float">
    <attribute name="description" value="isentropic layer" type="string" />
    <attribute name="units" value="K" type="string" />
</vertical_axis>
<vertical_axis id="depth_below_sea" name="depth_below_sea" grib2_id="160" grib1_id="160" type="short">
    <attribute name="description" value="depth below sea surface" type="string" />
    <attribute name="long_name" value="depth_below_sea" type="string" />
    <attribute name="positive" value="down" type="string" />
    <attribute name="standard_name" value="depth" type="string" />
    <attribute name="units" value="m" type="string" />
</vertical_axis>
</axes>

<variables>
    <parameter name="geopotential_height" type="float">
        <!-- multi-id for grib1 and grib2 -->
        <grib1 indicatorOfParameter="" gribTablesVersionNo="" identificationOfOriginatingGeneratingCentre=""/>
        <grib2 discipline="0" parameterCategory="3" parameterNumber="6"/>
        <attribute name="_FillValue" value="9.9692099683868690e+36f" type="float" />
        <attribute name="long_name" value="geopotential_height" type="string" />
        <attribute name="standard_name" value="geopotential_height" type="string" />
        <attribute name="units" value="m" type="string" />
    </parameter>
    <parameter name="cloud_cover" type="float">
        <!-- multi-id for grib1 and grib2 -->
        <!-- high clouds -->
        <grib1 indicatorOfParameter="188" gribTablesVersionNo="128" identificationOfOriginatingGeneratingCentre="98"/>
        <!-- medium clouds -->
        <grib1 indicatorOfParameter="187" gribTablesVersionNo="128" identificationOfOriginatingGeneratingCentre="98"/>
        <!-- low clouds -->
        <grib1 indicatorOfParameter="186" gribTablesVersionNo="128" identificationOfOriginatingGeneratingCentre="98"/>
        <!-- fog -->
        <grib1 indicatorOfParameter="248" gribTablesVersionNo="128" identificationOfOriginatingGeneratingCentre="98"/>
        <grib2 discipline="" parameterCategory="" parameterNumber=""/>
        <attribute name="_FillValue" value="9.9692099683868690e+36f" type="float" />
        <attribute name="long_name" value="cloud coverage" type="string" />
        <attribute name="units" value="%" type="string" />
    </parameter>
    <parameter name="total_precipitation" type="float">
        <grib1 indicatorOfParameter="61" gribTablesVersionNo="3" identificationOfOriginatingGeneratingCentre="88"/>
        <attribute name="_FillValue" value="9.9692099683868690e+36f" type="float" />
        <attribute name="long_name" value="total_precipitation" type="string" />
        <attribute name="units" value="kg m^-2" type="string" />
    </parameter>
    
</variables>

</cdmGribReaderConfig>