{
  "id": 438546,
  "title": "Timestamps are a poor proxy for daylight?",
  "url": "/competitions/child-mind-institute-detect-sleep-states/discussion/438546",
  "author_name": "Quillen",
  "post_date": "2023-09-11T16:48:58.982000",
  "votes": 4,
  "comment_count": 3,
  "views": 0,
  "content": "<p><strong>Food for thought:</strong></p>\n<p>In NYC, there are 6 more hours of sunlight at summer solstice than winter solstice. Clearly, the clock is a poor indicator of sunrise/sunset whether or not you use DST.  Even with DST, sunrise and sunset vary by 2 and 4 hours respectively throughout the year.</p>\n<p>If we want to capture information about \"natural\" circadian rhythms, maybe it's worth engineering a feature that accurately portrays the amount of sunlight?</p>\n<p>On the other hand, NYC is full of artificial lighting and screens are a ubiquitous source of blue light.  So perhaps timestamps are a <em>good enough</em> proxy for daylight in a modern urban environment ?</p>\n<p>See <a href=\"https://www.timeanddate.com/sun/usa/new-york\" target=\"_blank\">this website</a> if you want to play around with visuals of sun vs. clock time.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8650491%2Fb705a8f6c9d88ac14412ca009eff9523%2Fsungraph.jpg?generation=1694374138797547&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": 2433554,
      "postDate": "2023-09-11T16:48:58.983Z",
      "content": "<p><strong>Food for thought:</strong></p>\n<p>In NYC, there are 6 more hours of sunlight at summer solstice than winter solstice. Clearly, the clock is a poor indicator of sunrise/sunset whether or not you use DST.  Even with DST, sunrise and sunset vary by 2 and 4 hours respectively throughout the year.</p>\n<p>If we want to capture information about \"natural\" circadian rhythms, maybe it's worth engineering a feature that accurately portrays the amount of sunlight?</p>\n<p>On the other hand, NYC is full of artificial lighting and screens are a ubiquitous source of blue light.  So perhaps timestamps are a <em>good enough</em> proxy for daylight in a modern urban environment ?</p>\n<p>See <a href=\"https://www.timeanddate.com/sun/usa/new-york\" target=\"_blank\">this website</a> if you want to play around with visuals of sun vs. clock time.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8650491%2Fb705a8f6c9d88ac14412ca009eff9523%2Fsungraph.jpg?generation=1694374138797547&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "**Food for thought:**\n\nIn NYC, there are 6 more hours of sunlight at summer solstice than winter solstice. Clearly, the clock is a poor indicator of sunrise/sunset whether or not you use DST.  Even with DST, sunrise and sunset vary by 2 and 4 hours respectively throughout the year.\n\nIf we want to capture information about \"natural\" circadian rhythms, maybe it's worth engineering a feature that accurately portrays the amount of sunlight?\n\nOn the other hand, NYC is full of artificial lighting and screens are a ubiquitous source of blue light.  So perhaps timestamps are a *good enough* proxy for daylight in a modern urban environment ?\n\nSee [this website](https://www.timeanddate.com/sun/usa/new-york) if you want to play around with visuals of sun vs. clock time.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8650491%2Fb705a8f6c9d88ac14412ca009eff9523%2Fsungraph.jpg?generation=1694374138797547&alt=media)",
      "votes": 4
    },
    {
      "id": 2435908,
      "postDate": "2023-09-13T08:48:26.977Z",
      "content": "<p>If you use the Python library \"PyEphem\", you can input the time, latitude and longitude, and output the sunrise and sunset times (including the moon).</p>",
      "rawMarkdown": "If you use the Python library \"PyEphem\", you can input the time, latitude and longitude, and output the sunrise and sunset times (including the moon).",
      "votes": 1
    },
    {
      "id": 2434213,
      "postDate": "2023-09-12T06:42:59.210Z",
      "content": "<p>Quite an interesting view. Would love to see the takes of an experienced or Competition Author on this. Thank you for sharing!</p>",
      "rawMarkdown": "Quite an interesting view. Would love to see the takes of an experienced or Competition Author on this. Thank you for sharing!"
    },
    {
      "id": 2433608,
      "postDate": "2023-09-11T17:15:55.893Z",
      "content": "<p>Very interesting. Thank you for sharing <a href=\"https://www.kaggle.com/quillen\" target=\"_blank\">@quillen</a> </p>",
      "rawMarkdown": "Very interesting. Thank you for sharing @quillen ",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2435908,
      "author_name": "mh",
      "author_url": "",
      "post_date": "2023-09-13T08:48:26.977000",
      "content": "<p>If you use the Python library \"PyEphem\", you can input the time, latitude and longitude, and output the sunrise and sunset times (including the moon).</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2434213,
      "author_name": "TheChessEngineer",
      "author_url": "",
      "post_date": "2023-09-12T06:42:59.210000",
      "content": "<p>Quite an interesting view. Would love to see the takes of an experienced or Competition Author on this. Thank you for sharing!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2433608,
      "author_name": "Bhargav Kowshik",
      "author_url": "",
      "post_date": "2023-09-11T17:15:55.893000",
      "content": "<p>Very interesting. Thank you for sharing <a href=\"https://www.kaggle.com/quillen\" target=\"_blank\">@quillen</a> </p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2433554": "**Food for thought:**\n\nIn NYC, there are 6 more hours of sunlight at summer solstice than winter solstice. Clearly, the clock is a poor indicator of sunrise/sunset whether or not you use DST.  Even with DST, sunrise and sunset vary by 2 and 4 hours respectively throughout the year.\n\nIf we want to capture information about \"natural\" circadian rhythms, maybe it's worth engineering a feature that accurately portrays the amount of sunlight?\n\nOn the other hand, NYC is full of artificial lighting and screens are a ubiquitous source of blue light.  So perhaps timestamps are a *good enough* proxy for daylight in a modern urban environment ?\n\nSee [this website](https://www.timeanddate.com/sun/usa/new-york) if you want to play around with visuals of sun vs. clock time.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8650491%2Fb705a8f6c9d88ac14412ca009eff9523%2Fsungraph.jpg?generation=1694374138797547&alt=media)",
    "2435908": "If you use the Python library \"PyEphem\", you can input the time, latitude and longitude, and output the sunrise and sunset times (including the moon).",
    "2434213": "Quite an interesting view. Would love to see the takes of an experienced or Competition Author on this. Thank you for sharing!",
    "2433608": "Very interesting. Thank you for sharing @quillen "
  }
}