Changes between Version 2 and Version 3 of adeiAGFilters

Show
Ignore:
Author:
csa (IP: 141.52.64.104)
Timestamp:
11/18/15 17:37:43 (4 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiAGFilters

    v2 v3  
    11= Raw Data Filtering in ADEI = 
    22 
    3 The filters are implemented in 'classes/filters'. There is 2 types of filters. 
     3The filters are implemented in [http://adei.info/adei/browser/adei/classes/filters classes/filters]. There are 2 types of filters. 
    44 
    55== Group filters == 
    6 Standard ones which are applied to all items in the group. A simplest example is badvaluefilter.php which search values of all group items for the specified value and replaces it to NULL (this is, for example, used to get read of 900 in temperatures which value is used to indicate errors by Armen). You also can drop complete vector by returning true from ProcessVector function. 
     6Standard ones which are applied to all items in the group. A simplest example is [http://adei.info/adei/browser/adei/classes/filters/badvaluefilter.php badvaluefilter.php] which search values of all group items for the specified value and replaces it to NULL (this is, for example, used to get read of 900 in temperatures which value is used to indicate errors by Armen). You also can drop complete vector by returning true from ProcessVector function. 
    77 
    88The configuration is pretty stright forward. You just need to add "data_filters" array in the stanard ADEI options, like: 
    1919 
    2020== Channel Filters == 
    21 The second type is filters applied to individual channels. Check item/rangeitemfilter.php which will check if the value is in the configured range [min,max] or will replace it with NULL otherwise. 
     21The second type is filters applied to individual channels. Check [http://adei.info/adei/browser/adei/classes/filters/item/rangeitemfilter.php item/rangeitemfilter.php] which will check if the value is in the configured range [min,max] or will replace it with NULL otherwise. 
    2222 
    2323Here is configuration more elaborate. Just check [http://darksoft.org/webbzr/adei/setups/ipecube/annotate/head:/config.php ipecube configuration] for the test kitcube setup. You still use "data_filters" option, but you need to provide list of affected channels.