{"id":18426256,"url":"https://github.com/hueyy/whetherreport","last_synced_at":"2025-04-07T16:32:30.819Z","repository":{"id":105111794,"uuid":"432718683","full_name":"hueyy/WhetherReport","owner":"hueyy","description":"Check the accuracy of NEA's 🌧 rainfall predictions","archived":false,"fork":false,"pushed_at":"2023-11-19T04:22:39.000Z","size":96,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T14:53:17.258Z","etag":null,"topics":["clojure","data-gov-sg","hacktoberfest","rainfall","singapore","weather","weather-forecast"],"latest_commit_sha":null,"homepage":"https://whether.huey.xyz","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hueyy.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}},"created_at":"2021-11-28T13:22:39.000Z","updated_at":"2023-11-12T17:14:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1d385dd-2fea-4e5b-9720-ac6175b31be8","html_url":"https://github.com/hueyy/WhetherReport","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"7a73f6017a8db2643e2a0007c195dc843def9092"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueyy%2FWhetherReport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueyy%2FWhetherReport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueyy%2FWhetherReport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueyy%2FWhetherReport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hueyy","download_url":"https://codeload.github.com/hueyy/WhetherReport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247688148,"owners_count":20979612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clojure","data-gov-sg","hacktoberfest","rainfall","singapore","weather","weather-forecast"],"created_at":"2024-11-06T05:07:29.107Z","updated_at":"2025-04-07T16:32:30.479Z","avatar_url":"https://github.com/hueyy.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Whether Report\n\nThis project tracks the accuracy of the [Meteorological Service Singapore](http://www.weather.gov.sg/weather-forecast-2hrnowcast-2/) (MSS)'s weather forecasts (also available on [NEA's myENV mobile app](https://va.ecitizen.gov.sg/CFP/CustomerPages/NEA_google/displayresult.aspx?MesId=3725718\u0026Source=Google\u0026url=va.ecitizen.gov.sg)) by comparing rainfall recorded by the National Environment Agency (NEA)'s weather stations against the 2-hour forecasts made by MSS for the same time period.\n\n## Limitations\n\nPlease note the following:\n\n- Only MSS's 2-hour weather forecasts are currently being analysed\n- MSS's historical forecast data and NEA's historical weather conditions data are not fully comprehensive, and any missing or invalid data is ignored\n- Since MSS's forecasts do not necessarily cover the same location where  NEA's weather stations are located, data from the closest few stations are used. It is therefore possible, e.g. that rainfall predicted by MSS is not recorded by NEA's weather station\n- Weather forecasts are assessed leniently, i.e. if MSS forecasts rain in any form (e.g. Light Showers, Drizzle, Heavy Rain, Thundery Showers, etc.), and there is any precipitation at all within the 2-hour period covered by that forecast, it is considered to be correct (and vice-versa for non-rain forecasts, e.g. Windy, Fair, Cloudy, etc.)\n\n## Development\n\nRun the backend:\n\n```bash\ncd backend\nlein run\n```\n\nThen run the frontend:\n\n```bash\ncd ../frontend\nnpm run dev\n```\n\nIn Docker:\n\n```bash\ndocker build . -t whether\ndocker run -p 8000:8000 whether\n```\n\n# Production\n\nTo update data:\n\n```\ncd frontend\nnpm run build\n\ncd backend\nlein trampoline run -m whether.main --cron-x 2022-09-11T00:00:00+08:00 2023-01-28T00:00:00+08:00\n```\n\n```bash\nexport IS_PRODUCTION=true\nlein trampoline run -m whether.main --build\nnetlify deploy --prod\n```\n\n## Data\n\nThis project uses data from [data.gov.sg](https://data.gov.sg) that was made available under the terms of the [Singapore Open Data Licence v1.0](https://data.gov.sg/open-data-licence).\n\n```bash\nlein trampoline run -m whether.main --cron-30\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueyy%2Fwhetherreport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhueyy%2Fwhetherreport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueyy%2Fwhetherreport/lists"}