Index PHPmyEasyWeather PHPmyEasyWeather Homepage

getMetarTemp

getMetarTemp -- return temperature out of METAR Code

Description

int getMetarTemp (string $METAR);

getMetarTemp returns the temperature measured in degrees centigrade out of a METAR code if available. If $METAR doesn´t contain temperature information or METAR code syntax is wrong getMetarTemp will return false.


Previous Up Next