🤖 Bot to propogate #sk #wildfire information
🔥 Data Source: https://saskatchewan.ca/fire
⏰ Checks for updates every hour or so
💻 Maintained by @FeXd
🐣 https://twitter.com/SaskWildfire
Sask Wildfire Bot is a Twitter bot dedicated to propogating Saskatchewan wildfire information.
It is written in Python 3 and uses the following packages:
- urllib to pull information from the Saskatchewan Public Safety Agency
- pdf2image to convert pdfs into jpg images
- python-dotenv to set environment variables from a
.env
file
The Saskatchewan Public Safety Agency does a great job updating wildfire status information here... But most of the information including Active Wildfire Map, Current Fire Bans, Daily Fire Danger Map, and Fire Danger Map Tomorrow is stored in a .pdf format.
This bot allows people to subscribe to notifications from @SaskWildfire for up to date wildfire information, rather than feeling the need to navigate to the Wildfire Status page and download .pdf files daily.
- Python 3 with pip
- run
pip install -r requirements.txt
- run
- Poppler
- run
brew install poppler
on macOS - (this is required for pdf conversion using pdf2image)
- run
- Twitter Authentication Tokens via a Twitter Developer Account
- Run Sask Wildfire main script
- run
python main.py
- run
Please feel free to provide feedback through any of the below methods:
- open an issue
- tweet @FeXd or @SaskWildfire
- email [email protected]
This tool has been created independently and is not associated with the Government of Saskatchewan or the Saskatchewan Public Safety Agency. Below are links to official websites for more information about wildfires in Saskatchewan:
- https://saskatchewan.ca/fire
- https://www.saskpublicsafety.ca/emergencies-and-response
- https://www.saskpublicsafety.ca/emergencies-and-response/wildfire-status
- http://environment.gov.sk.ca/firefiles/activefires.pdf
- http://environment.gov.sk.ca/firefiles/firestodate.pdf
- http://environment.gov.sk.ca/firefiles/MunicipalFireBans.pdf
- http://environment.gov.sk.ca/firefiles/DailyFireDangerMaps/today_fwi.pdf
- http://environment.gov.sk.ca/firefiles/DailyFireDangerMaps/tomorrow_fwi.pdf
Copyright (c) 2021 Arlin Schaffel
Licensed under the MIT License, available here: https://github.com/FeXd/SaskWildfire/blob/main/LICENSE.md