first version of the metar parser