| Index | PHPmyEasyWeather | PHPmyEasyWeather Homepage |
getPressure -- return air pressure out of METAR or TAF Code
int getPressure (string $METAR_TAF);
getPressure returns the air pressure measured in hectoPascal (hPa) out of a METAR or TAF code if available. Even if $METAR_TAF contains air pressure in Inches of Mercury (some airport weather stations indicate like this) getPressure will return hPa as it is the common unit for this item. If there is no air pressure contained in $METAR_TAF getPressure will return false.
| Previous | Up | Next |