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:56:49] paule |
kvalobs:kvoss:system:qc2:requirements:algorithms:plumatic [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Plumatic ====== | + | ====== |
| - | * {{: | + | * {{kvalobs: |
| + | * [[kvalobs: | ||
| + | |||
| + | 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**. | ||
| - | ====== Prioritet 1: Grenseverdikontroll ====== | + | ==== Configuration |
| - | + | Beyond the standard configuration options detailed in the [[kvalobs: | |
| - | Example data: | + | the following options are available for Plumatic. |
| - | (Just to become familiar with the characteristics) | + | ^ 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 obstime, original from data where paramid=105 and obstime between ' | + | SELECT si.stationid, em.description FROM sensor_info AS si, equipment AS eq, equipmentmodel AS em |
| - | | + | WHERE em.description LIKE ' |
| - | ---------------------+---------- | + | AND paramid = 105 |
| - | | + | AND em.modelname = eq.modelname AND si.equipmentid = eq.equipmentid |
| - | 2008-06-23 02:23:00 | 0.1 | + | AND ((si.totime IS NULL AND si.fromtime <= now()) |
| - | 2008-06-23 02:24:00 | 0.2 | + | OR (si.totime IS NOT NULL AND now() BETWEEN si.fromtime AND em.totime)) |
| - | 2008-06-23 02:26:00 | 0.1 | + | ORDER BY si.stationid |
| - | | + | |
| - | | + | |
| - | | + | |
| - | 2008-06-23 02:32:00 | 0.1 | + | |
| - | | + | |
| - | 2008-06-23 04:17:00 | 0.1 | + | |
| - | | + | |
| - | | + | |
| - | 2008-06-23 04:24:00 | 0.2 | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| </ | </ | ||
| - | | + | === Option sliding_alarms === |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | This option describes the duration and threshold for the sliding aggregation tests. The format is like this: |
| - | |2008-06-23 02:23:00 | 0.1 | | + | |
| - | | + | The durations must be increasing. |
| - | | 02:25:00 | . | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | 02:29:00 | . | | + | |
| - | | + | |
| - | | 02:31:00 | . | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | ... |. | | + | |
| - | | + | |
| - | | ... |.| | + | |
| - | | + | |
| - | | + | |
| - | | 04:23:00 | . | | + | |
| - | | + | |
| - | | + | |
| - | | 04:26:00 | . | | + | |
| - | |2008-06-23 04:27:00 | 0.1 | | + | |