daops package

Dataset-Aware Operations.

daops._config_cached()[source]
daops.config_()[source]

Subpackages

Submodules

daops.cli module

Console script for daops.

daops.cli.check_env()[source]

Check that ROOCS_CONFIG points to a valid config file.

Although for certain types of invalid file, in fact main is never called, so exit might not always be graceful in these cases. Call this after get_params() so that ‘help’ still works even if this is not set.

daops.cli.get_params(args)[source]

Get the parameters.

daops.cli.main()[source]

Console script for daops.

daops.cli.parse_args()[source]

Parse the command line arguments.

daops.processor module

Module to dispatch the processing operation to the correct mode (serial or parallel).

daops.processor.dispatch(operation, dset, **kwargs)[source]

Dispatch the operation to the correct mode (serial or parallel).

daops.processor.process(operation, dset, mode='serial', **kwargs)[source]

Run the processing operation on the dataset in the correct mode (in series or parallel).