IOOS1_2_ConventionsValidator#

class compliance_checker.ioos.IOOS1_2_ConventionsValidator(split_func=None)[source]#

Methods

expected_type

alias of str

validator_func(self, input_value)

Function that should validate the result of a given input value

validate

validate_type

Attributes Summary

validator_fail_msg

validator_regex

Methods Summary

__init__([split_func])

validate(input_name, input_value)

validate_type(input_name, input_value)

validator_func(self, input_value)

Function that should validate the result of a given input value

Attributes Documentation

validator_fail_msg = '{} must contain the string "IOOS 1.2"'#
validator_regex = '\\bIOOS-1.2\\b'#

Methods Documentation

__init__(split_func=None)#
validate(input_name, input_value)#
validate_type(input_name, input_value)#
validator_func(self, input_value)#

Function that should validate the result of a given input value