aodn / compliance-checker

Python tool to check your datasets vs compliance standards. Forked to include AODN specific modifications.
Apache License 2.0
1 stars 0 forks source link

Fix to check standard_name values on quality control variables only f… #95

Closed ggalibert closed 8 years ago

ggalibert commented 8 years ago

…or variables that actually uses a standard_name.

There's no need to check qc variable standard names values for variables that don't have standard names!

ggalibert commented 8 years ago

Don't merge yet, will work on unit tests for this.

ggalibert commented 8 years ago

@mhidas Ready to be reviewed. Unit test and netcdf file fixed.

Modification on the netcdf file are as follow:

ggalibert@10-nsp-mel:~/compliance-checker$ diff /tmp/imos_variable_test.dump /tmp/imos_variable_test.dumpfixed
18a19
>                 LONGITUDE:ancillary_variables = "LONGITUDE_quality_control" ;
ggalibert commented 8 years ago

Thank, took your last comment into account.

mhidas commented 8 years ago

:+1: Thanks.