Improve input format checking.
Remove dependency on pymetar, it was of little use.