Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tempStr = tempStr[:len(tempStr) - 3]
- tempStr = ''.join(filter(lambda x: x.isdigit() or x == '.', tempStr))
- hmdStr = hmdStr[:len(hmdStr)//2]
- hmdStr = ''.join(filter(lambda x: x.isdigit() or x in ['.', '%'], hmdStr))
- prsStr = prsStr[len(prsStr)//2:]
- prsStr = ''.join(filter(lambda x: x.isdigit() or x == '.', prsStr))
- prpStr = prpStr[len(prpStr)//2:]
- prpStr = ''.join(filter(lambda x: x.isdigit() or x == '.', prpStr))
- wspdStr = ''.join(filter(lambda x: x.isdigit() or x == '.', wspdStr))
- wdirStr = wdirStr.replace('Wind from ', '')
- wdirStr = ''.join(filter(lambda f: f in ['N', 'S', 'W', 'E'], wdirStr))
- wdirStr2 = ''
Add Comment
Please, Sign In to add comment