{"action":"opened","issue":{"url":"https://api.github.com/repos/alistairmgreen/jsigc/issues/19","labels_url":"https://api.github.com/repos/alistairmgreen/jsigc/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/alistairmgreen/jsigc/issues/19/comments","events_url":"https://api.github.com/repos/alistairmgreen/jsigc/issues/19/events","html_url":"https://github.com/alistairmgreen/jsigc/issues/19","id":115990599,"number":19,"title":"Cannot handle position fixes that appear out of time sequence","user":{"login":"alistairmgreen","id":12075196,"avatar_url":"https://avatars.githubusercontent.com/u/12075196?v=3","gravatar_id":"","url":"https://api.github.com/users/alistairmgreen","html_url":"https://github.com/alistairmgreen","followers_url":"https://api.github.com/users/alistairmgreen/followers","following_url":"https://api.github.com/users/alistairmgreen/following{/other_user}","gists_url":"https://api.github.com/users/alistairmgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/alistairmgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistairmgreen/subscriptions","organizations_url":"https://api.github.com/users/alistairmgreen/orgs","repos_url":"https://api.github.com/users/alistairmgreen/repos","events_url":"https://api.github.com/users/alistairmgreen/events{/privacy}","received_events_url":"https://api.github.com/users/alistairmgreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T23:23:41Z","updated_at":"2015-11-09T23:23:41Z","closed_at":null,"body":"Reported by @brisbori:\r\n\r\n> I've found another bug, but it could be someone else's.  The attached file from the recent Queensland state championships shows it- load it in any version and look at the barogram.\r\n\r\n> To see what's happening, just load the IGC file into a text editor and search for \"F0158232307160908271948\".  The surrounding B records show a negative time difference between successive fixes, which of course causes the parsePosition function to move the date on a day. This happens again during the flight.\r\n\r\n> Rather than think too hard about a fix I've taken a closer look.  It looks like a group of six spurious fixes filling in in place of what should be six fixes in normal sequence. Position shown is identical in all the spurious fixes and the recording interval is 1 second, and consistent with where the glider was at the preceding fix, not where it was at the time shown on the iffy fix.   I'm sure this is not how an approved logger should behave.\r\n\r\n> Other points:  there are a lot of \"V\" fixes round there, suggesting the GPS is struggling.  The Clearnav manual says it records and saves internally in a binary format so we could be looking at an artefact of the download software.\r\n\r\n> I've no access to SeeYou, but Tasknav shows the file normally with a gap at where the interpolation takes place.  I've looked at other files from the competition (same pilot different days) and they are normal.\r\n\r\n> Possible actions:\r\n\r\n> 1. (Very easy).  Ignore.  Non-compliant files aren't our problem and it could be a one-off.  Maybe put on the back burner in case it happens again.\r\n\r\n> 2. (Easy).  Instead of just checking for a negative time change in the parsePosition function, check for a large negative change. Result will be a sensible looking display, with minor local inaccuracies.\r\n\r\n> 3. (slightly less easy) Identify time going backwards as evidence of a dodgy fix and reject.\r\n\r\n"}}