Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Context menu on 3D globe #542

Closed
forman opened this issue Mar 7, 2018 · 6 comments
Closed

Context menu on 3D globe #542

forman opened this issue Mar 7, 2018 · 6 comments
Assignees
Milestone

Comments

@forman
Copy link
Member

forman commented Mar 7, 2018

From @kjpearson in #325:

Add a right click context menu that contains some useful functions like: tseries_point for that location, define area (allow a polygonal region to be defined by clicking that can be saved/used by other functons eg. tseries_mean, enso).

Specifications

Cate 1 + 2.0.0-dev.1

@forman forman added this to the IRM8 milestone Mar 7, 2018
@forman forman self-assigned this Mar 7, 2018
@forman
Copy link
Member Author

forman commented Mar 9, 2018

@kjpearson like so?

image

@forman forman removed the in_progress label Mar 9, 2018
@kjpearson
Copy link

Something like that. I was thinking specifically of a way to create a more direct interaction with the data as you see it displayed. In particular, "point" operations so, for example, a time-series of the values for the point or a histogram of values over time. I can see that there's the option here to store the location so you can then put them into the operation separately but it would be nice to cut out this step. I think you have more general dataset operations listed here, which is a way to have useful operations easily available, so there is merit in that too.

In the figure you've shown, I imagine subset_spatial to then allow me to click on a series of points until I indicate the end somehow, then go off and do the subsetting. I'm not sure about "open dataset" though. Surely the dataset is already open in this situation?

@forman
Copy link
Member Author

forman commented Mar 12, 2018

The listed operations all have an input of type geometry (point or polygon). When you invoke them via the context menu, all inputs will be filled by context values. That is

  • dataset inputs by the selected dataset resource
  • variable name inputs by the selected variable
  • geometry inputs by the right-clicked geometry

@forman
Copy link
Member Author

forman commented Mar 12, 2018

And you can draw points, polylines, polygons, and boxes now point-by-point:

image

@kjpearson
Copy link

OK I will wait to try this in person to check if the operations I expect as a user appear in the context menu in different situations.

@forman
Copy link
Member Author

forman commented Mar 21, 2018

@kjpearson I'll close this one. Please open a new issue for ideas how to improve the context menu.

@forman forman closed this as completed Mar 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants