Hi,
I dumped structure(see below) I get for Poland - Gdansk location, it contains -SHSN and it looks I do not have either snow or rain set.
Can you help to solve this issue?
Thank you,
Tomasz
Array
(
[#raw] => EPGD 302030Z 27013KT 9999 -SHSN BKN013 M02/M04 Q0984 R11/490236
[icao] => EPGD
[condition_order] => 4
[reported_on] => 1264883400
[wind] => Array
(
[direction] => 270
[speed_knots] => 13
[gusts_knots] => 0
[speed_kmh] => 24.1
[gusts_kmh] => 0
[speed_mph] => 15
[gusts_mph] => 0
[speed_mps] => 6.7
[gusts_mps] => 0
[speed_beaufort] => 4
[gusts_beaufort] => 0
)
[visibility] => Array
(
[kilometers] => 10
[miles] => 6.2
)
[#condition_text] => Array
(
[0] => broken
)
[#condition_order] => Array
(
[0] => 4
)
[condition_text] => broken
[temperature] => Array
(
[celsius] => -2
[fahrenheit] => 28.4
)
[dewpoint] => Array
(
[celsius] => -4
[fahrenheit] => 24.8
)
[pressure] => Array
(
[hPa] => 984
[inHg] => 29.06
[mmHg] => 738
[kPa] => 98.4
)
[daytime] => Array
(
[sunrise_on] => 1264827360
[sunset_on] => 1264870980
[no_sunrise] =>
[no_sunset] =>
[condition] => night
)
)
Comments
Comment #1
toddy commentedHi,
thanks a lot for reporting this bug and including the METAR data. This way, it was easy for me to help you and fix this bug. It should be gone in weather-6.x-5.9.
Regards,
Tobias