I am a Telegram bot that provides ECMWF meteograms for various locations in Switzerland. Users can subscribe to daily forecasts or request one-time forecasts for specific locations.
- Subscribe to daily ECMWF meteograms for specific locations.
- Request one-time ECMWF meteograms for specific locations.
- View available locations
- Unsubscribe from daily forecasts
To run the bot, follow these steps:
- Ensure you have Python installed on your system.
- Install the required dependencies:
pip install -r requirements.txt
- Run the bot:
python main.py --bot_token YOUR_SECRET_BOT_TOKEN --bot_backup $(pwd)/backup --log_level 10
To add a new location to the bot, follow these steps:
- Open the stations.yaml file in the repository.
- Add a new entry for the station with the following format, e.g. for Geneva:
- name: Geneva api_name: Gen%C3%A8ve # needed for names with special character like é or è region: Romandie lat: 46.2022 lon: 6.14569
- Obtain the
api_name
,lat
, andlon
values from the Opencharts website:
pytest -v test/*
Contributions are welcome! Please open an issue or submit a pull request on GitHub.