Basemap and Bokeh

I have some precipitation data on a grid: 3600*1800 and I would like to use bokeh to display it, so I can interact with the data: zoom, pan, and switch between different images with sliders. What I am looking for is very similar to https://www.youtube.com/watch?v=B-P3yA-P-sY from Continuum Analytics. Normally, I just use matplotlib Basemap to plot but I am not seeing how to incorporate this with Bokeh.

Hi McNaught,

I also would like to graph similar gridded climate data (remote sensing/model/reanalysis), and have similar questions/desires of current web-based plotting libraries: these seem to be features not currently well served.

The best they seem to do at the moment is to plot polygons on standard map bases. Have a look here for some example at the bottom of the page with Folium, you can do similar things in Bokeh re points and polygons also, but I think nothing sophisticated with projections and gridded data/contours like what Climate science requires yet. (Google’s EarthEngine may be worth you looking at also, as they are more about geospatial data in particular and allow users to upload data, but this is not directly related to your question.)

I guess the best you could get perhaps with Bokeh at the moment is to plot as an image, and overlay some boundary polygons, but you will have to do all the work manually to make sure the projections/coordinates and overlays are all okay.

[http://nbviewer.ipython.org/gist/wrobstory/1eb8cb704a52d18b9ee8/Up%20and%20Down%20PyData%202014.ipynb?utm_term=0_9e26887fc5-a7cf945d96-312683353&utm_content=buffer36d4e&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer](http://nbviewer.ipython.org/gist/wrobstory/1eb8cb704a52d18b9ee8/Up and Down PyData 2014.ipynb?utm_term=0_9e26887fc5-a7cf945d96-312683353&utm_content=buffer36d4e&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer)

···

On 31 May 2015, at 20:13, C. McNaught [email protected] wrote:

I have some precipitation data on a grid: 3600*1800 and I would like to use bokeh to display it, so I can interact with the data: zoom, pan, and switch between different images with sliders. What I am looking for is very similar to https://www.youtube.com/watch?v=B-P3yA-P-sY from Continuum Analytics. Normally, I just use matplotlib Basemap to plot but I am not seeing how to incorporate this with Bokeh.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0866faa9-d3c6-46bf-b90f-25c7143a6ed7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Did you gentlemen receive any updates on this?
I am interested in this as well and currently trying to find some example code to work off. I have some local WRF NETCDF output that I would like to visualize using Bokeh.

Thanks!

aj

···

On Monday, June 1, 2015 at 6:54:07 AM UTC-7, Benjamin Laken wrote:

Hi McNaught,

I also would like to graph similar gridded climate data (remote sensing/model/reanalysis), and have similar questions/desires of current web-based plotting libraries: these seem to be features not currently well served.

The best they seem to do at the moment is to plot polygons on standard map bases. Have a look here for some example at the bottom of the page with Folium, you can do similar things in Bokeh re points and polygons also, but I think nothing sophisticated with projections and gridded data/contours like what Climate science requires yet. (Google’s EarthEngine may be worth you looking at also, as they are more about geospatial data in particular and allow users to upload data, but this is not directly related to your question.)

I guess the best you could get perhaps with Bokeh at the moment is to plot as an image, and overlay some boundary polygons, but you will have to do all the work manually to make sure the projections/coordinates and overlays are all okay.

http://nbviewer.ipython.org/gist/wrobstory/1eb8cb704a52d18b9ee8/Up%20and%20Down%20PyData%202014.ipynb?utm_term=0_9e26887fc5-a7cf945d96-312683353&utm_content=buffer36d4e&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer

On 31 May 2015, at 20:13, C. McNaught [email protected] wrote:

I have some precipitation data on a grid: 3600*1800 and I would like to use bokeh to display it, so I can interact with the data: zoom, pan, and switch between different images with sliders. What I am looking for is very similar to https://www.youtube.com/watch?v=B-P3yA-P-sY from Continuum Analytics. Normally, I just use matplotlib Basemap to plot but I am not seeing how to incorporate this with Bokeh.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0866faa9-d3c6-46bf-b90f-25c7143a6ed7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.