BaseNCCheck#

class compliance_checker.base.BaseNCCheck[source]#

Base Class for NetCDF Dataset supporting Check Suites.

Methods

std_check_in(dataset, name, allowed_vals)

Returns 0 if attr not present, 1 if present but not in correct value, 2 if good

std_check

Attributes Summary

supported_ds

Methods Summary

__init__(*args, **kwargs)

std_check(dataset, name)

std_check_in(dataset, name, allowed_vals)

Returns 0 if attr not present, 1 if present but not in correct value, 2 if good

Attributes Documentation

supported_ds = [<class 'netCDF4._netCDF4.Dataset'>]#

Methods Documentation

__init__(*args, **kwargs)#
classmethod std_check(dataset, name)[source]#
classmethod std_check_in(dataset, name, allowed_vals)[source]#

Returns 0 if attr not present, 1 if present but not in correct value, 2 if good