Example resource illustrating the embedding of data and python code

Resource type: Composite 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: 401
Downloads: 65
+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

Deleting all keywords will set the resource sharing status to private.



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, https://edx.hydrolearn.org/courses/course-v1:Utah_State_University+EmbedCode101+1/about


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, http://www.hydroshare.org/resource/70a039fb5aea4a6597a97ee5bbb7ddcb

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



Haroon Stephen 6 months ago

Very useful tutorial.

+1 Votes: 1 other +1 this

New Comment