Convenience function to (de-)activate metadata handling in magpie objects and
to return current setting
Usage
withMetadata(set = NULL, verbosity = NULL)
Arguments
set
boolean to switch metadata on/off or NULL to leave the option as is.
verbosity
Integer to set the verbosity level of calcHistory tracking. 0 = no calcHistory tracking,
1 = only the core functions are tracked (e.g. calcOutput, readSource), 2 (default) = most magclass functions
and toolAggregate are also tracked, 3 = virtually all functions are tracked.
Value
boolean indicating the current metadata setting (switched on or off)