Skip to content

It's not clear which rules are mandatory and which are "nice to have" #14

@RoryMMMM

Description

@RoryMMMM

Thanks for making the effort to publish an API to check files for various conventions. I'm busy trying to wrangle a bunch of files from various oceanographic sensors into a single standardised format. CF-Conventions seems like a good choice but I have little experience with this.

I'm using the MCC tool to validate that my metadata and formats are "good enough" but it's not clear which of the tests are warnings and which are required.

For example:
I pass a netcdf file I've generated from a sensor file and get 482/491 passed and the errors I get seem to be non-issues:

  • The variable time failed because the datatype is int64 (This is not the case, probably a bug in the tester)
  • It fails on two field names that have dashes in them, I could probably change that without problems
  • It complains about a couple variables that don't have standard_names (in this case there aren't existing standard names that cover those variables)
  • Also the same for some units not being recognized by UDUNITS.
    I'm sure I'll get other warnings/errors for other files and sensors that I process so let's not focus too much on the above.

In short how do I use this API to tell whether my file is good enough? Should I be aiming for 100% tests passing?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions