Warning
This operator is DEPRECATED since v1.1. Use OPH_SUBSET instead.
Type
Data Process.
Behaviour
It performs a subsetting operation along dimensions of a datacube. Dimension values are used as input filters.
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.
subset_dims: dimension names of the datacube used for the subsetting. Multiple-value field: list of dimensions separated by “|” can be provided and must be the same number of “subset_filter”.
subset_filter: enumeration of comma-separated elementary filters (1 series of filters for each dimension):
In this case, interval bounds must be separated with “_”. Multiple-value field: list of filters separated by “|” can be provided and must be the same number of “subset_dims”.
time_filter: enable filters using dates for time dimensions; enabled by default.
offset: it is added to the bounds of subset intervals defined with “subset_filter” in case of “coord” filter type is used.
grid: optional argument used to identify the grid of dimensions to be used (if the grid already exists) or the one to be created (if the grid has a new name). If it isn’t specified, no grid will be used.
container: name of the container to be used to store the output cube; by default, it is the input container.
check_grid: optional flag to be enabled in case the values of grid have to be checked (valid only if the grid already exists).
description: additional description to be associated with the output cube.
System parameters
Examples
Extract the subset of values in the range 1-10 of dimension “lat” and 20-30 of dimension “lon”:
[OPH_TERM] >> oph_subset2 cube=http://hostname/ophidia/1/1;subset_dims=lat|lon;subset_filter=1:10|20:30;grid=new_grid;
Argument name | Type | Mandatory | Values | Default | Min/Max-value |
---|---|---|---|---|---|
sessionid | “string” | “no” | “null” | ||
ncores | “int” | “no” | “1” | “1” / | |
exec_mode | “string” | “no” | “async|sync” | “async” | |
cube | “string” | “yes” | |||
schedule | “int” | “no” | “0” | “0” | |
subset_dims | “string” | “no” | “none” | ||
subset_filter | “string” | “no” | “all” | ||
time_filter | “string” | “no” | “yes|no” | “yes” | |
offset | “real” | “no” | “0” | ||
grid | “string” | “no” | “-“ | ||
container | “string” | “no” | “-“ | ||
check_grid | “string” | “no” | “yes|no” | “yes” | |
description | “string” | “no” | “-“ | ||
objkey_filter | “string” | “no” | “all|none|subset2” | “all” |