Index PHPmyEasyWeather PHPmyEasyWeather Homepage

getWind

getWind -- return wind information out of METAR or TAF Code

Description

Array getWind (string $METAR_TAF);

getWind returns an array with 10 elements and the following indexes:

If there are no wind-gusts the values for e.g. "wkt" and "gkt" will be the same. If there is no wind information indicated in a METAR or a TAF code (what hopefully never will be) or the METAR or TAF code is incorrect getWind will return false.


Previous Up Next