PHP Weather has now reached v. 1.14
I’ve just updated PHP Weather again. There was a bug
in the code that parsed the air-pressure. I now know that the pressure can
be written both as A2991
and as Q1013
. The first form is 29.91 inHg
and the second is 1013 hPa.
I thought that the pressure was always measured in hPa, so all the
altimeter_*
numbers were wrong if the pressure was reported in inHg.
PHP Weather now deals correctly with both forms.
Leave a comment