Description
Type
Metadata Access.
Behaviour
It computes and displays the number of elements stored in the input datacube.
Parameters
- cube: name of the input datacube. The name must be in PID format.
- schedule: scheduling algorithm. The only possible value is 0, for a static linear block distribution of resources.
- algorithm: algorithm used to count elements. Possible values are: “dim_product” (default) to compute elements mathematically; “count” to count elements in each fragment.
System parameters
- exec_mode: operator execution mode. Possible values are async (default) for asynchronous mode, sync for synchronous mode with json-compliant output.
- ncores: number of parallel processes to be used (min. 1).
- sessionid: session identifier used server-side to manage sessions and jobs. Usually, users don’t need to use/modify it, except when it is necessary to create a new session or switch to another one.
- objkey_filter: filter on the output of the operator written to file (default=all => no filter, none => no output, cubeelements => shows the number of elements of the cube).
Examples
Compute the number of elements in the datacube “URL/1/1”:
[OPH_TERM] >> oph_cubeelements cube=URL/1/1;