main metar class