Behaviour
It evaluates a predicate. If ‘expression0’ satisfies ‘comparison’, then ‘expression1’ is executed, else ‘expression2’ is executed.
Parameters
Return type
Binary-array.
Examples
Identify measures with temperature values greater than 300 K.
oph_predicate('OPH_DOUBLE','OPH_DOUBLE',measure,'x-300','>0','1','0')
Operation type
simple
Argument name | Type | Mandatory | Values | Default | Min/Max-value | Min/Max-times |
---|---|---|---|---|---|---|
input measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
output measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
measure | “binary-array” | “yes” | “1” / “1” | |||
expression 0 | “string” | “yes” | “1” / “1” | |||
comparison | “string” | “yes” | “1” / “1” | |||
expression 1 | “string” | “yes” | “1” / “1” | |||
expression 2 | “string” | “yes” | “1” / “1” |