Slowgeek » Forums » General
 
FAQ   •     •   Login  •   Challenge Search:

Now my weather data is completely screwed

(9 posts)

  1. ATJ777

    senior member
    Joined: Sep '09
    Posts: 95

    What's going on? The weather data for my runs doesn't even nearly match the weather station data.

    For example, I ran today at 12:27pm for just under 21 minutes. My weather station was INSWWEST4
    CSV data for the time:
    2010-04-21 12:25:00,24.2,16.2,1020.9,SW,221,0.0,4.8,61,0.0,,SKC,0.0,846.00,VWS V14.01,
    2010-04-21 12:30:00,24.4,16.4,1020.5,West,270,1.6,9.7,61,0.0,,SKC,0.0,788.00,VWS V14.01,
    2010-04-21 12:40:00,24.9,16.7,1020.5,WNW,284,0.0,4.8,60,0.0,,SKC,0.0,742.00,VWS V14.01,
    2010-04-21 12:45:00,25.4,17.1,1020.5,WNW,291,3.2,8.0,60,0.0,,SKC,0.0,729.00,VWS V14.01,
    2010-04-21 12:50:00,25.0,16.2,1020.2,West,271,3.2,8.0,58,0.0,,SKC,0.0,703.00,VWS V14.01,
    2010-04-21 12:55:00,24.8,15.9,1020.2,NNE,26,3.2,8.0,58,0.0,,SKC,0.0,691.00,VWS V14.01,

    but my run shows: 19.3 C, 85% humidity

    The one from a week ago is even worse.

    Start time: 12:40, 21 minute run

    2010-04-14 12:37:00,23.2,12.5,1020.5,West,270,0.0,0.0,51,0.0,,SKC,0.0,772.00,VWS V14.01,
    2010-04-14 12:42:00,23.3,12.6,1020.5,West,270,3.2,3.2,51,0.0,,SKC,0.0,763.00,VWS V14.01,
    2010-04-14 12:57:00,23.2,12.2,1020.2,SSE,161,0.0,3.2,50,0.0,,SKC,0.0,745.00,VWS V14.01,
    2010-04-14 13:02:00,23.2,11.3,1020.2,SE,134,0.0,4.8,47,0.0,,SKC,0.0,733.00,VWS V14.01,

    but the temperature shows as 13.6 C

    Posted 1 year ago #      

  2. rlerdorf

    senior admin
    Joined: Nov '08
    Posts: 257

    Still trying to figure out what happened there. Clearing your weather data and re-fetching it using the exact same code seems to fix it. All I can think of right now is that right at the time when you uploaded your run, the wunderground weather data was incorrect. I think I also wiped out your run description just for the April 21 run. Sorry about that. You can re-enter it on your runs page there. Next time you upload a run and it seems off, see if you can grab the raw XML data right away so we can compare it to what is there a couple of hours later.

    Posted 1 year ago #      

  3. ATJ777

    senior member
    Joined: Sep '09
    Posts: 95

    The weather data was correct at the time I uploaded the run (and subsequent changes to the weather station). I always check before uploading a run because I sometimes find the stations have no data and will use a different station in that case.

    In the case of the Wednesday runs, there's 2 weather stations I can choose between. Both had temperatures almost identical but switching between these a day later still did not fetch the correct data.

    Posted 1 year ago #      

  4. rlerdorf

    senior admin
    Joined: Nov '08
    Posts: 257

    But isn't the data correct now? Your April 21 run is listed at 24.9C. You ran at 12:27 for about 21 minutes. The data from your weather station for that timeframe is:

    2010-04-21 12:25:00,75.6,61.2,30.15,SW,221,0.0,3.0,61,0.00,,SKC,0.01,846.00,VWS V14.01,
    2010-04-21 12:30:00,76.0,61.6,30.14,West,270,1.0,6.0,61,0.00,,SKC,0.01,788.00,VWS V14.01,
    2010-04-21 12:35:00,76.9,62.0,30.14,SSW,198,0.0,4.0,60,0.00,,SKC,0.01,766.00,VWS V14.01,
    2010-04-21 12:40:00,76.9,62.0,30.14,WNW,284,0.0,3.0,60,0.00,,SKC,0.01,742.00,VWS V14.01,
    2010-04-21 12:45:00,77.7,62.7,30.14,WNW,291,2.0,5.0,60,0.00,,SKC,0.01,729.00,VWS V14.01,
    2010-04-21 12:50:00,77.0,61.1,30.13,West,271,2.0,5.0,58,0.00,,SKC,0.01,703.00,VWS V14.01,

    This is from: www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=INSWWEST4&month=04&day=21&year=2010&format=l

    So it ranged from 75.6 to 77.7F. 24.9C is 76.9F which is a valid representative temperature for that run.

    Posted 1 year ago #      

  5. ATJ777

    senior member
    Joined: Sep '09
    Posts: 95

    Yes, it is showing the expected temperatures, now. (At least it was, until I changed the station)

    The thing is, I did change the weather data and forced a refetch but I couldn't get it to change. I switched between INSWWEST4 and INSWWEST1 which both had pretty much the same temperature. I can't work out why when I changed the weather data and forced a refetch that I couldn't get the right results but when you did it, you could.

    I probably shouldn't have done this, but hopefully it helps you debug the problem. I was able to reproduce the problem simply by changing the April 21 run from INSWWEST4 to INSWWEST1. Before I changed it, the run had 24.9ºC. After I changed it, it has 20.2ºC. INSWWEST1 has around 24.5ºC for the time of my run. So, it has happened again.

    All I did:
    * Went to the /ru page
    * Changed the station for the run from INSWWEST4 to INSWWEST1
    * Went back to the /pr page

    and the data was wrong

    I then clicked "Refresh runs and profile" but it was still wrong.

    I then:
    * Went to the /ru page
    * Changed the station for the run from INSWWEST1 to INSWWEST4
    * Went back to the /pr page

    and it's back to 19.3ºC (which is wrong).

    What am I doing wrong? Why does it work for you but not me?

    Posted 1 year ago #      

  6. rlerdorf

    senior admin
    Joined: Nov '08
    Posts: 257

    Ah, I think I may have figured it out. Could you try doing the same thing again? Switch it back and forth and see if it gets it right now?

    Posted 1 year ago #      

  7. ATJ777

    senior member
    Joined: Sep '09
    Posts: 95

    Still not right. The same as before. 19.3 with INSWWEST4 and 20.1 with INSWWEST1 (which seems to have moved 0.1º)

    Posted 1 year ago #      

  8. rlerdorf

    senior admin
    Joined: Nov '08
    Posts: 257

    Ok, now I think I have it figured out. It appears it only affected runs where the weather station was manually changed via the /ru page UI, so very few. It should be working now.

    Posted 1 year ago #      

  9. ATJ777

    senior member
    Joined: Sep '09
    Posts: 95

    It's working for me, too, now.

    Posted 1 year ago #      

Reply

You must log in to post.

RSS feed for this topic