Announcement

Collapse
No announcement yet.

Weather download not matching accuweather website

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Weather download not matching accuweather website

    I am running stand alone v2.21.0.1 on a Windows10 machine. I just noticed the weather forecast downloaded from Accuweather is no longer matching data displayed on Accuweather web page.

    For example, in mscSprinklers today's rain forecast is 1.18 inch, but on Accuweather web page it is 0.35 inch.

    Click image for larger version

Name:	weather_download.gif
Views:	174
Size:	148.6 KB
ID:	1477847

    Click image for larger version

Name:	accuweather.gif
Views:	162
Size:	80.5 KB
ID:	1477846
    Attached Files

    #2
    The URL and resultant data are in /data/mcsSprinklers. I believe url2 and doenload2 are the forecast. Take a look with specific attention to the date to see if you see some correlation.

    Comment


      #3
      Looks like url1 and download1 are for Accuweather which I use for weather data. Both files' time stamps are current but downloaded Accuweather data contained in download2 seems to be stale. I attached both files.
      Attached Files

      Comment


        #4
        Looks like Accuweather is providing a forecast starting three days in the past. I updated to find the current observation date to start the forecast.

        I difficulty with various weather providers has been when they transitioned the forecast day. Most used 6 PM. This caused user problems because something was an inhibit at 5 PM was no longer one at 6 PM and an irrigation cycle would start at 6 PM. It is not what one would expect. With Accuweather now providing historical forecast the plugin can decide when the forecast starts. For Accuweather I have selected midnight so Day 1 forecast is the current day. Update at http://mcsSprinklers.com/MCSSPRINKLERS_22103.zip
        Attached Files

        Comment


          #5
          Hi Michael, v2.21.0.3 updated temperature forecast (although not exactly matching accuweather webstie, not sure if just due to timing etc), but rain forecast still does not look right. Download shows all zero, while on Accuweather it shows 0.3 inch etc. I will email you log file. Do you also need url1 and download1 file?

          Comment


            #6
            If you use URL1 in a browser your will get the XML download. Look for obsdate to know where to start. The next 10 entries for precipamount are the day and night values for the five days. I just looked at the URL1 you posted above and all 10 are 0. This is the same as the debug file for rain forecast. It could be that the XML data feed is different than what Accuweather is using for their web pages.

            For temperature the daytime hightemperature entries are being used by mcsSprinklers. mcsSprinklers picked up "88|91|90|90|91". Accuweather reports in Celcius 31,33,32,32,33 which are the same as the F values showing the debug.

            I'm letting mine run to assure periodic updates are happening, but I can see the initial values and then an update from Accuweather so it looks to be working as expected.

            Comment


              #7
              The other current thread reflects an update to 2.21.0.4 for centimeter vs. millimeter reporting. Forecast rain stopped updating - HomeSeer Message Board

              Comment


                #8
                Download1 and url1 (when viewed in a browser) both show 0 rainfall forecast for next 5 days, but strangely on Accuweather website it shows different forecast. I noticed the following error message in StartupTrace file. Could it be related (maybe my database file is corrupted)?

                ------ error message in StartupTrace file -----

                True 6/6/2021 8:33:04 PM | mcsSprinklers | ExecuteCommand UPDATE tbldevice SET [DC]="S89",[Location]="Sprinklers",[Name]="Weather Download Count",[Status]=2,[Value]=12500,[LastChange]=#2021-06-06 20:33:04#,[String]="<table><td><img alt='Weather Download Count' src='/mcsSprinklers/images/weather/30.gif' height='16' width='16'><img alt=' ' src='/mcsSprinklers/images/sensors/blank3.gif'></td><td valign='middle' align='left'><font color='#000000'>125&nbsp;Downloads Today</font></td></table>" WHERE (DC="S89")The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.
                -------------------------

                Comment


                  #9
                  The log message is not related. I would not be concerned with it unless it consistently repeats. For my 98045 site the downloaded forecast seems reasonable based upon local new reports for weather forecast.

                  Comment


                    #10
                    Unfortunately for me that message does repeat consistently about every 6 or 7 minutes.

                    Comment


                      #11
                      I set zip code to 98045. Temperature forecast in mcsSprinklers looks reasonable vs Accuweather but rain looks off in my setup.

                      Click image for larger version

Name:	rain.gif
Views:	145
Size:	46.2 KB
ID:	1478409

                      Comment


                        #12
                        You are correct. I had handled the CM to MM conversion elsewhere so it was done twice. I backed this change out and reposted 2.21.0.4 on the other thread. I now get 0.04 and 0.1 which are the correct Inch values based upon the 0.1 and 2.6 cm values from the XML download.

                        Comment


                          #13
                          Originally posted by Michael McSharry View Post
                          You are correct. I had handled the CM to MM conversion elsewhere so it was done twice. I backed this change out and reposted 2.21.0.4 on the other thread. I now get 0.04 and 0.1 which are the correct Inch values based upon the 0.1 and 2.6 cm values from the XML download.
                          I think your conversion is still off by a factor of 10. Correct conversion should be:
                          2.6 cm (26 mm) = 1.02 inch
                          0.1 cm (1 mm) = 0.04 inch

                          Formulas: inches = cm / 2.54
                          mm = cm * 10

                          I notice on mine that Forecast rain shows 0.8 cm in the "Weather Site Download Test", but shows 80 mm(?) in the General Status page. If its 0.8 cm, it should be 8 mm rather than 80. If its really going to rain 80 mm tomorrow, I need to get started building my ark.

                          I am also finding that mcsSprinkler's interpretation of the Accuweather data is completely different than that shown on the Accuweather website.

                          Comment


                            #14
                            Originally posted by cjin View Post
                            I set zip code to 98045. Temperature forecast in mcsSprinklers looks reasonable vs Accuweather but rain looks off in my setup.

                            Click image for larger version

Name:	rain.gif
Views:	145
Size:	46.2 KB
ID:	1478409
                            Just noticed that my S76 Forecast Rain viewed via HomeSeer is different - no "x100":

                            Attached Files

                            Comment


                              #15
                              I have had trouble with cm and mm for a long time when trying to handle some sites that report in cm, some in cm and some in in. Some sites allow you to specify units, some report unit and other are minimalist. I will look again.

                              It is amazing something as universal as weather data reporting has had so many different providers come and go over the years. I try to keep at least two available for the user. It has probably been the biggest single thing that has required maintenance and caused problems. The Icons that you see for current conditions is from 2004 MSNBC feed. Each time I add a provider I need to map their icons into the MSNBC icons so selection of the provider has the same visual for the end user.

                              Last year IBM goggled-up WeatherUnderground and WeatherChannel to support there data engine. They do not care much about the end user so have no motivation for a free feed, but want the value in the weather data to support their analytics. It took awhile for IBM to realize that the WeatherUnderground reporting stations were individuals that would not pay they their subscription fee just to download the same data that the user uploaded from their weather station. This resulted in a pricing model that was different if the user contributes data vs. the user that only consumes data.

                              Comment

                              Working...
                              X