Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Example resource illustrating the embedding of data and python code

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI ( for information on this resource.
Type: Resource
Storage: The size of this resource is 757.8 KB
Created: Jun 28, 2020 at 6:09 p.m.
Last updated: Jul 18, 2021 at 10:19 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 956
Downloads: 88
+1 Votes: Be the first one to 
Comments: 1 comment


This resource illustrates how data and code can be combined together to support hydrologic analyses. It was developed June 2020 as part of a HydroLearn Hackathon.

Subject Keywords


This resource is part of a short HydroLearn module to illustrate the embedding of data and python code into HydroLearn.


The primary audience is instructors developing content for HydroLearn that includes code execution as part of the learning activities, but it may be of use to anyone who wants a simple Python data analysis example.

To use this Resource

  1. At the top right click on "Open With" to open the HydroShare resource on the compute platform selected. Pick whichever of CUAHSI JupyterHub or CyberGIS-Jupyter for Water you wish to use.

  2. Once JupyterHub opens click to open the file 'FlowFromSnow.ipynb'

  3. Follow the instructions in the notebook to perform the illustrative analysis it holds relating maximum annual streamflow to maximum snow water equivalent for a specific location.

Related Resources

This resource is described by Tarboton, D. G., 2020, Embedding data and python code into a module, HydroLearn,


Funding Agencies

This resource was created using funding from the following sources:
Agency Name Award Title Award Number
National Science Foundation Collaborative Research: Improving Student Learning in Hydrology & Water Resources Engineering by Enabling the Development, Sharing and Interoperability of Active Learning Resources DUE 1725989

How to Cite

Tarboton, D. (2021). Example resource illustrating the embedding of data and python code, HydroShare,

This resource is shared under the Creative Commons Attribution CC BY.


Haroon Stephen 2 years, 7 months ago

Very useful tutorial.

+1 Votes: 1 other +1 this

New Comment