Radar/Satellite image not working

  • 1
  • Problem
  • Updated 2 years ago
The Radar/Satellite image feature is not working. Radar is working and is returning an image, and Satellite is working and returning an image, however the combination Radar/Satellite does not work
Photo of Michael Enfield

Michael Enfield

  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Jimmy Gregorio

Jimmy Gregorio

  • 1 Post
  • 0 Reply Likes
Having the exact same problem. In the Analytics page, it shows that the request generated a "query not found" error, yet the server returns 200 and an image. It's just the radar by itself, with more cities labelled than the regular radar image. Let me show you.

This is just radar:



Here is what I get when I request the same location, but with radar/satellite:



As you can see, there is no satellite imagery, and there are also many more cities labelled (which I wish the regular radar request would include!). Really confused as to why this is happening. Here is the API request for each:

Radar: http://api.wunderground.com/api/key/radar/q/image.gif?noclutter=1&newmaps=1&radius=200&timelabel.y=10&timelabel=1&centerlon=-79.38403&centerlat=43.653736&width=500&radunits=km&height=500&timelabel.x=3
Radar + Satellite: http://api.wunderground.com/api/key/radar/satellite/image.gif?rad.width=500&rad.centerlon=-79.38403&sat.radunits=km&sat.gtt=170&rad.height=500&rad.newmaps=1&sat.key=sat_ir4&sat.radius=200&sat.width=500&sat.centerlon=-79.38403&rad.centerlat=43.653736&rad.radius=200&rad.timelabel.y=10&rad.radunits=km&rad.timelabel=1&sat.centerlat=43.653736&rad.timelabel.x=3&sat.height=500

I noticed that Python seems to insert the parameters in random order, but I don't see why this would make any difference. I think I am following the API properly, ie adding rad. and sat. before the parameters that are exclusive to those modes... I would really like to hear if anyone else has this feature working!
(Edited)
Photo of Ravi Yadav

Ravi Yadav

  • 82 Posts
  • 8 Reply Likes
Jimmy, The query parameters for "Radar+Satellite" are different than what they are for Radar or Satellite.
In your example, (Radar+Satellite) doesn't support centerlon, radunits etc. 

Check the examples at the bottom of this page to see how to query (Radar+Satellite) together: 
http://api.wunderground.com/weather/api/d/docs?d=layers/radar-satellite