refactoring openmetar a little to eliminate some kludge