Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
Authors: |
|
|
---|---|---|
Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource. |
Type: | Resource | |
Storage: | The size of this resource is 7.6 KB | |
Created: | Feb 07, 2020 at 3:28 p.m. | |
Last updated: | Feb 07, 2020 at 5:06 p.m. | |
Citation: | See how to cite this resource |
Sharing Status: | Public |
---|---|
Views: | 1485 |
Downloads: | 36 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
This resource describes how to get started using Binder in HydroShare.
Subject Keywords
Content
README.md
GETTING STARTED WITH BINDER
Author: Tony Castronova acastronova@cuahsi.org
Last edited: 02.07.2020
Description
Connecting the MyBinder compute capabilities with the HydroShare repository enables scientific reproducibility, replicability, and scientific collaboration across transdisciplinary water science domains. This document outlines the benefits, general use, and advanced use of Binder for these purposes.
What is Binder?
The Binder project offers an easy place to share computing environments to everyone. It allows users to specify custom environments and share them with a single link. Use-cases involve workshops, scientific workflows and streamline sharing among teams.
The Binder Project builds tools that reward best-practices in reproducible data science by utilizing community-developed standards for reproducibility. When repositories follow these best-practices and are hosted in an online repository, then Binder automatically builds a linkable environment anybody can access.
For more information see a complete description on their webpage
Advantages
The primary advantage of making your HydroShare data and workflows "Binder-compliant" is the ability to...
Binder Configuration Files
Binder configuration files are used to build your compute environment on-the-fly and are created specifically individual resources. An abbreviated list of these files is shown below, however a comprehensive list can be found here.
Note: A single HydroShare resource must contain one or more of these files.
environment.yml
- Install a Python environmentrequirements.txt
- Install a Python environmentsetup.py
- Install Python packagesProject.toml
- Install a Julia environmentREQUIRE
- Install a Julia environment (legacy)install.R
- Install an R/RStudio environmentapt.txt
- Install packages with apt-getDESCRIPTION
- Install an R packagemanifest.xml
- Install StencilapostBuild
- Run code after installing the environmentstart
- Run code before the user sessions startsruntime.txt
- Specifying runtimesdefault.nix
- the nix package managerDockerfile
- Advanced environments
Basic Configuration Examples
A simple Python configuration may look like the following:
HydroShare resource files
. +-- my_script.py +-- binder_folder | +-- requirements.txt | +-- runtime.txt
File Contents
my_script.py
import numpy import pandas ...
requirements.txt
numpy==1.18.1 pandas==1.0.1
runtime.txt
python-3.8.1
A complete example of this can be found at link.
Advanced Recipe Examples
Further Reading
Examples
Related Resources
Title | Owners | Sharing Status | My Permission |
---|---|---|---|
Binder Examples | Anthony Castronova | Public & Shareable | Open Access |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment