{"action":"created","issue":{"url":"https://api.github.com/repos/ARM-DOE/pyart/issues/557","repository_url":"https://api.github.com/repos/ARM-DOE/pyart","labels_url":"https://api.github.com/repos/ARM-DOE/pyart/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/ARM-DOE/pyart/issues/557/comments","events_url":"https://api.github.com/repos/ARM-DOE/pyart/issues/557/events","html_url":"https://github.com/ARM-DOE/pyart/issues/557","id":167734626,"number":557,"title":"Displaying radar data with Basemap arcgis background","user":{"login":"chudlerk","id":20671613,"avatar_url":"https://avatars.githubusercontent.com/u/20671613?v=3","gravatar_id":"","url":"https://api.github.com/users/chudlerk","html_url":"https://github.com/chudlerk","followers_url":"https://api.github.com/users/chudlerk/followers","following_url":"https://api.github.com/users/chudlerk/following{/other_user}","gists_url":"https://api.github.com/users/chudlerk/gists{/gist_id}","starred_url":"https://api.github.com/users/chudlerk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chudlerk/subscriptions","organizations_url":"https://api.github.com/users/chudlerk/orgs","repos_url":"https://api.github.com/users/chudlerk/repos","events_url":"https://api.github.com/users/chudlerk/events{/privacy}","received_events_url":"https://api.github.com/users/chudlerk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-26T23:19:53Z","updated_at":"2016-08-01T19:24:34Z","closed_at":null,"body":"I am attempting to display radar data over shaded relief imagery created by the arcgisimage function within Basemap, as demonstrated [here](http://basemaptutorial.readthedocs.io/en/latest/backgrounds.html)\r\n\r\nI tried first creating the Basemap, then created a RadarMapDisplay object and set the basemap to the one I just created, but this just leaves me with a blank white background.\r\n\r\n`m = Basemap(llcrnrlon=119.46,llcrnrlat=21.62,urcrnrlon=121.406,urcrnrlat=23.43, projection='merc', resolution = 'i', epsg=4269)`\r\n`m.drawcoastlines()`\r\n`m.arcgisimage(service='World_Shaded_Relief', xpixels = 1500, verbose= True)`\r\n\r\n`display = pyart.graph.RadarMapDisplay(radar)`\r\n`display.basemap = m`\r\n`display.plot_ppi_map('reflectivity', 0, vmin=0, vmax=64.)\r\n`\r\n\r\nI've also tried other things like passing the basemap as an argument when I create the RadarMapDisplay object, and trying to add the background with `display.basemap.arcgisimage(service='World_Shaded_Relief', xpixels = 1500, verbose= True) `\r\nbut either the background never shows up, or it disappears when the radar data is plotted.\r\n\r\nIs this something I should be able to do?"},"comment":{"url":"https://api.github.com/repos/ARM-DOE/pyart/issues/comments/236680684","html_url":"https://github.com/ARM-DOE/pyart/issues/557#issuecomment-236680684","issue_url":"https://api.github.com/repos/ARM-DOE/pyart/issues/557","id":236680684,"user":{"login":"jjhelmus","id":1050278,"avatar_url":"https://avatars.githubusercontent.com/u/1050278?v=3","gravatar_id":"","url":"https://api.github.com/users/jjhelmus","html_url":"https://github.com/jjhelmus","followers_url":"https://api.github.com/users/jjhelmus/followers","following_url":"https://api.github.com/users/jjhelmus/following{/other_user}","gists_url":"https://api.github.com/users/jjhelmus/gists{/gist_id}","starred_url":"https://api.github.com/users/jjhelmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjhelmus/subscriptions","organizations_url":"https://api.github.com/users/jjhelmus/orgs","repos_url":"https://api.github.com/users/jjhelmus/repos","events_url":"https://api.github.com/users/jjhelmus/events{/privacy}","received_events_url":"https://api.github.com/users/jjhelmus/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T19:24:34Z","updated_at":"2016-08-01T19:24:34Z","body":"@chudlerk Try adding the **Basemap** instance to the `plot_ppi_map` method as the basemap argument: \r\n\r\n``` Python\r\ndisplay.plot_ppi_map(field, basemap=m).\r\n```\r\n\r\nIf that argument is not provided a new map is created."}}
{"actor":{"display_login":"jjhelmus"}}