JupyterHub

From CSDMS
The OpenEarthscape JupyterHub
What is JupyterHub?

Through the NSF-funded OpenEarthscape project, CSDMS has not one, but two, JupyterHubs:

  1. jupyter.openearthscape.org
  2. lab.openearthscape.org

Both Hubs are hosted on the commerical cloud through the NSF CloudBank program. Both are free and available for use by all CSDMS members, whether you're an undergraduate, grad student, postdoc, researcher, or faculty.

What can you do with these JupyterHubs? Here are a few ideas:

  • Prototype and test Python code for a model
  • Run a model through Landlab or pymt
  • Create a notebook for a journal article
  • Teach a class at a university
  • Lead an interactive workshop at a conference
  • Work on a course assignment
  • Run a lab from the CSDMS EKT repository
  • Highlight your research in a notebook and share it with others in the community
  • Access a Linux OS and shell in the cloud

The roles of these two JupyterHubs, jupyter and lab, as well as sign up and sign in instructions for each, are given in the sections below.

jupyter

This is the primary JupyterHub for use by all CSDMS members. It's a place to work, experiment, and learn. It includes CSDMS software such as Landlab and pymt. Labs from the CSDMS EKT repository can run on this Hub.

This Hub uses GitHub as a login service. Please see these instructions to sign up and sign in.

Note that the login for this Hub is separate from the login for the lab Hub. There is no expiration date for a login on this Hub.

lab

This JupyterHub is used for teaching; e.g., university classes or interactive workshops at a conference. Like jupyter, it's a place to work, experiment, and learn. It includes CSDMS software such as Landlab and pymt. Labs from the CSDMS EKT repository can also run on this Hub.

A username and password are required to login to this Hub. If you'd like to teach a class or lead a workshop using this Hub, please contact us through the CSDMS Help Desk, or email us at csdms@colorado.edu. We can help install software and create logins for the participants in your class or workshop.

Note that the login for this Hub is separate from the login for the jupyter Hub. Non-instructor logins that are inactive for more than a year will be removed.

common features

The jupyter and lab Hubs share some common features described below.

user interface

The default user interface on both Hubs is JupyterLab. If you haven't used JupyterLab before, there's ample documentation. However, it's best to just get in and try it. Don't worry, you won't break anything!

default files

In each Hub, a README and pair of directories are included by default in your home directory. The directories are:

  • data: A read-only directory for storing and sharing data
  • scratch: A read-write directory for sharing code, notebooks, or other files with other users

Files that remain in scratch longer than 90 days may be deleted. If you'd like to add files to the data directory, please contact us through the CSDMS Help Desk. We've also created a brief tutorial on uploading and downloading files to/from a JupyterHub.

software

These Hubs use Jupyter kernels mapped to conda environments to group software. The default kernel is called Python 3. It contains a minimal set of software packages. To explore with CSDMS models and tools, including Landlab and pymt, select the CSDMS kernel.

If you'd like new software installed on a Hub (e.g., for a class or a workshop), please contact us through the CSDMS Help Desk.

system maintenance

The lab and jupyter Hubs will be offline for maintenance and software updates a few days per year, usually at the beginning of June and the end of December. If people are using the Hubs around these times, we'll work with them to minimize disruption.