Closed sol1105 closed 2 months ago
With this it is possible to test against any set of MIP tables. The path to the tables needs to be specified as an input option:
cchecker.py -t mip -O "mip:tables:/path/to/the/MIP/Tables" file.nc
When no tables are specified, compliance_checker
will report that all tests passed, but exceptions occured.
I do not know if this behaviour should be modified, since the intended behaviour is to report no error in the check setup
when no mip tables are specified, since we expect the specific cc6-checker to automatically download them in this case.
Edit: I noticed I can use the _cc_spec
attribute of the class to make sure there are MIP tables defined for just the mip
checker.
The checks still need some work regarding bug fixes and unwanted exceptions, but that can be done in following PRs and needs test data from various projects.
Defining basic 'mip' checker.
Updating process to identify table_id.