Skip to contents

Execute a custom operator

Usage

cdo(operator, input, params = NULL, output = NULL)

cdo_operator(command, params, n_input, n_output)

Arguments

operator,

a list created with cdo_operator.

input

a list with the input files.

params

a character vector with the name of the parametsr

output

a vector of file name(s).

command

a string with the command used to run the operator

n_input, n_output

an integer with the number of input and ouput files required by the operator

Value

a cdo operation.

A list with elements comand, params, n_input and n_output.