Author Topic: Current Condition Icon Where?  (Read 282 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 313
    • Penn Lake Weather
Current Condition Icon Where?
« on: June 01, 2019, 09:52:35 AM »
Can anyone tell me where I can set my current Icon on my home page to either .gif or .jpeg?
I spent hours going through the files and changing anything I could find from .gif to .jpeg and still end up with:

https://www.pennlake.us/ajax-images/ovc.gif   Which is almost a standard picture that shows up even if it's sunny out.

At the moment I get the hazy.gif below and withing seconds the Icon reverts back to the ovc.gif

https://www.pennlake.us/ajax-images/hazy.gif


Last, if my problem can't be solved, is there something I can cut out - turn off to eliminate the current condition icon. For me it's a personal issue, I'd rather give no information than incorrect information.

Thanks for any help.

yamiacaveman

pennlake.us

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7517
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Current Condition Icon Where?
« Reply #1 on: June 01, 2019, 10:50:20 AM »
It's likely some WD settings.

When the page first displays, the iconnumber from testtags.php is shown, and that is
Quote
   $iconnumber = '0';                // icon number
which is for day_clear.gif (Sunny)

When the ajaxWDwx3.js script starts, then the condition icon from clientraw.txt
Quote
48   Current Condition Icon   Icon   18 (Overcast)
is shown.

My guess is that you currently have WD set to display conditions from a nearby metar (which is showing clear), but also set to override with a solar sensor (which you don't seem to have, so is reporting 0 W/m2 and creating the overcast-and-gloomy).
See https://saratoga-weather.org/wxtemplates/setup-WD.php and just turn off the settings that say for Solar to override, and you should be good to go.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 313
    • Penn Lake Weather
Re: Current Condition Icon Where?
« Reply #2 on: June 02, 2019, 11:04:15 AM »
Thanks for the reply Ken. The whole section of my Solar Setup in WD has been turned off since I have no solar sensor.

I'll keep trying different combinations in WD, perhaps something will eventually change.

Again thanks.