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

Running `benchcab` without `-v` is still providing `DEBUG` log output. #280

Closed SeanBryan51 closed 5 months ago

SeanBryan51 commented 5 months ago

Running benchcab without -v is still providing DEBUG log output. This is because get_logger() is being called for the first time here:

https://github.com/CABLE-LSM/benchcab/blob/94824588d92727aa396acf0298166dc00eacb341/benchcab/benchcab.py#L60

Instead of what we had expected

https://github.com/CABLE-LSM/benchcab/blob/94824588d92727aa396acf0298166dc00eacb341/benchcab/main.py#L26

Notice parse_and_dispatch is after initialising Benchcab