Open larsbarring opened 3 years ago
And then the offending errors revealed the themselves:
Of course, variable time_bounds
must not have attributes axis = "T"
and bounds = "time_bounds"
. Obvious once one sees them, but before that happens it would be helpful if the cf-checker would not crash and instead give a hint towards the problem.
Thanks for reporting this @larsbarring. I'll put a fix in so it doesn't crash and add some indication as to the problem.
Fixed so CF Checker no longer crashes in PR #91
Further work required to add better indication of the problem.
The cf-checker crashes when checking what looks like a CF-compliant file (maybe with some quirks). Even if there is an obvious error that nevertheless escapes us, the checker should not crash. Below follows 1) output from
ncdump -h
2) error output when using the Reading online tool 3) error output from running cf-checker locally installed.ncdump -h
Reading online tool
Locally installed cf-checker