IOOSSOSGCCheck#
- class compliance_checker.ioos.IOOSSOSGCCheck(options=None)[source]#
Methods
get_test_ctx
(severity, name[, variable])Creates an existing TestCtx object in _defined_results dict if it does not exist for the current checker instance, or an returns the existing TestCtx for modification.
setup
(ds)Common setup method for a Checker.
check_high
check_recommended
check_suggested
Attributes Summary
Methods Summary
__init__
([options])check_high
(ds)check_suggested
(ds)get_test_ctx
(severity, name[, variable])Creates an existing TestCtx object in _defined_results dict if it does not exist for the current checker instance, or an returns the existing TestCtx for modification.
setup
(ds)Common setup method for a Checker.
Attributes Documentation
- HIGH = 3#
- LOW = 1#
- MEDIUM = 2#
- ns = {'gml': 'http://www.opengis.net/gml', 'ows': 'http://www.opengis.net/ows/1.1', 'sos': 'http://www.opengis.net/sos/1.0', 'xlink': 'http://www.w3.org/1999/xlink'}#
- register_checker = True#
- supported_ds = [<class 'owslib.swe.observation.sos100.SensorObservationService_1_0_0'>]#
Methods Documentation
- __init__(options=None)#
- get_test_ctx(severity, name, variable=None)#
Creates an existing TestCtx object in _defined_results dict if it does not exist for the current checker instance, or an returns the existing TestCtx for modification. Takes a severity level and name and uses the two element tuple formed by the arguments as a key into the dict.
- Parameters:
severity (int) – A BaseCheck severity level
name (str) – The name of the check
- Rtype compliance_checker.base.TestCtx:
- Returns:
A new or or existing TestCtx instance taken from this instance’s _defined_results dict
- setup(ds)#
Common setup method for a Checker.
Automatically run when running a CheckSuite. Define this method in your Checker class.