Header background doesn't always match METAR report
Posted: Wed Oct 18, 2017 2:04 am
Lately, I have noticed that in certain weather conditions, (fog, rain, thunderstorms) the header backgound, (obtained from interactiveBanner.txt), does not match the current METAR report.
Here are 2 examples of this:
The METAR report that meteotemplate requested from http://tgftp.nws.noaa.gov/data/observat ... s/LPMR.TXT for my default METAR station (LPMR), was
2017/10/17 23:00
LPMR 172300Z 19010KT 9999 TS FEW007 SCT015 BKN030 16/15 Q1014
and the resulting InteractiveBanner.txt was: mostly
Note that InteractiveBanner.txt is not taking into account the TS (Thunderstorms) info of the METAR
--------------------------
Changing my meteotemplate default METAR (LPMR) to other nearby METAR (LPPT), the result was
2017/10/17 23:30
LPPT 172330Z 24009KT 9999 -RA FEW006 SCT020 FEW025CB 16/15 Q1015 RERA
and the resulting InteractiveBanner.txt was: partly
Once again, interactiveBanner.txt is not taking into account the RA (rain) info of the METAR
--------------------------
I have checked the header.php script and everything seems to be ok because all these possibilities are included
Is there any reason why some of these conditions don't show up in my header background (and in interactiveBanner.txt)?
In Saratoga, the METAR and the current conditions icon, match perfectly (for my LPMR METAR)

Here are 2 examples of this:
The METAR report that meteotemplate requested from http://tgftp.nws.noaa.gov/data/observat ... s/LPMR.TXT for my default METAR station (LPMR), was
2017/10/17 23:00
LPMR 172300Z 19010KT 9999 TS FEW007 SCT015 BKN030 16/15 Q1014
and the resulting InteractiveBanner.txt was: mostly
Note that InteractiveBanner.txt is not taking into account the TS (Thunderstorms) info of the METAR
--------------------------
Changing my meteotemplate default METAR (LPMR) to other nearby METAR (LPPT), the result was
2017/10/17 23:30
LPPT 172330Z 24009KT 9999 -RA FEW006 SCT020 FEW025CB 16/15 Q1015 RERA
and the resulting InteractiveBanner.txt was: partly
Once again, interactiveBanner.txt is not taking into account the RA (rain) info of the METAR
--------------------------
I have checked the header.php script and everything seems to be ok because all these possibilities are included
Code: Select all
$condition = getWeatherGrafic($metarDataString,$ICAO); // options: clear, few, partly, mostly, overcast, NA, fog, drizzle, rain, lightrain, snow, thunderstormIn Saratoga, the METAR and the current conditions icon, match perfectly (for my LPMR METAR)
