hydroshare / hydroshare-jupyterhub

The HydroShare Jupyterhub Notebook Server is an environment designed provide added value to existing HydroShare resources via interactive computational notebooks.
4 stars 6 forks source link

Adding Utilities at hydroshare-jupyterhub #153

Open ghost opened 5 years ago

ghost commented 5 years ago

@dtarb @Castronova We have a request from an organization (CSDMS https://github.com/csdms) and a toolkit publication (Observatory https://github.com/Freshwater-Initiative/Observatory done in part with HydroShare funding from 2016) to add Utilities.

From notes in a 4/18/2017 Team meeting (currently page 20) I asked for Team Input on "Is it a HydroShare responsibility or the CUAHSI JupyterHub server? How do we build utilities?"

Proposal Option 1: Develop a document to describe CUAHSI suggested steps/standards, test with OGH (independently developed tools that uses HydroShare REST client) Proposal Option 2: Muddle through just making it work for examples above and develop a document describing the process for future utilities

Notes and thoughts on the utility adding process-

Possible steps to Contribute to hydroshare-jupyterhub/Utilities (TBD)

  1. Release code on Github repo, link with TravisCI for conda and pip installation. This can be tested in HS notebooks.
  2. Present tools to HydroShare Team
  3. Publish code in Journal of Open Source Software (JOSS; get DOI for Github repo)
  4. Publish tutorial/sample data on HydroShare
  5. Publish peer reviewed journal for community users
  6. Pull request to hydroshare-jupyter when code is finalized
  7. Published examples supported by HS will always work, version testing If dev continues, users can do a pip install to those evolving repos

Is this too much work for the utility developer?

Library options currently for using tools in a Notebook:

ghost commented 5 years ago

It would be best if HydroShare can work as a source to https://mybinder.org/ to turn the notebooks live

ghost commented 5 years ago

I talked with @dtarb and @Castronova about it and yes it would be pretty cool to make a public composite resource in HydroShare to work with Binder. It should not be a hug amount of work. Binder deploys the content of a public GitHub repo which may include Jupyter Notebooks and makes them live and interactive. I tried to use a public composite resource (which has the same GitHub repo files) with Binder but it returned an error.

Maybe my issue though is different than what @ChristinaB is asking for

ghost commented 5 years ago

This seems to mix separate things.

Binderhub. The modeling and cyberinfrastructure team (@goodalljl @swuiuc) needs to evaluate whether binderhub should play a role in our CI.
JupyterHub utilities. Issues for jupyterhub should be posted in https://github.com/hydroshare/hydroshare-jupyterhub. There is a need to separate general purpose platform functionality that the HydroShare team can work on and model or software specific functionality used by a community where the community has the primary responsibility and can deploy in HydroShare resources to be opened wit JupyterHub, or should make pull requests in https://github.com/hydroshare/hydroshare-jupyterhub for capability they have developed and tested. The specific utilities being requested above are unclear.