{"action":"created","issue":{"url":"https://api.github.com/repos/aodn/compliance-checker/issues/13","labels_url":"https://api.github.com/repos/aodn/compliance-checker/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/aodn/compliance-checker/issues/13/comments","events_url":"https://api.github.com/repos/aodn/compliance-checker/issues/13/events","html_url":"https://github.com/aodn/compliance-checker/issues/13","id":92515993,"number":13,"title":"CF: unit definition for CDIR variable","user":{"login":"lbesnard","id":2382814,"avatar_url":"https://avatars.githubusercontent.com/u/2382814?v=3","gravatar_id":"","url":"https://api.github.com/users/lbesnard","html_url":"https://github.com/lbesnard","followers_url":"https://api.github.com/users/lbesnard/followers","following_url":"https://api.github.com/users/lbesnard/following{/other_user}","gists_url":"https://api.github.com/users/lbesnard/gists{/gist_id}","starred_url":"https://api.github.com/users/lbesnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbesnard/subscriptions","organizations_url":"https://api.github.com/users/lbesnard/orgs","repos_url":"https://api.github.com/users/lbesnard/repos","events_url":"https://api.github.com/users/lbesnard/events{/privacy}","received_events_url":"https://api.github.com/users/lbesnard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aodn/compliance-checker/labels/file_to_fix","name":"file_to_fix","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-02T00:36:49Z","updated_at":"2015-08-12T04:15:17Z","closed_at":null,"body":"The CDIR (direction_of_sea_water_velocity) unit attribut is defined as ```Degrees clockwise from true North``` in an IMOS ADCP file. However, the CF unit for this standard name should be ```degree``` (also to mention they both use degree and degrees for different direction variables which doesn't seem really consistent)\r\n\r\nbeing CF compliant would lead to information loss in this case. For something such as the direction, it makes a big difference to know which North we're talking about. I can't find any information on this matter on the CF documentation.\r\n\r\nDoes this mean that we would need a different variable attribute, such as unit_long_name to describe the unit better (or to put the information in the comment attribute) ?\r\n\r\n__UPDATE__\r\nsimilar issue with ```platform_yaw_angle``` standard name"},"comment":{"url":"https://api.github.com/repos/aodn/compliance-checker/issues/comments/130155174","html_url":"https://github.com/aodn/compliance-checker/issues/13#issuecomment-130155174","issue_url":"https://api.github.com/repos/aodn/compliance-checker/issues/13","id":130155174,"user":{"login":"mhidas","id":3579859,"avatar_url":"https://avatars.githubusercontent.com/u/3579859?v=3","gravatar_id":"","url":"https://api.github.com/users/mhidas","html_url":"https://github.com/mhidas","followers_url":"https://api.github.com/users/mhidas/followers","following_url":"https://api.github.com/users/mhidas/following{/other_user}","gists_url":"https://api.github.com/users/mhidas/gists{/gist_id}","starred_url":"https://api.github.com/users/mhidas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhidas/subscriptions","organizations_url":"https://api.github.com/users/mhidas/orgs","repos_url":"https://api.github.com/users/mhidas/repos","events_url":"https://api.github.com/users/mhidas/events{/privacy}","received_events_url":"https://api.github.com/users/mhidas/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T04:15:17Z","updated_at":"2015-08-12T04:15:17Z","body":"@ggalibert I think that would be a reasonable solution, at least until CF respond to the issue. So to summarise, for any variable that is a direction in the horizontal plane, we will have three attributes:\r\n```\r\nunits = \"degree\"\r\npositive = \"clockwise\"\r\nreference_datum = \"true North\"\r\n```\r\n\r\nRegarding your comment about \"to\" or \"from\" directions, I think this is only potentially ambiguous for a *process* like wind or waves, because their directions can reasonably be described in both ways. For a *vector* like velocity or even a compass heading, I think \"to\" is the only one that makes sense."}}