CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 3 forks source link

Transition from internal.py defaults in config.py to schema defaults. #313

Open bschroeter opened 2 days ago

bschroeter commented 2 days ago

We currently rely on internal.py defaults to specify optional keys in the configuration through a manually-set config dictionary:

https://github.com/CABLE-LSM/benchcab/blob/a44e9862ee3ebf43ad2c9840e6ad705824010288/src/benchcab/config.py#L74

We can get around doing this by setting the defaults via the Cerberus config schema.

SeanBryan51 commented 2 days ago

Duplicate issue: https://github.com/CABLE-LSM/benchcab/issues/284