matthewwall / weewx-windy

uploader for windy.com
GNU General Public License v3.0
18 stars 2 forks source link

How is the station ID calculated? #7

Closed clivej closed 5 years ago

clivej commented 5 years ago

When I use the Station ID from Windy.com, I get the following error:

ValueError: invalid literal for int() with base 10:

I have converted the hex ID to base 10 manually, but is this how to do it?

matthewwall commented 5 years ago

according to the windy.com spec, the station id is an integer

unless you have more than one station, just use '0'