an attempt to rewrite the weather underground script in python