Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:requirements:algorithms:plumatic [2011-07-07 22:23:03] paule |
kvalobs:kvoss:system:qc2:requirements:algorithms:plumatic [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Plumatic ====== | + | ====== |
- | * {{: | + | * {{kvalobs: |
- | + | * [[kvalobs: | |
- | ====== Prioritet 1: Grenseverdikontroll ====== | + | |
+ | See also the [[https:// | ||
+ | ==== Procedure | ||
+ | |||
+ | The algorithm first checks prioritet 2, 3, and 4 from the [[kvalobs: | ||
+ | After that, the sliding aggregation check is performed, excluding any periods with data matching **discarded_*flags**. | ||
+ | ==== Configuration ==== | ||
+ | Beyond the standard configuration options detailed in the [[kvalobs: | ||
+ | the following options are available for Plumatic. | ||
+ | |||
+ | ^ Option ^ Default ^ Description ^ | ||
+ | | highsingle_flagchange | fs=8,fmis=2 | flags to set if a "high single" | ||
+ | | highstart_flagchange | ||
+ | | interruptedrain_flagchange | fs=8,fmis=2 | flags to set if a "rain interruption" | ||
+ | | aggregation_flagchange | fr=9 | flags to set if a sliding aggregation exceeds a threshold (prioritet 1 in the [[kvalobs: | ||
+ | | discarded_cflags | %%fr=9|fs=8|fmis=2%% | specify which rows shall be regarded as " | ||
+ | | discarded_uflags | no constraint | ::: | | ||
+ | | stations | --- | resolutions and station ids, see below | | ||
+ | | sliding_alarms | --- | periods (in minutes) and precipitation thresholds for sliding aggregation test, see below | | ||
+ | |||
+ | === Option stations === | ||
+ | |||
+ | This parameter contains a resolution in mm-per-tipping, | ||
+ | stations = 0.1: | ||
+ | This list should not be written manually, but using the script **stinfosys-vipp-pluviometer.pl** which extracts the station list from stinfosys. This script uses **stinfosys** to determine which sensors deliver RR_01 and which resolution these sensors have. Therefore it is important to register the sensors in **stinfosys**. The script uses a SQL query similar to this one: | ||
+ | |||
+ | < | ||
+ | SELECT si.stationid, | ||
+ | WHERE em.description LIKE ' | ||
+ | AND paramid = 105 | ||
+ | AND em.modelname = eq.modelname AND si.equipmentid = eq.equipmentid | ||
+ | AND ((si.totime IS NULL AND si.fromtime <= now()) | ||
+ | OR (si.totime IS NOT NULL AND now() BETWEEN si.fromtime AND em.totime)) | ||
+ | ORDER BY si.stationid | ||
+ | </ | ||
+ | |||
+ | === Option sliding_alarms === | ||
+ | |||
+ | This option describes the duration and threshold for the sliding aggregation tests. The format is like this: | ||
+ | sliding_alarms = 2< | ||
+ | The durations must be increasing. | ||