{
  "id": 241513,
  "title": "times in _derived.csv files differs at more than second",
  "url": "/competitions/google-smartphone-decimeter-challenge/discussion/241513",
  "author_name": "",
  "post_date": "2021-05-24T21:01:44.057695Z",
  "votes": 8,
  "comment_count": 7,
  "views": 0,
  "content": "<p>derived.csv files contains two times - one is current time in milliseconds, other one is nanoseconds when the signal was sent.<br>\nThere are first line from data\\train\\2020-05-14-US-MTV-1\\Pixel4\\Pixel4_derived.csv <br>\nmillisSinceGpsEpoch    receivedSvTimeInGpsNanos<br>\n1273529464442    1273529463363060000<br>\nor    1273529464.442<br>\nand 1273529463.36306<br>\nin seconds<br>\nSo the signal traveled more then one second<br>\nBut that means distance more than 300 000 000 meters though aproximate psevdorange is just 23 794 983.73 (based on same line)<br>\nHave anybody understanding, how can it be?</p>\n<p>Thank you<br>\nIlya</p>",
  "messages": [
    {
      "id": "1321675",
      "postDate": "05/24/2021 21:01:44",
      "content": "<p>derived.csv files contains two times - one is current time in milliseconds, other one is nanoseconds when the signal was sent.<br>\nThere are first line from data\\train\\2020-05-14-US-MTV-1\\Pixel4\\Pixel4_derived.csv <br>\nmillisSinceGpsEpoch    receivedSvTimeInGpsNanos<br>\n1273529464442    1273529463363060000<br>\nor    1273529464.442<br>\nand 1273529463.36306<br>\nin seconds<br>\nSo the signal traveled more then one second<br>\nBut that means distance more than 300 000 000 meters though aproximate psevdorange is just 23 794 983.73 (based on same line)<br>\nHave anybody understanding, how can it be?</p>\n<p>Thank you<br>\nIlya</p>",
      "rawMarkdown": "derived.csv files contains two times - one is current time in milliseconds, other one is nanoseconds when the signal was sent.\nThere are first line from data\\train\\2020-05-14-US-MTV-1\\Pixel4\\Pixel4_derived.csv \nmillisSinceGpsEpoch\treceivedSvTimeInGpsNanos\n1273529464442\t1273529463363060000\nor    1273529464.442\nand 1273529463.36306\nin seconds\nSo the signal traveled more then one second\nBut that means distance more than 300 000 000 meters though aproximate psevdorange is just 23 794 983.73 (based on same line)\nHave anybody understanding, how can it be?\n\nThank you\nIlya",
      "votes": null
    },
    {
      "id": "1322198",
      "postDate": "05/25/2021 09:07:21",
      "content": "<p>Looks like there is a leap second</p>\n<p>1273529464.442<br>\nminus<br>\n1273529463.36306</p>\n<hr>\n<p>1.07894</p>\n<p>0.07894 - is almost correct delta for signal traveling time<br>\n0.07894 * 299 792 458 = 23665587.85<br>\nwith rawPrM 23794983.73</p>\n<p>It is much more accurate, but there is still 100km delta<br>\nAnd I still have not idea of that delta </p>",
      "rawMarkdown": "Looks like there is a leap second\n\n\n\n1273529464.442\nminus\n1273529463.36306\n___________________\n1.07894\n\n0.07894 - is almost correct delta for signal traveling time\n0.07894 * 299 792 458 = 23665587.85\nwith rawPrM 23794983.73\n\nIt is much more accurate, but there is still 100km delta\nAnd I still have not idea of that delta",
      "votes": null
    },
    {
      "id": "1325201",
      "postDate": "05/27/2021 15:09:45",
      "content": "<p>Hi IIya,</p>\n<pre><code> The time difference not only includes the signal travel time, but also the clock bias between the phone and the satellite. The travel time is usually 70-80ms, and the rest is the receiver clock bias that needs to be estimated. This is an interesting application of GNSS by the way, because solving this clock bias can synchronize your receiver's clock with accurate global GNSS time. \n</code></pre>\n<p>Hope this helps,<br>\nMichael </p>",
      "rawMarkdown": "Hi IIya,\n\n     The time difference not only includes the signal travel time, but also the clock bias between the phone and the satellite. The travel time is usually 70-80ms, and the rest is the receiver clock bias that needs to be estimated. This is an interesting application of GNSS by the way, because solving this clock bias can synchronize your receiver's clock with accurate global GNSS time. \n\nHope this helps,\nMichael",
      "votes": null
    },
    {
      "id": "1325227",
      "postDate": "05/27/2021 15:23:35",
      "content": "<p>Yes, but pseudorange (not the geometric range) should include this time bias as error. Pseudorange is just a time difference multiplied to the speed of lights, nothing more. But time difference from csv file is not match pseudorange from same file. It would be nice to know, how you calculate rawPrM column, because it is not match C1C mesuarment from rinex files too.</p>",
      "rawMarkdown": "Yes, but pseudorange (not the geometric range) should include this time bias as error. Pseudorange is just a time difference multiplied to the speed of lights, nothing more. But time difference from csv file is not match pseudorange from same file. It would be nice to know, how you calculate rawPrM column, because it is not match C1C mesuarment from rinex files too.",
      "votes": null
    },
    {
      "id": "1325264",
      "postDate": "05/27/2021 15:51:38",
      "content": "<p>I think that millisSinceGpsEpoch is based on the phone time (receiver time), and receivedSvTimeInGpsNanos is based on gps time (satellite) time - so the receiver clock is off by nearly a second there, and that clock bias needs to be solved for (or will be solved for by solving for distance at the same time)</p>\n<p>So in this case, the phone time is nearly a second different than the satellite time</p>",
      "rawMarkdown": "I think that millisSinceGpsEpoch is based on the phone time (receiver time), and receivedSvTimeInGpsNanos is based on gps time (satellite) time - so the receiver clock is off by nearly a second there, and that clock bias needs to be solved for (or will be solved for by solving for distance at the same time)\n\nSo in this case, the phone time is nearly a second different than the satellite time",
      "votes": null
    },
    {
      "id": "1325324",
      "postDate": "05/27/2021 16:43:04",
      "content": "<p>More then second differense for modern smartphone looks strange.<br>\nEven if it so, I stil can not undertsand how calculated rawPrM </p>\n<p>There is a differense for first train track for GPS L1 satalites</p>\n<p>![ <a href=\"https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438\" target=\"_blank\">https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438</a> ]</p>",
      "rawMarkdown": "More then second differense for modern smartphone looks strange.\nEven if it so, I stil can not undertsand how calculated rawPrM \n\nThere is a differense for first train track for GPS L1 satalites\n\n![ https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438 ]",
      "votes": null
    },
    {
      "id": "1354562",
      "postDate": "06/17/2021 16:57:49",
      "content": "<p>Hi llya, the Tip 1 at <a href=\"https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts\" target=\"_blank\">https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts</a> may be relevant to your doubt here. </p>",
      "rawMarkdown": "Hi llya, the Tip 1 at https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts may be relevant to your doubt here.",
      "votes": null
    },
    {
      "id": "1354760",
      "postDate": "06/17/2021 20:46:09",
      "content": "<p>Thank you!</p>",
      "rawMarkdown": "Thank you!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1322198,
      "author_name": "ielenik",
      "author_url": "",
      "post_date": "05/25/2021 09:07:21",
      "content": "<p>Looks like there is a leap second</p>\n<p>1273529464.442<br>\nminus<br>\n1273529463.36306</p>\n<hr>\n<p>1.07894</p>\n<p>0.07894 - is almost correct delta for signal traveling time<br>\n0.07894 * 299 792 458 = 23665587.85<br>\nwith rawPrM 23794983.73</p>\n<p>It is much more accurate, but there is still 100km delta<br>\nAnd I still have not idea of that delta </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1325201,
      "author_name": "gymf123",
      "author_url": "",
      "post_date": "05/27/2021 15:09:45",
      "content": "<p>Hi IIya,</p>\n<pre><code> The time difference not only includes the signal travel time, but also the clock bias between the phone and the satellite. The travel time is usually 70-80ms, and the rest is the receiver clock bias that needs to be estimated. This is an interesting application of GNSS by the way, because solving this clock bias can synchronize your receiver's clock with accurate global GNSS time. \n</code></pre>\n<p>Hope this helps,<br>\nMichael </p>",
      "votes": null,
      "replies": [
        {
          "id": 1325227,
          "author_name": "ielenik",
          "author_url": "",
          "post_date": "05/27/2021 15:23:35",
          "content": "<p>Yes, but pseudorange (not the geometric range) should include this time bias as error. Pseudorange is just a time difference multiplied to the speed of lights, nothing more. But time difference from csv file is not match pseudorange from same file. It would be nice to know, how you calculate rawPrM column, because it is not match C1C mesuarment from rinex files too.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1325264,
          "author_name": "chris62",
          "author_url": "",
          "post_date": "05/27/2021 15:51:38",
          "content": "<p>I think that millisSinceGpsEpoch is based on the phone time (receiver time), and receivedSvTimeInGpsNanos is based on gps time (satellite) time - so the receiver clock is off by nearly a second there, and that clock bias needs to be solved for (or will be solved for by solving for distance at the same time)</p>\n<p>So in this case, the phone time is nearly a second different than the satellite time</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1325324,
          "author_name": "ielenik",
          "author_url": "",
          "post_date": "05/27/2021 16:43:04",
          "content": "<p>More then second differense for modern smartphone looks strange.<br>\nEven if it so, I stil can not undertsand how calculated rawPrM </p>\n<p>There is a differense for first train track for GPS L1 satalites</p>\n<p>![ <a href=\"https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438\" target=\"_blank\">https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438</a> ]</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1354562,
      "author_name": "gymf123",
      "author_url": "",
      "post_date": "06/17/2021 16:57:49",
      "content": "<p>Hi llya, the Tip 1 at <a href=\"https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts\" target=\"_blank\">https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts</a> may be relevant to your doubt here. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1354760,
          "author_name": "ielenik",
          "author_url": "",
          "post_date": "06/17/2021 20:46:09",
          "content": "<p>Thank you!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1321675": "derived.csv files contains two times - one is current time in milliseconds, other one is nanoseconds when the signal was sent.\nThere are first line from data\\train\\2020-05-14-US-MTV-1\\Pixel4\\Pixel4_derived.csv \nmillisSinceGpsEpoch\treceivedSvTimeInGpsNanos\n1273529464442\t1273529463363060000\nor    1273529464.442\nand 1273529463.36306\nin seconds\nSo the signal traveled more then one second\nBut that means distance more than 300 000 000 meters though aproximate psevdorange is just 23 794 983.73 (based on same line)\nHave anybody understanding, how can it be?\n\nThank you\nIlya",
    "1322198": "Looks like there is a leap second\n\n\n\n1273529464.442\nminus\n1273529463.36306\n___________________\n1.07894\n\n0.07894 - is almost correct delta for signal traveling time\n0.07894 * 299 792 458 = 23665587.85\nwith rawPrM 23794983.73\n\nIt is much more accurate, but there is still 100km delta\nAnd I still have not idea of that delta",
    "1325201": "Hi IIya,\n\n     The time difference not only includes the signal travel time, but also the clock bias between the phone and the satellite. The travel time is usually 70-80ms, and the rest is the receiver clock bias that needs to be estimated. This is an interesting application of GNSS by the way, because solving this clock bias can synchronize your receiver's clock with accurate global GNSS time. \n\nHope this helps,\nMichael",
    "1325227": "Yes, but pseudorange (not the geometric range) should include this time bias as error. Pseudorange is just a time difference multiplied to the speed of lights, nothing more. But time difference from csv file is not match pseudorange from same file. It would be nice to know, how you calculate rawPrM column, because it is not match C1C mesuarment from rinex files too.",
    "1325264": "I think that millisSinceGpsEpoch is based on the phone time (receiver time), and receivedSvTimeInGpsNanos is based on gps time (satellite) time - so the receiver clock is off by nearly a second there, and that clock bias needs to be solved for (or will be solved for by solving for distance at the same time)\n\nSo in this case, the phone time is nearly a second different than the satellite time",
    "1325324": "More then second differense for modern smartphone looks strange.\nEven if it so, I stil can not undertsand how calculated rawPrM \n\nThere is a differense for first train track for GPS L1 satalites\n\n![ https://cloclo51.cloud.mail.ru/weblink/view/UGQX/cYL3sZr87?etag=092D2587A31B95FF68B0F626D66EE9BDAA406438 ]",
    "1354562": "Hi llya, the Tip 1 at https://www.kaggle.com/gymf123/tips-notes-from-the-competition-hosts may be relevant to your doubt here.",
    "1354760": "Thank you!"
  },
  "source": "meta"
}