cd ~/GitHub/weather-au
pytest
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
twine
will ask for the PyPi username and password.
https://repl.it/@tony_allan/weather-au
UV Index previously called UV Alert.
Ultraviolet (UV) Index Data Services About UV and sun protection times Average solar ultraviolet (UV) Index
The following code is added to example to ease local testing:
import os, sys
sys.path.append(os.path.abspath('.'))
To run the tests, cd to the weater-au folder and run:
pytest
There are two versions of the weather radar, one associated with the old website, which for each location, is a background, location and range image and six timestamped overlay images with the data.
With a bit of effort a composite image could be created.
The new website uses an arcgis tile server with background and overlay tiles.
This format is more complex with no obvious data source to marry the tiles together. If you change the radar on the webpage then additional images are fetched but no new data which implies that the needed tiles are calculated by the javascript on the page.