Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobked/meteo_scrap
scraping meteograms from meteo.pl
https://github.com/tobked/meteo_scrap
Last synced: about 1 month ago
JSON representation
scraping meteograms from meteo.pl
- Host: GitHub
- URL: https://github.com/tobked/meteo_scrap
- Owner: TobKed
- Created: 2018-05-13T00:51:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T12:32:42.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T04:27:31.270Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Display meteogram from meteo.pl.
You just have to adjust few constants at the beginning of the script:
* `UM` = True / False (if you want to see UM model)
* `COAMPS` = True / False (if you want to see COAMPS model)
* `LEGENDS` = True / False (if you want to see legend)
* `MODEL_UM_URL` = url of the UM model meteogram webpage
* `MODEL_COAMPS_URL` = url of the COAMPS model meteogram webpage* `CHROMEDRIVER_PATH` = path to ChromeDriver, the WebDriver for Chrome
available on http://chromedriver.chromium.org/eventually also:
* `LEGEND_UM_URL` = direct url of the UM model legend image
* `LEGEND_COAMPS_URL` = direct url of the COAMPS model legend image## to run this app I use
### start_meteo.sh
```bash
#!/bin/bash
cd /home/username/venv/meteo_scrap/bin/
source activate
cd /home/username/PythonProjects/meteo_scrap/
python meteo_scrap.py
```
### meteo.desktop
```ini
[Desktop Entry]
Comment=meteo_scraper
Terminal=true
Name=meteo
Exec=/home/username/PythonProjects/meteo_scrap/start_meteo.sh
Type=Application
Icon=/home/username/PythonProjects/meteo_scrap/cloud.svg
Name[en_US]=meteo
```