Skip to content

Correct errors from IOOS compliance checker

Conda install into new env (sensor-data): https://github.com/ioos/compliance-checker/wiki/Installation

compliance-checker --test=cf:1.6 sensor_data\deer_group_sensor1\deer_group_sensor1_1S11414_20210921-20220210_flagged.nc or can output to text file. Instructions here: https://github.com/ioos/compliance-checker

For reference, standard names here: https://cfconventions.org/Data/cf-standard-names/current/build/cf-standard-name-table.html

ERRORS

§2.2 Data Types
* The variable time failed because the datatype is int64
* The variable qc_flag failed because the datatype is int64

§3.3 Standard Name
* Attribute long_name or/and standard_name is highly recommended for variable longitude
* Attribute long_name or/and standard_name is highly recommended for variable latitude
* Attribute long_name or/and standard_name is highly recommended for variable depth

§3.5 Flags
* qc_flag's flag_values must be an array of values not <class 'str'>