historical data not using desired station

  • 2
  • Question
  • Updated 6 years ago
I am using the API to extract hourly weather data for Fowler, Indiana. There is a weather station there (D9744). However, when I inspect the retrieved data it appears to be from the Jasper County Airport (airport code = KRZL), which is 60 miles north in Rensselaer Indiana.

Weather Underground does list the station that I desire at:

http://www.wunderground.com/weatherst...

Despite this the historical data is from KRZL. Why and whats going on?

Python code:

import urllib2
import json
f = urllib2.urlopen('http://api.wunderground.com/api/9fa19...')
json_string = f.read()
parsed_json = json.loads('json_string')

loop_size = len(parsed_json['history']['observations'])
for i in range(0, loop_size):
print parsed_json['history']['observations'][i]['metar']

METAR KRZL 150515Z AUTO 18008KT 10SM CLR 18/15 A3000 RMK AO2
METAR KRZL 150535Z AUTO 17007KT 10SM CLR 18/14 A3000 RMK AO2
METAR KRZL 150555Z AUTO 17008KT 10SM SCT075 17/15 A3001 RMK AO2 LTG DSNT NE
METAR KRZL 150615Z AUTO 18008KT 10SM SCT075 BKN090 18/15 A3000 RMK AO2
METAR KRZL 150635Z AUTO 18008KT 10SM SCT065 SCT080 SCT090 18/15 A3000 RMK AO2
METAR KRZL 150655Z AUTO 19009KT 10SM SCT065 SCT080 SCT090 18/15 A3000
RMK AO2 LTG DSNT SE AND NW
METAR KRZL 150715Z AUTO 20010KT 10SM CLR 18/15 A3000 RMK AO2 LTG DSNT SE
METAR KRZL 150735Z AUTO 20011KT 10SM SCT070 SCT090 18/16 A3000 RMK AO2
METAR KRZL 150755Z AUTO 20009KT 10SM SCT060 SCT070 SCT090 18/16 A3000 RMK AO2
METAR KRZL 150815Z AUTO 21009KT 10SM SCT060 18/16 A3000 RMK AO2
METAR KRZL 150835Z AUTO 21010KT 10SM SCT060 SCT070 18/15 A3000 RMK AO2
LTG DSNT S
METAR KRZL 150855Z AUTO 22012KT 10SM SCT060 18/16 A3000 RMK AO2 LTG DSNT SE
METAR KRZL 150915Z AUTO 22014G17KT 10SM SCT060 18/16 A3001 RMK AO2 LTG
DSNT NE THRU SE
METAR KRZL 150955Z AUTO 21013KT 10SM CLR 18/16 A3001 RMK AO2
METAR KRZL 151015Z AUTO 22011KT 10SM CLR 18/15 A3002 RMK AO2 LTG DSNT E AND S
METAR KRZL 151035Z AUTO 21009KT 10SM SCT070 17/15 A3003 RMK AO2 LTG DSNT E
METAR KRZL 151055Z AUTO 22012KT 10SM SCT070 18/15 A3003 RMK AO2 LTG DSNT NE
METAR KRZL 151115Z AUTO 21010KT 10SM SCT070 17/15 A3003 RMK AO2
METAR KRZL 151155Z AUTO 22010KT 10SM SCT035 SCT043 SCT055 17/15 A3004 RMK AO2
METAR KRZL 151215Z AUTO 22008KT 10SM CLR 17/15 A3005 RMK AO2 LTG DSNT NE
METAR KRZL 151235Z AUTO 22008KT 10SM SCT035 SCT070 18/15 A3005 RMK AO2
LTG DSNT SE
METAR KRZL 151255Z AUTO 23009KT 10SM SCT035 SCT043 SCT070 18/15 A3005 RMK AO2
METAR KRZL 151315Z AUTO 23009KT 10SM CLR 18/15 A3005 RMK AO2 LTG DSNT E
METAR KRZL 151355Z AUTO 23012KT 10SM CLR 20/16 A3005 RMK AO2 LTG DSNT SE
METAR KRZL 151415Z AUTO 24011KT 10SM CLR 21/16 A3005 RMK AO2 LTG DSNT E AND SE
METAR KRZL 151435Z AUTO 25011G17KT 10SM CLR 21/16 A3005 RMK AO2
METAR KRZL 151455Z AUTO 24013G18KT 10SM CLR 22/15 A3006 RMK AO2 LTG DSNT SW
METAR KRZL 151515Z AUTO 24013KT 10SM CLR 22/16 A3006 RMK AO2 LTG DSNT SE
METAR KRZL 151535Z AUTO 24015KT 10SM CLR 23/16 A3006 RMK AO2 LTG DSNT SW
METAR KRZL 151555Z AUTO 26012KT 10SM SCT027 23/16 A3005 RMK AO2 LTG DSNT SW
METAR KRZL 151615Z AUTO 24014G17KT 10SM SCT027 23/16 A3004 RMK AO2 LTG DSNT SW
METAR KRZL 151635Z AUTO 25010G18KT 10SM CLR 24/16 A3004 RMK AO2 LTG DSNT SW
METAR KRZL 151655Z AUTO 23013G18KT 10SM CLR 25/16 A3003 RMK AO2 LTG DSNT SW
METAR KRZL 151715Z AUTO 26010G18KT 10SM SCT060 25/15 A3003 RMK AO2 LTG
DSNT E AND SE
METAR KRZL 151735Z AUTO 24012KT 10SM SCT060 25/15 A3003 RMK AO2 LTG
DSNT SE AND SW
METAR KRZL 151755Z AUTO 21015G18KT 10SM SCT037 SCT060 26/15 A3002 RMK AO2
METAR KRZL 151815Z AUTO 20013KT 10SM SCT037 26/15 A3001 RMK AO2 LTG DSNT SW
METAR KRZL 151835Z AUTO 24013KT 10SM SCT041 BKN050 BKN065 26/14 A3001 RMK AO2
METAR KRZL 151855Z AUTO 20011KT 10SM SCT041 SCT050 BKN065 26/14 A3000 RMK AO2
METAR KRZL 151915Z AUTO 22011KT 10SM CLR 26/14 A3000 RMK AO2 LTG DSNT S
METAR KRZL 151935Z AUTO 22013KT 10SM CLR 27/13 A2999 RMK AO2 LTG DSNT SE
METAR KRZL 151955Z AUTO 22013G18KT 10SM VCTS SCT048 SCT060 28/13 A2999 RMK AO2
METAR KRZL 152015Z AUTO 25009KT 10SM SCT050 SCT065 26/13 A2999 RMK AO2
METAR KRZL 152035Z AUTO 23013G19KT 10SM TSRA SCT032 SCT042 BKN050
25/14 A2998 RMK AO2 P0001 LTG DSNT E AND SE
METAR KRZL 152055Z AUTO 24013KT 10SM -TSRA SCT030 SCT047 BKN060 24/15
A2998 RMK AO2 P0002 LTG DSNT ALQS
METAR KRZL 152115Z AUTO 24008KT 10SM -VCTSRA SCT030 BKN060 OVC070
23/15 A2997 RMK AO2 P0001 LTG DSNT NE THRU SE
METAR KRZL 152135Z AUTO 24012G16KT 10SM -VCTSRA BKN060 BKN075 BKN080
25/14 A2997 RMK AO2 P0001 LTG DSNT NE AND E
METAR KRZL 152155Z AUTO 23012KT 10SM SCT060 BKN080 BKN090 25/13 A2996
RMK AO2 P0001 LTG DSNT NW THRU E
METAR KRZL 152215Z AUTO 22014G18KT 10SM SCT060 SCT080 SCT090 25/13
A2996 RMK AO2 LTG DSNT NE AND E
METAR KRZL 152235Z AUTO 22012KT 10SM SCT060 SCT080 25/12 A2996 RMK AO2
LTG DSNT NE AND E
METAR KRZL 152255Z AUTO 22012G20KT 10SM VCTS SCT060 24/14 A2996 RMK
AO2 LTG DSNT NE
METAR KRZL 152315Z AUTO 21012G19KT 10SM SCT060 23/15 A2996 RMK AO2 LTG DSNT NE
METAR KRZL 152335Z AUTO 21014G18KT 10SM VCTS CLR 23/15 A2998 RMK AO2 LTG DSNT NE
METAR KRZL 152355Z AUTO 20011G17KT 10SM VCTS CLR 22/15 A2999 RMK AO2
LTG DSNT NE AND E
METAR KRZL 160015Z AUTO 20009KT 10SM CLR 21/15 A2999 RMK AO2 LTG DSNT SW
METAR KRZL 160035Z AUTO 21007KT 10SM CLR 21/14 A3000 RMK AO2 LTG DSNT NE
METAR KRZL 160055Z AUTO 21008KT 10SM SCT065 21/14 A3000 RMK AO2
METAR KRZL 160115Z AUTO 20009KT 10SM SCT070 20/14 A3001 RMK AO2 LTG
DSNT NE AND E
METAR KRZL 160135Z AUTO 20009KT 10SM VCTS SCT070 BKN080 20/13 A3003
RMK AO2 LTG DSNT NE
METAR KRZL 160155Z AUTO 19008KT 10SM SCT070 SCT080 19/12 A3004 RMK AO2
LTG DSNT NE
METAR KRZL 160215Z AUTO 20008KT 10SM SCT060 18/12 A3004 RMK AO2
METAR KRZL 160235Z AUTO 21008KT 10SM SCT060 18/13 A3005 RMK AO2
METAR KRZL 160255Z AUTO 20007KT 10SM SCT060 17/13 A3005 RMK AO2
METAR KRZL 160315Z AUTO 20009KT 10SM SCT060 17/14 A3005 RMK AO2
METAR KRZL 160355Z AUTO 20008KT 10SM CLR 17/14 A3004 RMK AO2
METAR KRZL 160415Z AUTO 22009KT 10SM CLR 17/14 A3004 RMK AO2 LTG DSNT SW
METAR KRZL 160435Z AUTO 21010KT 10SM CLR 17/15 A3003 RMK AO2
Photo of heatrate

heatrate

  • 4 Posts
  • 0 Reply Likes
  • frustrated

Posted 6 years ago

  • 2
Photo of pilotstew

pilotstew

  • 5 Posts
  • 0 Reply Likes
I just posted about the exact same issue with CYQR returning information from CWDJ. I Haven't been able to figure it out either.