php-taf-decoder


Decode any raw TAF:


TAF


Valid format
 object(DecodedTaf) 
[
"raw_taf" => string(171) "TAF AMD LFBO 080527Z 0806/0912 19007KT CAVOK TX10/0807Z TN05/0904Z BECMG 0810/0812 27010KT BECMG 0818/0820 VRB03KT BECMG 0900/0902 16008KT TEMPO 0903/0909 4000 -RA BKN025 "
"decoding_exceptions" => array(0)
"type" => string(7) "TAF AMD"
"icao" => string(4) "LFBO"
"day" => int(8)
"time" => string(9) "05:27 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" => NULL
"SurfaceWind:direction_variations" => NULL
"SurfaceWind:evolutions" => array(3)
]

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

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

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

"min_temperature" => object(Temperature)
[
"Temperature:type" => string(2) "TN"
"Temperature:temperature" => object(Value)
"Temperature:day" => int(9)
"Temperature:hour" => int(4)
"Temperature:evolutions" => array(0)
]

"max_temperature" => object(Temperature)
[
"Temperature:type" => string(2) "TX"
"Temperature:temperature" => object(Value)
"Temperature:day" => int(8)
"Temperature:hour" => int(7)
"Temperature:evolutions" => array(0)
]

]