Skip to content

Instantly share code, notes, and snippets.

@wradlib
Created July 29, 2016 09:20
Show Gist options
  • Save wradlib/da25e2232af1c53ef931e481aec6ea76 to your computer and use it in GitHub Desktop.
Save wradlib/da25e2232af1c53ef931e481aec6ea76 to your computer and use it in GitHub Desktop.
Create CAPPI from Rainbow Volume Data
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kmuehlbauer
Copy link

The gist is wrong with respect to the sitecoords. It has the longitude/latitude accidentally swapped.

Please change:

lon = rbdict['volume']['sensorinfo']['lon']
lat = rbdict['volume']['sensorinfo']['lat']
sitecoords = (float(lat), float(lon), 0.)

to

lon = rbdict['volume']['sensorinfo']['lon']
lat = rbdict['volume']['sensorinfo']['lat']
sitecoords = (float(lon), float(lat), 0.)

@GiarnoArno
Copy link

GiarnoArno commented Feb 25, 2018

why i can not display image and have message :
QWindowsWindow::setGeomtery: Unable to set geometry 1000x1066+8+31 on QWidgetWindow/'MainWindowClassWindow'. Resulting geometry: 1000x749+8+31(frame:8, 31, 8, 8, custom margin: 0,0, 0, 0, minimum size: 67x66, maximum size: 16777215x16777215).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment