Skip to content

Allow for processing of all available variables #98

Description

@maxnutz

Current status:
The code selects all the variables available, that are also part of the variable definition linked by the configuration "definitions_path". If an evaluation of a variable is available but the variable is not defined in the definitions in "definitions_path", that evaluation is not processed.

Goal:
Allow for the value "False" in the config "definitions_path". The value "False" in the config "definitions_path" should trigger the following behaviour:

  • all variables available in the mapping file (default: mapping.default.yaml, can be set in configs "mapping_path") are evaluated. The output processing is exactly the same, but the units are not converted to the units defined in the definitions_path, but are kept as they are after the evaluation.

Acceptance:

  • When definitions_path is set to a path, the current behaviour stays untouched.
  • When definitions_path is set to "False", all variables are evaluated, units are kept unchanged and the evaluations are written to file – the evaluation and post processing is exactly the same as with a definitions_path, except the unit conversion.
  • When defintions_path is empty, the code throws a comprehensive error.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions