intake / intake-gsoc-gui

Panel GUI project for GSOC
3 stars 3 forks source link

Prepare quick basic implementation of data description section. #5

Closed hdsingh closed 5 years ago

hdsingh commented 5 years ago

This issue is also pre-coding task.

Task: Create a basic implementation of Data description as stated in my proposal. Screenshot from 2019-05-20 17-12-47

hdsingh commented 5 years ago

This task has also been postponed and because it needs to be done according to the new design which would be discussed in the e-meet. However, I still tested my initial idea.

hdsingh commented 5 years ago

Just did a basic extraction/listing of coordinates and variable properties in Description.ipynb which could be organised in any way (could be hv.Table).

hdsingh commented 5 years ago

Dataset properties: Screenshot from 2019-05-27 16-58-18

Variable properties: Screenshot from 2019-05-27 15-45-15

hdsingh commented 5 years ago

@rsignell-usgs @martindurant Sir, What are your thoughts regarding this initial approach?

martindurant commented 5 years ago

Displaying information in tables is OK, but in practice we might be better off formatting our own HTML for nicer output (e.g., xarray may well have a nice default representation soon, as dask.array does). However, the main problem is that some of these widgets will be used for selecting: the user wants to plot one of those variables, so they expect to be able to click on it. That means we need to be able to associate an event with the selection, which the hv.Table won't do.

Similar arguments can be made for other "attributes" which should be selectable, such as the coordinates associated with a given variable.

Aside from output-only areas, all control should probably be widgets from https://panel.pyviz.org/user_guide/Widgets.html