{"action":"opened","issue":{"url":"https://api.github.com/repos/aodn/compliance-checker/issues/90","labels_url":"https://api.github.com/repos/aodn/compliance-checker/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/aodn/compliance-checker/issues/90/comments","events_url":"https://api.github.com/repos/aodn/compliance-checker/issues/90/events","html_url":"https://github.com/aodn/compliance-checker/issues/90","id":115792902,"number":90,"title":"IMOS - DEPTH_num_obs is no vertical coordinate","user":{"login":"ggalibert","id":3498686,"avatar_url":"https://avatars.githubusercontent.com/u/3498686?v=3","gravatar_id":"","url":"https://api.github.com/users/ggalibert","html_url":"https://github.com/ggalibert","followers_url":"https://api.github.com/users/ggalibert/followers","following_url":"https://api.github.com/users/ggalibert/following{/other_user}","gists_url":"https://api.github.com/users/ggalibert/gists{/gist_id}","starred_url":"https://api.github.com/users/ggalibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggalibert/subscriptions","organizations_url":"https://api.github.com/users/ggalibert/orgs","repos_url":"https://api.github.com/users/ggalibert/repos","events_url":"https://api.github.com/users/ggalibert/events{/privacy}","received_events_url":"https://api.github.com/users/ggalibert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aodn/compliance-checker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aodn/compliance-checker/labels/priority_MED","name":"priority_MED","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T04:56:52Z","updated_at":"2015-11-09T04:56:52Z","closed_at":null,"body":"The following variable DEPTH_num_obs:\r\n\r\n```\r\n        float DEPTH(TIME) ;\r\n                DEPTH:_FillValue = 999999.f ;\r\n                DEPTH:ancillary_variables = \"DEPTH_num_obs DEPTH_sd DEPTH_min DEPTH_max\" ;\r\n                DEPTH:cell_methods = \"time: mean\" ;\r\n                DEPTH:coordinates = \"TIME LATITUDE LONGITUDE NOMINAL_DEPTH\" ;\r\n                DEPTH:long_name = \"Mean of actual depth values in time bin, after rejection of flagged data\" ;\r\n                DEPTH:positive = \"down\" ;\r\n                DEPTH:reference_datum = \"sea surface\" ;\r\n                DEPTH:standard_name = \"depth\" ;\r\n                DEPTH:units = \"metres\" ;\r\n                DEPTH:valid_max = 12000. ;\r\n                DEPTH:valid_min = -5. ;\r\n        int DEPTH_num_obs(TIME) ;\r\n                DEPTH_num_obs:_FillValue = 999999 ;\r\n                DEPTH_num_obs:long_name = \"Number of observations in time bin included in time bin average\" ;\r\n                DEPTH_num_obs:standard_name = \"depth number_of_observations\" ;\r\n                DEPTH_num_obs:units = \"1\" ;\r\n```\r\ntriggers the following error:\r\n```\r\n    DEPTH_num_obs                      :3:     4/11 :  \r\n        positive                       :3:     0/ 1 :  \r\n            vertical                   :3:     0/ 1 : Variable DEPTH_num_obs\r\n                                                      appears to be a vertical\r\n                                                      coordinate, should have\r\n                                                      attribute positive =\r\n                                                      'down'\r\n        reference_datum                :3:     0/ 1 :  \r\n            type                       :3:     0/ 1 : Variable attribute\r\n                                                      DEPTH_num_obs:reference_da\r\n                                                      tum not present\r\n        standard_name                  :3:     1/ 2 :  \r\n            vertical                   :3:     0/ 1 : Variable DEPTH_num_obs\r\n                                                      appears to be a vertical\r\n                                                      coordinate, should have\r\n                                                      attribute standard_name =\r\n                                                      'depth'\r\n        valid_max                      :3:     0/ 1 :  \r\n            present                    :3:     0/ 1 : Variable attribute\r\n                                                      DEPTH_num_obs:valid_max\r\n                                                      not present\r\n        valid_min                      :3:     0/ 1 :  \r\n            present                    :3:     0/ 1 : Variable attribute\r\n                                                      DEPTH_num_obs:valid_min\r\n                                                      not present\r\n        variable_type                  :2:     0/ 1 : Variable DEPTH_num_obs\r\n                                                      should have type Double or\r\n                                                      Float\r\n```\r\nSince we're dealing with a number of observations, as an ancillary variable, there should be an exception for this kind of variable.\r\n\r\nSame comment for DEPTH_sd representing standard_error."}}