Closed bouweandela closed 6 years ago
Checking if a yaml file contains the required information should probably be done by creating a yaml schema file.
The checks could then be perfomed using for example this library: https://github.com/23andMe/Yamale
This would be a much more robust and easy way to perform the checks currently defined in e.g. namelistchecks.py
There is unfortunately no standard for yaml schema files. But I agree that even a non-standard schema format would make it easier to verify the namelist files.
Checking if a yaml file contains the required information should probably be done by creating a yaml schema file.
The checks could then be perfomed using for example this library: https://github.com/23andMe/Yamale
This would be a much more robust and easy way to perform the checks currently defined in e.g. namelistchecks.py