php-taf-decoder


Decode any raw TAF:


TAF


Valid format
 object(DecodedTaf) 
[
"raw_taf" => string(229) "TAF EGLL 080455Z 0806/0912 24018G30KT 9999 SCT018 TEMPO 0806/0819 4500 +SHRA BKN010 BECMG 0807/0810 23024G45KT PROB40 TEMPO 0811/0818 25030G55KT BECMG 0818/0821 26016G26KT PROB30 TEMPO 0818/0823 7000 SHRA BECMG 0822/0901 26012KT "
"decoding_exceptions" => array(0)
"type" => string(3) "TAF"
"icao" => string(4) "EGLL"
"day" => int(8)
"time" => string(9) "04:55 UTC"
"forecast_period" => object(ForecastPeriod)
[
"ForecastPeriod:from_day" => int(8)
"ForecastPeriod:from_hour" => int(6)
"ForecastPeriod:to_day" => int(9)
"ForecastPeriod:to_hour" => int(12)
]

"surface_wind" => object(SurfaceWind)
[
"SurfaceWind:mean_direction" => object(Value)
"SurfaceWind:variable_direction" => bool(false)
"SurfaceWind:mean_speed" => object(Value)
"SurfaceWind:speed_variations" => object(Value)
"SurfaceWind:direction_variations" => NULL
"SurfaceWind:evolutions" => array(4)
]

"visibility" => object(Visibility)
[
"Visibility:visibility" => object(Value)
"Visibility:greater" => bool(false)
"Visibility:evolutions" => array(2)
]

"cavok" => bool(false)
"weather_phenomenons" => array(2)
[
0 => object(WeatherPhenomenon)
1 => object(WeatherPhenomenon)
]

"clouds" => array(2)
[
0 => object(CloudLayer)
1 => object(CloudLayer)
]

"min_temperature" => NULL
"max_temperature" => NULL
]