The cf-checker is a tool to check the compliance of netCDF files against the Climate and Forecast metadata conventions.
It is developed by NCAS CMS - see source on PyPI. The version in this cedadev GitHub area includes a wrapper script maintained by CEDA.
For installation and usage information, see the README.
There are also online implementations of the checker. (These are suitable for occasional use, with small files. To check large volumes of data, you should install the checker on your own system.)
See notes on calling the CF-Checker directly from Python.