https://github.com/ioos/compliance-checker could be used in tests (I assume) to make sure the netcdf files are acceptable.