{"action":"created","issue":{"url":"https://api.github.com/repos/ioos/compliance-checker/issues/455","repository_url":"https://api.github.com/repos/ioos/compliance-checker","labels_url":"https://api.github.com/repos/ioos/compliance-checker/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/ioos/compliance-checker/issues/455/comments","events_url":"https://api.github.com/repos/ioos/compliance-checker/issues/455/events","html_url":"https://github.com/ioos/compliance-checker/issues/455","id":197261930,"number":455,"title":"checker appears to adjust timezone incorrectly","user":{"login":"jpotemra","id":4795284,"avatar_url":"https://avatars.githubusercontent.com/u/4795284?v=3","gravatar_id":"","url":"https://api.github.com/users/jpotemra","html_url":"https://github.com/jpotemra","followers_url":"https://api.github.com/users/jpotemra/followers","following_url":"https://api.github.com/users/jpotemra/following{/other_user}","gists_url":"https://api.github.com/users/jpotemra/gists{/gist_id}","starred_url":"https://api.github.com/users/jpotemra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpotemra/subscriptions","organizations_url":"https://api.github.com/users/jpotemra/orgs","repos_url":"https://api.github.com/users/jpotemra/repos","events_url":"https://api.github.com/users/jpotemra/events{/privacy}","received_events_url":"https://api.github.com/users/jpotemra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-22T20:38:59Z","updated_at":"2017-01-01T16:13:24Z","closed_at":null,"body":"I'm running cchecker.py version 3.0.0 on a local netcdf file.  The times in the metadata are all of the form:\r\n\ttime:units = \"minutes since 2008-01-01T00:00:00-10:00\" ;\r\n\t\t:time_coverage_start = \"2016-08-28T01:15:00-10:00\" ;\r\n\t\t:time_coverage_end = \"2016-08-28T23:00:00-10:00\" ;\r\nThe actual time values in the file are:\r\ntime = 4553355, 4553370, 4553385, 4553400, 4553415, 4553430, 4553445, \r\n    4553460, 4553475, 4553490, 4553505, 4553520, 4553535, 4553550, 4553565, \r\n    4553580, 4553715, 4553730, 4553745, 4553760, 4553775, 4553790, 4553805, \r\n    4553820, 4553835, 4553850, 4553865, 4553880, 4553895, 4553910, 4553925, \r\n    4553940, 4553955, 4553970, 4553985, 4554000, 4554015, 4554030, 4554045, \r\n    4554060, 4554075, 4554090, 4554105, 4554120, 4554135, 4554150, 4554165, \r\n    4554180, 4554195, 4554210, 4554225, 4554240, 4554255, 4554270, 4554285, \r\n    4554300, 4554315, 4554330, 4554345, 4554360, 4554375, 4554390, 4554405, \r\n    4554420, 4554435, 4554450, 4554465, 4554480, 4554495, 4554510, 4554525, \r\n    4554540, 4554555, 4554570, 4554585, 4554600, 4554615, 4554630, 4554645, \r\n    4554660 ;\r\n\r\ni believe these to be consistent with the time_coverage_start and time_coverage_end.  However, the compliance checker returns the following warning:\r\n\r\nName                             Priority:     Score:Reasoning\r\n--------------------------------------------------------------------------------\r\ntime_coverage_extents_match            :2:     0/ 2 : Date time mismatch between\r\n                                                      time_coverage_start and\r\n                                                      actual time values\r\n                                                      2016-08-28T11:15:00\r\n                                                      (time_coverage_start) !=\r\n                                                      2016-08-27T15:15:00\r\n                                                      (time[0]), Date time\r\n                                                      mismatch between\r\n                                                      time_coverage_end and\r\n                                                      actual time values\r\n                                                      2016-08-29T09:00:00\r\n                                                      (time_coverage_end) !=\r\n                                                      2016-08-28T13:00:00\r\n                                                      (time[N])\r\n\r\nIt would appear that the compliance checker is attempting to convert from UTC to local time incorrectly, perhaps an addition/subtraction swap (?).  "},"comment":{"url":"https://api.github.com/repos/ioos/compliance-checker/issues/comments/269908877","html_url":"https://github.com/ioos/compliance-checker/issues/455#issuecomment-269908877","issue_url":"https://api.github.com/repos/ioos/compliance-checker/issues/455","id":269908877,"user":{"login":"daf","id":228715,"avatar_url":"https://avatars.githubusercontent.com/u/228715?v=3","gravatar_id":"","url":"https://api.github.com/users/daf","html_url":"https://github.com/daf","followers_url":"https://api.github.com/users/daf/followers","following_url":"https://api.github.com/users/daf/following{/other_user}","gists_url":"https://api.github.com/users/daf/gists{/gist_id}","starred_url":"https://api.github.com/users/daf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daf/subscriptions","organizations_url":"https://api.github.com/users/daf/orgs","repos_url":"https://api.github.com/users/daf/repos","events_url":"https://api.github.com/users/daf/events{/privacy}","received_events_url":"https://api.github.com/users/daf/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T16:13:24Z","updated_at":"2017-01-01T16:13:24Z","body":"@jpotemra the attachment didn't come through in github's issue page.  \r\n\r\n@lukecampbell there's a link to a sample file in Jim's ioos_tech post, I think https://groups.google.com/d/msg/ioos_tech/-FkfB_OAWRI/HgJV5GuxCQAJ is a link to his message but who knows how to actually operate google groups..."}}
{"actor":{"display_login":"daf"}}