oph_roll_up

Description

Behaviour

It transforms an explicit dimension in implicit.

Parameters

  • input measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • output measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • measure: input measure.
  • size: size of the explicit dimension.

Return type

Binary-array.

Examples

Transform the ‘depth’ dimension from explicit to implicit (with 100 levels); the output table will contain in each row measures related to a couple (lat, lon) and expressed as a matrix of values along dimensions (depth, time).

oph_roll_up('OPH_DOUBLE','OPH_DOUBLE',measure,100)

Operation type

Aggregate.

Arguments

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”
size “long-long” “yes”       “1” / “1”