Utility functions and variables

cerr : display the output of last operator call

climaf.api.cerr = <function cerr>[source]

Display file ‘last.out’ (stdout and stderr of last operator call)

cpath : path for CliMAF installation directory

climaf.api.cpath = '/home/docs/checkouts/readthedocs.org/user_builds/climaf/checkouts/stable/climaf'

str(object=’’) -> string

Return a nice string representation of the object. If the argument is a string, the return value is the same object.

clog : tune verbosity

clog_file : tune verbosity for log file

csync

climaf.cache.csync(update=False)[source]

Merges current in-memory cache index and current on-file cache index for updating both

If arg update is True, additionally ensures consistency between files set and index content, either :

  • if cache.stamping is true, by reading CRS in all files
  • else, by removing files which are not in the index; this may erase result files which have been computed by another running instance of CliMAF