MI - Fimex
quality-extraction Configuration

quality-extraction Configuration

Warning
The quality-extraction is still in a very early stage of development. The configuration and the outcome is very likely to change in further developments. Any feedback is strongly welcome.
<?xml version="1.0" encoding="UTF-8"?>
<cdmQualityConfig>

<variable name="bla">
   <status_flag_variable name="blub">
      <allowed_values>1,2,...,6</allowed_values>
      <!-- or config by highest valid or lowest valid or all valid values  -->
      <!-- highest and lowest will be retrieved per data-slice, not for the whole variable -->
      <!-- <allowed_values use="(highest|lowest|all|min:xxx.x|max:xxx.x)" /> -->
   </status_flag_variable>
</variable>

<!-- set air_temperature to explicit fillValue -999 (default: implicit fillValue) -->
<variable name="air_temperature" fillValue="-999">
   <status_flag_variable name="altitude">
      <allowed_values use="min:1000" />
   </status_flag_variable>
</variable>

<!-- apply an external land-mask to sea_surface_temperature -->
<variable name="sea_surface_temperature" fillValue="-999">
   <status_flag_variable name="land_mask" file="land.dat" type="felt" config="felt2nc.xml" >
      <allowed_values use="all" />
   </status_flag_variable>
</variable>


</cdmQualityConfig>

In cases where the data should be extracted if certain conditions (qualities) apply, i.e. the status-flag indicates a properly working instrument, or the sea-surface-temperature is above 300K, the MetNoFimex::CDMQualityExtractor allows to add these rules. The cdmQualityConfig.xml file as shown above gives an example of such an configuration.

The following use-values can be selected:

All values which do not match the quality-criteria will be set to the _FillValue of the variable.

See also
MetNoFimex::CDMQualityExtractor