<?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> <variable name="air_temperature"> <status_flag_variable name="altitude"> <allowed_values use="min:1000" /> </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.
all
select all valid values (within valid_max, valid_min or valid_range, without _FillValue) highest
the highest numerical value found in the data-slice which is valid lowest
the lowest numerical value fond in the data-slice which is valid max:xxx.x
all valid-values below or equal xxx.x min:xxx.x
all valid values above or equal xxx.x