Skip to main content

Embedding data and python code into a HydroLearn module


Utah_State_University

Module Overview

This module was developed to address this question It illustrates the use of Jupyter Notebooks and Python code running on Google Colab or HydroShare. It illustrates how to access data from files and from the internet.

Course Author

David Tarboton
Utah State University
david.tarboton@usu.edu

Problem Statement

Is it possible to set up a system for students doing a module in HydroLearn to run python code directly from an online console without installing python on their own computer? If so, how can data be accessed by the script?

Target Audience

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.

Topics Covered

  • Data and Code in Google Colab
  • Data and Code in HydroShare

Learning Objectives

  • To be able to execute code for simple data analysis using Python in Google Colab.
  • To be able to execute code for simple data analysis using HydroShare JupyterHub.

Tools Needed

  • A Google account for the execution of code in Google Colab.
  • A HydroShare account for the execution of code in JupyterHub platforms connected to HydroShare

Expected Effort

1 hour

Suggested Citation

Tarboton, D.G., (2020), Embedding data and code into a HydroLearn module. HydroLearn. https://edx.hydrolearn.org/courses/course-v1:Utah_State_University+EmbedCode101+1/about.

  1. Course Export

    Export Link

    To customize this course for your own needs, export a copy and import into a new empty course inside Studio.

  2. Course Number

    EmbedCode101
  3. Classes Start

  4. Estimated Effort

    1
Enroll