Adds caching support in cdo_execute()
and
cdo_execute_list()
as well as cache management with
cdo_cache_set()
and
cdo_cache_unset()
.
Global options are now not replaced by default if an
options
argument is supplied. The new
options_replace
controls this behaviour. If it’s
FALSE
, then global options, operation options and argument
options are all concatenated (duplicated options are not checked for).
If it’s TRUE
, then only the argument options are used, even
if they are NULL
(which implies, no options). This is
potentially a breaking change.
cdo_options_use()
will use
options for an operation. cdo_option_set()
will set global
options to use for all operations. cdo_options_clear()
will
clear the global options.cdo_operator()
allows the user to define an
arbitrary operator in case the some operator is missing in the package.
Operators are run with the cdo()
function.cdo_execute_list()
to execute a list of cdo
operations. This is the preferred way of applying operations to a set of
files since it preserves ephemeral files correctly.