It removes a container with related dimensions and grids. The container can be deleted logically or physically.
- container: name of the input container.
- cwd: absolute path corresponding to the current working directory.
- force: flag used to force the removal of a non-empy container.
- with “yes” all datacubes inside the container will be deleted
- with “no” (default) the container will be removed only if it is already empty
- container_pid: PID of the input container. If it is set, the arguments “container” and “cwd” are negleted.
- 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). This operator is not parallel, so the only possible value is 1.
- nthreads: maximum number of parallel threads to be used (min. 1). Used only when the force argument is set to “yes”.
- 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, deletecontainer => no output).
Logically remove the empty visible container “container1”:
[OPH_TERM] >> oph_deletecontainer container=container1;cwd=/session-code;