Almanac values missing on some weather location

  • 1
  • Problem
  • Updated 3 years ago
Hi, I just found out that the Almanac data for "India/Bangalore" is all empty and even misses some fields. That is quite a problem since it breaks our programming when we use that location since there are missing keys.

See:
India/Bangalore data:
{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"almanac": 1
}
}
,
"almanac": {
"airport_code": "",
"temp_high": {
"normal": {
"F": "",
"C": ""
}
},
"temp_low": {
"normal": {
"F": "",
"C": ""
}
}
}
}

Compared to for example "CA/San_Francisco":
{
  "response": {
  "version":"0.1",
  "termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
  "features": {
  "almanac": 1
  }
	}
		,
	"almanac": {
		"airport_code": "KSFO",
		"temp_high": {
		"normal": {
		"F": "69",
		"C": "21"
		}
		,
		"record": {
		"F": "95",
		"C": "35"
		},
		"recordyear": "2001"
		},
		"temp_low": {
		"normal": {
		"F": "53",
		"C": "12"
		}
		,
		"record": {
		"F": "46",
		"C": "7"
		},
		"recordyear": "1974"
		}
	}
}
Photo of Frederic Marsan

Frederic Marsan

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1

Be the first to post a reply!