php-metar-decoder


Decode any raw METAR:


METAR


Valid format
 object(DecodedMetar) 
[
"raw_metar" => string(46) "EETU 271450Z 05005KT 9000 OVC006 01/M00 Q1019 "
"decoding_exceptions" => array(0)
"type" => NULL
"icao" => string(4) "EETU"
"day" => int(27)
"time" => string(9) "14:50 UTC"
"status" => NULL
"surface_wind" => object(SurfaceWind)
[
"SurfaceWind:mean_direction" => object(Value)
"SurfaceWind:variable_direction" => bool(false)
"SurfaceWind:mean_speed" => object(Value)
"SurfaceWind:speed_variations" => NULL
"SurfaceWind:direction_variations" => NULL
]

"visibility" => object(Visibility)
[
"Visibility:visibility" => object(Value)
"Visibility:minimum" => NULL
"Visibility:minimum_direction" => NULL
]

"cavok" => bool(false)
"runways_visual_range" => NULL
"present_weather" => array(0)
"clouds" => array(1)
[
0 => object(CloudLayer)
]

"air_temperature" => object(Value)
[
"value" => int(1)
"unit" => string(5) "deg C"
]

"dew_point_temperature" => object(Value)
[
"value" => int(0)
"unit" => string(5) "deg C"
]

"pressure" => object(Value)
[
"value" => int(1019)
"unit" => string(3) "hPa"
]

"recent_weather" => NULL
"windshear_all_runways" => NULL
"windshear_runways" => NULL
]