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

Install Hydra Platform library into hydroshare-jupyterhub? #114

Closed amabdallah closed 6 years ago

amabdallah commented 6 years ago

Could you guys please install the HydraPlatform library into hydroshare-jupyterhub? https://github.com/UMWRG/HydraPlatform

I installed it locally and it works fine. I already have a working code that makes WaMDaM interoperable with HydraPlatform. It would be really cool to support the HydraPlatform library in hydroshare-jupyterhub because it would allow so much work not only for me but also with my collaborators. It would demonstrate the usability and generality of HydroShare for areas like network based water management models in Hydra and WaMDaM.

Thank you

The way it works on my local machine is like this:

# set the path to the Hydra repository to import its libraries
import sys
sys.path.append("C:\Users\Adel\Documents\GitHub\HydraPlatform\HydraServer\HydraLib\python")

import argparse as ap

# Python utility libraries.
from HydraLib.HydraException import HydraPluginError
from HydraLib.PluginLib import JsonConnection, \
    create_xml_response, \
    write_progress, \
    write_output
etc

So I want to use HydraLibs in HydraPlatform to develop the plugin that talks to a HydraPlatform server hosted here http://test.hydra.org.uk/

I hope I made it clear why and how I want to use the HydraPlatform library but please let me know if you have questions Adel

amabdallah commented 6 years ago

Nevermind, dont worry about my request above. I ended up connecting to a remote Hydra server. I just needed to upload the called upon libraries within Jupyter environment. thanks.

Feel free to close the issue as resolved