Weather Temperature

Hi,

Have a weather widget and works for my city, Adelaide Australia.

The problem is that the forcast weather temperature isn't correct. It is always 2-3 degrees lower than what it really is.

Can I change the URL it uses for reference?

Any help appreciated.

Thanks in advance
2,548 views 2 replies
Reply #1 Top
You can do this if you are really sure that you can get the weather forecast data from the other URL. But there is the next, much easy way to solve this problem:

1. Open your widget in DesktopX Builder.
2. Find the text object in the Weather Script which show temperature.
3. Add this code here:

temp = cint(desktopx.object("TEMPERATURE").text)
desktopx.object("TEMPERATURE").text = temp + 3 '<== or + 2

Your widget will show you the really value of temperature now. (I made such manipulation to correct atmospheric pressure in one of my projects).
Reply #2 Top
The problem is that the forcast weather temperature isn't correct. It is always 2-3 degrees lower than what it really is.


Temps very so much from place to place. I live about 20 mins from the airport (where most temps seem to come from) and the temp is always 3-5 deg diff.

I like Vad's Idea, but it can be colder or warmer, so who knows how you would know that. The best thing would be to see if there is a closer location. Find the URL its looking up see if its weather.com or what, check that site to see if they have something in your zipcode, and try that?

Anyway, just some ideas.