A next-generation GUI for visualizing big gridded data in Python
ESIP Member Organization Name
US Geological Survey
Mentors
Rich Signell, USGS @rsignell-usgs Martin Durant, Anaconda @martindurant
Project Idea
CF-Compliant ndarray datasets can be visualized in tools that understand the NetCDF Data Model and the geospatial metadata they contain. While stand-alone tools like Panoply are often used on the desktop, the goal here is to develop a tool for visualizing and interacting with these datasets in Jupyter Notebooks using xarray, dask and the pyviz collection of widgets, rendering and layout tools.

Idea Title
A next-generation GUI for visualizing big gridded data in Python
Abstract
There have been several important advances that now make it possible to render big gridded data from many different sources with a common Python-based toolset in the browser. The first is the CF conventions that allow non-ambiguous identification of coordinate and data variables, the second is xarray which represents the CF data model in Python, and the third is the pyviz collection of tools, that allows rendering of massive gridded data, widgets to control data selection, and tools to specify layouts of widgets and data displays in the browser.
Technical Details
The GSoC student would build a dashboard using panel that allows the user to specify an intake catalog containing CF-compliant datasets that can be loaded into xarray. The user would select a dataset, which would then display a list of variables contained in that dataset. The user would then select a variable, which would then trigger reading the variable by xarray and displaying on a map using hvplot. Depending on the variable dimensions, widgets containing time steps and/or vertical levels would be displayed which would allow specification of specific index or coordinate values to plot.
Bells and whistles like colormap selection and different types of visualization techniques could be added as time permits.
The work will be coordinated with the overarching "Next-Generation GUI" effort of @martindurant.
The development can be done on a Pangeo environment running on the Amazon cloud, which means the student will not have run anything or install any software locally -- they will only need their browser and a github account.
Helpful Experience
Experience with Python is required, experience with xarray, pyviz and github a big plus.
First steps
Video:
- 3 minute introduction to Pangeo
- 20 minute introduction to pyviz
- 3 hour introduction to pyviz
- 40 minute presentation on intake
Getting Started:
- https://intake.readthedocs.io/en/latest/index.html
- https://panel.pyviz.org
- https://hvplot.pyviz.org/user_guide/index.html
- http://pyviz.org/tutorial/index.html
Hi, @rsignell-usgs, I am very interested in working on the project and making a contribution to it. Thank You!
@sugam45, excellent. What is your experience with these components thus far?
Hi all - Quick reminder that we should hold off on discussing projects at-depth until February 26th; that is the date mentor organizations are officially announced. It's okay to say 'hi' though!
AB
Annie Burgess, PhD
Lab Director | Earth Science Information Partners (ESIP)
esipfed.org/lab http://esipfed.org/lab | 585.738.7549
Sign up for the monthly ESIP Lab update here http://eepurl.com/dtKL8z.
On Thu, Feb 14, 2019 at 7:58 AM Sugam Srivastava [email protected] wrote:
Hi, @rsignell-usgs https://github.com/rsignell-usgs, I am very interested in working on the project and making a contribution to it. Thank You!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ESIPFed/gsoc/issues/14#issuecomment-463617953, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_XwPyjj10TLeVKTf3cCkOzR9oYf_QAks5vNV2SgaJpZM4a0_s0 .
I got to know about Pyviz through this issue. Pyviz is just absolutely amazing!!! It make visualising so much simpler, better and interesting as compared to simply matplotlib, seaborn or other plotting libraries.Thanks a lot for creating this issue and providing such superb resources!!
I would love to contribute to this project for GSOC. I have gone through all the videos mentioned above and finished pyviz tutorials.
There is also personal motivation involved in this project for me since I have several months of minute stock market data for which I wanted to design a dedicated interactive GUI in Python. This project is very much on the similar lines.
This is the task list I have prepared for myself to get started:
- Understand
Holoviewsby doing some more similar plotting tasks. - Understand internals of
Intakein depth. - Understand
xarrayanddaskin depth. - Start using
Pangeoto understand it better. - Prepare a simple GUI for stock data which will help me to understand
Pyvizand other packages in much depth and detail.
I really wish that ESIP gets selected!!
Congratulations, ESIP for getting selected in GSOC 2019 !!!
Great news indeed!
pangeo.pydata.org site showing the error "Server Not Found". I think they have closed the access to it.

Yes, that pangeo instance is gone. Leaving it wide open was causing the research credits to be depleted too quickly. You can use the pangeo binder though. Try clicking the launch binder button here, for example: https://github.com/reproducible-notebooks/HRRR_Dashboard
@rsignell-usgs ,I would be thrilled if I get to contribute to this projects as I have done past data visualization projects using Matplotlib,Seaborn,Plotly,Geoplot and also machine learning libraries like sci-kit learn,tensorflow,keras,Categotical Boost and Pybrain
i am looking to work on the project of the organization and contribute to the opensource
@rsignell-usgs I am deeply interested in this project.I have done past projects using well known plotting libraries in python.I have gone through the first steps section,Looking forward to contribute.
I'm glad to see all the interest here! This will be very interesting and rewarding project!
Sir,@rsignell-usgs.Can I contribute to this project? and where can I find the dataset? Or should I download the dataset of some regions from NCDC and show you the result?
For reproducibility, better to load data directly from a CF-compliant OPeNDAP endpoint or an S3 bucket (e.g. zarr format), like in:
https://github.com/reproducible-notebooks/HRRR_Dashboard
Thanks sir,@rsignell-usgs!!
Part of this project will be figuring out what the lon,lat and time dimensions of an xarray dataset are, instead of assuming that they are in a certain order, as in the HRRR_Dashboard referenced above. The MetPy package can do this: https://stackoverflow.com/questions/53469510/how-to-identify-time-lon-and-lat-coordinates-in-xarray/
Hi @rsignell-usgs , With the help of the link that you had provided,I am able to visualize the interactive map.Should,my map also show the latitude and the longitude as the mouse hovers through the region?
Yes, it should as long as the hover control is selected. Try running this example:
Note also that we currently need conda packages from development channels to make this work:
https://github.com/reproducible-notebooks/HRRR_Dashboard/blob/master/environment.yml
Cool Thanks sir And sir Colab doesn't support pyviz so we need to do in Jupyter Notebook only
Signing up to this conversation. I am heading up Intake at Anaconda and involved in our development of the GUI for it.