Behaviour
It evaluates a predicate2. If ‘expression0’ satisfies ‘comparison’ then ‘expression1’ is executed, else ‘expression2’ is executed.
Parameters
Return type
Binary-array.
Examples
Extract 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’|’op h_short’|’oph_byte’” | “1” / “1” | ||
output measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’ |’oph_int’|’oph_long’|’op h_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” | |||
occurrence | “string” | “no” | “all” | “0” / “1” |