Changes between Version 2 and Version 3 of adeiAGFilters
- Timestamp:
- 11/18/15 17:37:43 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiAGFilters
v2 v3 1 1 = Raw Data Filtering in ADEI = 2 2 3 The filters are implemented in 'classes/filters'. There is2 types of filters.3 The filters are implemented in [http://adei.info/adei/browser/adei/classes/filters classes/filters]. There are 2 types of filters. 4 4 5 5 == Group filters == 6 Standard ones which are applied to all items in the group. A simplest example is badvaluefilter.phpwhich 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.6 Standard 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. 7 7 8 8 The configuration is pretty stright forward. You just need to add "data_filters" array in the stanard ADEI options, like: 19 19 20 20 == Channel Filters == 21 The second type is filters applied to individual channels. Check item/rangeitemfilter.phpwhich will check if the value is in the configured range [min,max] or will replace it with NULL otherwise.21 The 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. 22 22 23 23 Here 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.