{"id":50668022,"url":"https://github.com/clockwork72/darkestsky","last_synced_at":"2026-06-08T08:03:34.417Z","repository":{"id":197372148,"uuid":"674278409","full_name":"clockwork72/DarkestSky","owner":"clockwork72","description":"is a Python program designed to suggest the best spots for stargazers. At heart, i still want to be an astronomer xd.","archived":false,"fork":false,"pushed_at":"2024-09-01T02:32:25.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T05:40:38.318Z","etag":null,"topics":["astronomy","folium-maps","geospatial","open-source","pyqt5","python","software-engineering","stargazing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clockwork72.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-03T14:50:45.000Z","updated_at":"2024-09-01T02:32:28.000Z","dependencies_parsed_at":"2024-08-25T19:52:46.550Z","dependency_job_id":"d1c6ca57-2908-45d1-89f1-2f27b5954aa0","html_url":"https://github.com/clockwork72/DarkestSky","commit_stats":null,"previous_names":["hostileninja72/darkestsky","clockwork72/darkestsky"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clockwork72/DarkestSky","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockwork72%2FDarkestSky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockwork72%2FDarkestSky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockwork72%2FDarkestSky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockwork72%2FDarkestSky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clockwork72","download_url":"https://codeload.github.com/clockwork72/DarkestSky/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockwork72%2FDarkestSky/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34053437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","folium-maps","geospatial","open-source","pyqt5","python","software-engineering","stargazing"],"created_at":"2026-06-08T08:03:22.605Z","updated_at":"2026-06-08T08:03:34.396Z","avatar_url":"https://github.com/clockwork72.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Darkest Sky\n\nThis Project represents the convergence of my passion for astronomy with the craft of programming. It servers as a dynamic project where i apply scientific knowledge from astronomy and geography through programming techniques.\n\nMy goal is to make **Darkest sky** a platform where astronomy amateurs can meet at a certain stargazing spot, and organize events.\n\n## How does it suggest the best spot ?\n\nThis software utilizes a [score system](./src/Processing/ScoreCalculator.py) that take into consideration, **light pollution**, **clouds**, **moon phase/brightness**... With each variable having its own **weight**. The [**Coordinate generator**](./src/Processing/CoordinateGenerator.py), as it names suggest, generate coordinates for a given radius, under a grid. It calculates the score for each coordinate and then it output the best spot. \n \n\u003e Coordinate generator utilises geospatial computation to generates the coords in a circular area.\n### Score \nIt is calculated in a straightforward manner, with a linear model. Here are the weights:\n\n```python\nWEIGHTS = {\n        \"light_pollution\": 0.3,\n        \"clouds\": 0.2,\n        \"moon\": 0.15,\n        \"elevation\": 0.1,\n        \"air_quality\": 0.1,\n        \"wind\": 0.05,\n        \"distance\": 0.1\n    }\n```\nThis score mechanism is ofc subject to change, as there are non-linear effects, and threshhold effects. To change a study must be conducted for precision.\n\n\n### Light Pollution\nThe [**light pollution**](./src/DataSource.py) data are from the Word Atlas 2015 dataset provided by the lightpollution api, which provides measurements to estimate light pollution levels.\n\n### Moon data\nMoon data are locally calculated in [Moon handler](./src/Processing/MoonHandler.py) from the `de430.bsp` and `naif0012.tls` files.\n - `de430.bsp`:  This file is part of NASA's DE430 ephemeris, which provides high-precision positional data for celestial bodies, including the **Moon**. It allows for accurate computation of the Moon's position in relation to Earth at any given time, which is essential for understanding its impact on observations and measurements.     \n\n - `naif0012.tls`: This file includes definitions for time systems and reference frames, which are crucial for interpreting the data in SPICE kernels like `de430.bsp`. It ensures that the time and coordinate information used to calculate the Moon's position is correctly aligned with the global reference systems.\n\nThese files are read with the help `spiceypy` library.\n\n### Weather\nFor weather data, We will be using `Visual Crossing Weather API`. It provides most if not all necessary data we need for our project.\n\n## GUI\nAt first, im developing an admin dashboard to visualize the data and to ease admin control over the software.\nWe use `PyQt5` with `folium` for this task. The implementation of the GUI is still under development.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockwork72%2Fdarkestsky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclockwork72%2Fdarkestsky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockwork72%2Fdarkestsky/lists"}