validate

hermes_core.util.validation.validate(file_path: Path) list[str][source]

Validate a data file such as a CDF.

Parameters:

file_path (pathlib.Path) – A fully specified file path of the data file to validate.

Returns:

errors (list[str]) – A list of validation errors returned. A valid file will result in an emppty list being returned.