Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide display of Plugins available #73

Closed
jreadey opened this issue Oct 8, 2015 · 10 comments
Closed

Provide display of Plugins available #73

jreadey opened this issue Oct 8, 2015 · 10 comments
Assignees
Milestone

Comments

@jreadey
Copy link
Member

jreadey commented Oct 8, 2015

Add info box displaying which plugins are available.

@jreadey jreadey mentioned this issue Oct 9, 2015
20 tasks
@jreadey
Copy link
Member Author

jreadey commented Oct 10, 2015

On file open it wold be nice if there was a way the user could select which plugin to use (assuming multiple plugins support the given file). Once (somewhat clunky) way to do this would be to have the "Show Plugin" dialog have enable/disable checkbox.

@giumas
Copy link
Collaborator

giumas commented Oct 11, 2015

On my fork, by adding some logging debug messages, I noticed that the local hdf5 files are open using the opendap model (when present). Is this the intended behavior?

@jreadey
Copy link
Member Author

jreadey commented Oct 11, 2015

That's surprising - I'll take a look

@giumas
Copy link
Collaborator

giumas commented Oct 11, 2015

If an url like "file://path/to/test.h5" can be handled by pydap.. why is this surprising? There will be multiple available handlers.. and just the 'last' one will be used. Thus, it becomes relevant what is the order of importing the modules.

A different approach could be something like an ordered list of models with a 'priority' variable. For instance, with the BAG plugin, we may want to show the data with such a specific plugin rather than the generic HDF5 model. The current way to do this is based on the order of models import.

@jreadey
Copy link
Member Author

jreadey commented Oct 11, 2015

I was thinking pydap only handled resources not local files.

Let's introduce a prefered extension(s) as part of the compass_model. E.g. the Bag plugin could list (*.bag) and a file with that extension would be loaded with the BAG plugin rather than the HDF5 plugin.

It would also be nice to have a "re-open as xyz" so users could look at the same file through another plugin (assuming it supported the file as well).

@giumas
Copy link
Collaborator

giumas commented Oct 27, 2015

On file open it wold be nice if there was a way the user could select which plugin to use (assuming multiple plugins support the given file).

I would split this ticket. The "Plugin info" box for this release, and a mechanism for disabling plugins for a future release: #132.

@giumas giumas self-assigned this Oct 28, 2015
@giumas
Copy link
Collaborator

giumas commented Nov 3, 2015

Something like this?

capture

@jreadey
Copy link
Member Author

jreadey commented Nov 3, 2015

That looks good.

@giumas
Copy link
Collaborator

giumas commented Nov 3, 2015

Great! I will move forward by merging the PR.

The plugin descriptions are currently minimal.. since I was just looking to have some text to visualize for each plugin. There is much more that can be added.

@giumas giumas closed this as completed Nov 3, 2015
@jreadey
Copy link
Member Author

jreadey commented Nov 3, 2015

Right, I'd expect plugins to provide a few sentences of description. The description can always link to a url for more information.

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

No branches or pull requests

2 participants