Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheeaun/checkweather-sg
โ๏ธ๐ง Yet another weather app for Singapore
https://github.com/cheeaun/checkweather-sg
3d clouds humidity map rain rainfall singapore temperature weather wind
Last synced: 3 months ago
JSON representation
โ๏ธ๐ง Yet another weather app for Singapore
- Host: GitHub
- URL: https://github.com/cheeaun/checkweather-sg
- Owner: cheeaun
- Created: 2018-04-10T02:51:04.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T02:37:55.000Z (over 1 year ago)
- Last Synced: 2024-05-02T05:37:21.736Z (6 months ago)
- Topics: 3d, clouds, humidity, map, rain, rainfall, singapore, temperature, weather, wind
- Language: JavaScript
- Homepage: https://checkweather.sg/
- Size: 16.9 MB
- Stars: 38
- Watchers: 4
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Check Weather SG
**โ๏ธ๐ง Yet another weather app for Singapore**
## Story
### The Beginning
This [began](https://twitter.com/cheeaun/status/982477428713963527) with my long-time curiosity on how to convert raster radar images into vector on a map. I've been using [Weather.gov.sg's Rain Areas map](http://www.weather.gov.sg/weather-rain-area-50km/) whenever it rains, so I thought if I could convert that raster image to be used on [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js/api/). I could put the whole raster image on Mapbox but choose to make it vector because I like it smoother.
After few trials and errors, I cooked up the [`Rain GeoJSON SG`](https://github.com/cheeaun/rain-geojson-sg) project, a straight-forward API server to convert rain area radar images (Singapore) to GeoJSON.
Since I've gone this far, so I thought "why not?", let's build yet another weather app for Singapore! Thus this project _just happens_.
![2D radar](screenshots/screenshot-2d.png)
![3D radar](screenshots/screenshot-3d.png)
![3D clouds and rain](screenshots/screenshot-clouds.png)**๐ Read more: [Building Check Weather SG](http://cheeaun.com/blog/2018/06/building-check-weather-sg/).**
### The lock-down period
2 years later (2020), I [revisited](https://twitter.com/cheeaun/status/1257305456055222273) this project and rebuilt it:
- โณ Past 2 hours of radar snapshots
- ๐งผ Cleaner UI
- ๐บ Cleaner maps
- ๐ Remove the 3D mode (it's not useful)![V2](screenshots/screenshot-v2.png)
I've also built [an ๐ฑ iOS app](https://github.com/cheeaun/checkweather-sg-native).
And... a plethora of open-source projects to make the impossible possible:
- โ๏ธ [rain-geojson-sg](https://github.com/cheeaun/rain-geojson-sg) - the core API to fetch weather observations and rain radar
- โฐ [checkweather-sg-checker](https://github.com/cheeaun/checkweather-sg-checker) - a scheduled serverless function to keep checking for rain
- โฑ [sg-coverage](https://github.com/cheeaun/sg-coverage) - a script that converts the Singapore boundary into a 217x120 array of indices with values indicating its (land) region excluding the surrounding areas (other countries and water).
- ๐ธ [rainshot](https://github.com/cheeaun/rainshot) - a serverless instance to capture rain radar images
- ๐ฉ [rainshot-checker](https://github.com/cheeaun/rainshot-checker) - A site to experiment contouring the radar data
- ๐ค [sg-rain-radar-scribbler](https://github.com/cheeaun/sg-rain-radar-scribbler) - another site to load rain radar image and generates a JSON output similar to the one generated by `rain-geojson-sg`.## Rain notifications
There are currently 3 channels:
1. Push notifications, via [the iOS app](https://github.com/cheeaun/checkweather-sg-native).
2. [Twitter @checkweathersg](https://twitter.com/checkweathersg)
3. [Telegram channel /checkweathersg](https://t.me/checkweathersg)## Technicalities
[Node.js](https://nodejs.org/en/) is required to run this web app. Here's a list of readily-provided scripts:
- `npm start` - starts a local server for development
- `npm run build` - build the files for production in `dist` folder
- `npm run serve` - starts a local server to preview production build## Copyright & license
- Data ยฉ [Data.gov.sg](https://data.gov.sg/privacy-and-website-terms#site-terms) ยฉ [Meteorological Service Singapore](http://www.weather.gov.sg/terms-of-use) ยฉ [National Environment Agency](http://www.nea.gov.sg/open-data-licence/)
- Code licensed under [MIT](https://cheeaun.mit-license.org/)