Skip to content

Commit 271f2bb

Browse files
authored
Merge pull request #21 from oceanhackweek/copilot/update-book-content-for-jupyterhub
Restructure book for JupyterHub documentation
2 parents a30459a + 1bafd4d commit 271f2bb

76 files changed

Lines changed: 5586 additions & 398 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

book/CoC.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

book/_config.yml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,20 @@
11
# Book settings
22
# Learn more at https://jupyterbook.org/customize/config.html
33

4-
title: Fish-PACE Hackweek 2025
5-
author: content EE Holmes, template UW/eScience Institute
4+
title: NMFS Openscapes JupyterHub Guide
5+
author: NMFS Openscapes
66
logo: logo.png
77
only_build_toc_files: false
88

99
parse:
1010
# https://jupyterbook.org/content/content-blocks.html?highlight=myst%20substitution#define-substitutions-for-your-whole-book
1111
# https://jupyterbook.org/content/content-blocks.html#using-substitutions-in-links
1212
myst_substitutions:
13-
hackweek: "Fish-PACE Hackweek"
14-
dates: "Oct 20 to 24, 2025"
15-
github_org_url: "https://github.com/fish-pace"
16-
book_repo: "hackweek-2025"
17-
website_url: "https://fish-pace.github.io/hackweek-2025/"
1813
jupyterhub_url: "https://nmfs-openscapes.2i2c.cloud"
19-
slack_workspace_url: "https://fish-pace.slack.com/"
20-
contact_email: "eeholmes@uw.edu"
21-
anon_reporting_url: ""
22-
project_spreadsheet_url: "https://fish-pace.github.io/hackweek-2025/projects/list_of_projects.md"
23-
l0: "<span style='color:#bbb'>{fas}`eye`</span>"
24-
l1: "{fas}`eye;sd-text-primary`"
25-
d0: "<span style='color:#bbb'>{fas}`download`</span>"
26-
d1: "{fas}`download;sd-text-primary`"
27-
v0: "<span style='color:#bbb'>{fab}`youtube`</span>"
28-
v1: "{fab}`youtube;sd-text-primary`"
29-
c0: "<span style='color:#bbb'>{fab}`google`</span>"
30-
c1: "{fab}`google;sd-text-primary`"
14+
contact_email: "nmfs.openscapes@noaa.gov"
15+
github_org_url: "https://github.com/oceanhackweek"
16+
book_repo: "oceanforge"
17+
website_url: "https://oceanhackweek.github.io/oceanforge/"
3118
myst_enable_extensions:
3219
# Defaults
3320
- dollarmath
@@ -40,7 +27,7 @@ parse:
4027
https: null
4128
http: null
4229
mailto: null
43-
nb: /hackweek-2025/_sources/presentations/notebooks/{{path}}
30+
nb: /oceanforge/_sources/topics-skills/notebooks/{{path}}
4431

4532
# See https://jupyterbook.org/content/execute.html
4633
execute:
@@ -59,9 +46,9 @@ latex:
5946

6047
# Information about where the book exists on the web
6148
repository:
62-
url: "https://github.com/fish-pace/hackweek-2025" # Online location of your book
63-
path_to_book: book # Optional path to your book, relative to the repository root
64-
branch: main # Which branch of the repository should be used when creating links (optional)
49+
url: "https://github.com/oceanhackweek/oceanforge"
50+
path_to_book: book
51+
branch: main
6552

6653
# Bibliography
6754
bibtex_bibfiles:

book/_toc.yml

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,35 @@
33
root: intro
44
format: jb-book
55
parts:
6-
- caption: Details
6+
- caption: JupyterHub Skills
77
chapters:
8-
- file: logistics
9-
- title: Schedule
10-
url: https://fish-pace.github.io/hackweek-2025/index.html?jump_to=schedule
11-
- title: Team
12-
url: https://fish-pace.github.io/hackweek-2025/index.html?jump_to=team
13-
- title: JupyterHub
14-
url: https://nmfs-openscapes.2i2c.cloud
15-
- file: CoC
16-
- caption: Preparation
17-
chapters:
18-
- file: preliminary/index
19-
- file: preliminary/checklist
20-
- file: preliminary/git
21-
- file: reference/intro_to_python
22-
- caption: Presentations
23-
chapters:
24-
- file: presentations/lectures
25-
- file: presentations/tutorials
26-
- file: presentations/extras
27-
- caption: Projects
28-
chapters:
29-
- file: projects/index
30-
- file: projects/list_of_projects
31-
- caption: Reference
32-
chapters:
33-
- file: preliminary/learning
34-
- url: https://ocean-satellite-tools.github.io/hyper-fish-book/
35-
title: Hyperspectral products for fisheries
36-
- url: https://pace.oceansciences.org/applications.htm
37-
title: PACE Applications
38-
- url: https://pace.oceansciences.org/data_table.htm
39-
title: Data availability
40-
- file: reference/glossary
41-
- file: reference/questions
8+
- file: topics-skills/index
9+
- file: content/jhub
10+
title: About the Hub
11+
- file: content/setup
12+
title: Quick Start
13+
- file: topics-skills/01-intro-to-jupyterhub
14+
title: Intro to JupyterHubs
15+
- file: topics-skills/02-intro-to-lab
16+
title: JupyterLab
17+
- file: topics-skills/02-git
18+
title: Intro to Git
19+
- file: topics-skills/02-git-authentication
20+
title: Git Authentication
21+
- file: topics-skills/02-git-jupyter
22+
title: Git in JupyterLab
23+
- file: topics-skills/02-rstudio
24+
title: RStudio
25+
- file: topics-skills/02-git-rstudio
26+
title: Git in RStudio
27+
- file: topics-skills/02-git-terminal
28+
title: Git in the terminal
29+
- file: topics-skills/04-other-images
30+
title: Other images
31+
- file: topics-skills/03-earthdata
32+
title: Earthdata login
33+
- file: topics-skills/03-ScratchBucket
34+
title: S3 Scratch Bucket
35+
- file: topics-skills/03-AWS_S3_bucket
36+
title: AWS S3 Bucket
4237

book/content/jhub.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# About the Hub
2+
3+
## NMFS Openscapes JupyterHub
4+
5+
The NMFS Openscapes JupyterHub is a cloud-based computing environment that provides access to Python, R, RStudio, and other tools for data analysis and visualization. The hub is hosted on Amazon Web Services (AWS) and is available to NOAA staff and collaborators.
6+
7+
## Features
8+
9+
- **Multiple Environments**: Choose from Python, R, or geospatial images with pre-installed packages
10+
- **RStudio Integration**: Full RStudio IDE available in your browser
11+
- **JupyterLab**: Modern interface for Jupyter notebooks and code editing
12+
- **Persistent Storage**: Your files and work are saved between sessions
13+
- **Shared Resources**: Access shared datasets and collaborate with colleagues
14+
- **Git Integration**: Built-in Git support for version control
15+
16+
## Access
17+
18+
The JupyterHub is available at: <https://nmfs-openscapes.2i2c.cloud/>
19+
20+
You'll need a GitHub account to log in. Contact the NMFS Openscapes team if you need access.
21+
22+
## Support
23+
24+
For questions and support:
25+
26+
- **Discussions**: <https://github.com/nmfs-opensci/NOAAHackDays/discussions>
27+
- **Issues**: <https://github.com/nmfs-opensci/NOAAHackDays/issues>
28+
- **NMFS Python User Group**: Great resource for Python questions
29+
- **NMFS R User Group**: <https://nmfs-opensci.github.io/NMFS-R-UG/>
30+
31+
## Acknowledgements
32+
33+
The NMFS Openscapes JupyterHub is supported by NOAA Fisheries and built on infrastructure from 2i2c.org. The hub setup and documentation has benefited from the work of the University of Washington eScience Institute, CryoCloud, and Openscapes communities.

book/content/setup.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Quick Start
2+
3+
Welcome! This guide will help you get started with the NMFS Openscapes JupyterHub.
4+
5+
## Prerequisites
6+
7+
Before you begin, make sure you have:
8+
9+
1. **GitHub Account**: You'll need a GitHub account to log in. Create one at <https://github.com/signup> if you don't have one.
10+
2. **Web Browser**: We recommend using Chrome, Firefox, or Safari. Make sure your browser is up to date.
11+
12+
## Getting Started
13+
14+
### Step 1: Log In
15+
16+
1. Go to <https://nmfs-openscapes.2i2c.cloud/>
17+
2. Click **"Login to continue"**
18+
3. Log in with your GitHub account if prompted
19+
4. Authorize the JupyterHub application to access your GitHub account
20+
21+
### Step 2: Select Your Environment
22+
23+
After logging in, you'll be asked to choose:
24+
25+
1. **Image Type**: Select the environment that matches your needs
26+
- **Openscapes Python** (default): Python with geospatial packages
27+
- **Openscapes R**: R and RStudio with common packages
28+
- **Geospatial**: Python and R with geospatial libraries
29+
30+
2. **Server Size**: Choose based on your computational needs
31+
- **Small** (2 GB RAM): Sufficient for most tutorials and light analysis
32+
- **Medium** (8 GB RAM): For larger datasets
33+
- **Large** (16 GB RAM): For intensive computations (use sparingly)
34+
35+
3. Click **Start** and wait for your server to start (may take 1-2 minutes)
36+
37+
### Step 3: Explore the Interface
38+
39+
Once your server starts, you'll see the JupyterLab interface with a Launcher showing:
40+
41+
- **Notebook**: Create a new Jupyter notebook (Python, R, etc.)
42+
- **Console**: Interactive Python or R console
43+
- **Terminal**: Command-line access
44+
- **RStudio**: Full RStudio IDE (opens in a new tab)
45+
- **Other**: Text files, markdown files, and more
46+
47+
## Next Steps
48+
49+
Now that you're up and running:
50+
51+
1. **Learn JupyterLab basics**: See [Intro to JupyterLab](../topics-skills/02-intro-to-lab.md)
52+
2. **Learn RStudio basics**: See [RStudio](../topics-skills/02-rstudio.md)
53+
3. **Set up Git**: See [Git in JupyterLab](../topics-skills/02-git-jupyter.md)
54+
4. **Explore tutorials**: Browse the skills sections in the navigation
55+
56+
## Important Notes
57+
58+
- **Saving Work**: Your files are automatically saved in your home directory and persist between sessions
59+
- **Logging Out**: Always log out when done (File → Log Out) to free up resources
60+
- **Automatic Timeout**: Your session will automatically shut down after 90 minutes of inactivity
61+
- **Lost Session**: If your server crashes, go to File → Hub Control Panel → Stop My Server, then restart
62+
63+
## Getting Help
64+
65+
If you run into issues:
66+
67+
- Check the [FAQ](../topics-skills/01-intro-to-jupyterhub.md)
68+
- Post in [Discussions](https://github.com/nmfs-opensci/NOAAHackDays/discussions)
69+
- Report bugs in [Issues](https://github.com/nmfs-opensci/NOAAHackDays/issues)
70+
71+
Happy computing!

book/intro.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,32 @@
1-
# Welcome to {{hackweek}}!
1+
# Welcome to the NMFS Openscapes JupyterHub!
22

33
![banner](img/banner.png)
44

5+
## About This Guide
56

6-
📖 On this JupyterBook website you'll find [lectures](presentations/lectures) and [tutorials](presentations/tutorials). Lectures provide science background for how hyperspectral ocean color can be used in ocean ecosystem and fisheries contexts. Tutorials can include slides and Jupyter Notebooks, designed to be run interactively, but also rendered on this website for convenience.
7+
This guide provides comprehensive documentation and tutorials for using the NMFS Openscapes JupyterHub - a cloud-based computing environment for data analysis and collaboration.
78

8-
👩‍💻 During a Hackweek teams work collaboratively on different projects. Read more about the projects and results on our [projects page](projects/list_of_projects)
9+
## What You'll Find Here
910

11+
📚 **Getting Started**: Quick start guides to help you log in and begin using the hub
1012

11-
```{admonition} Quick links for the event
13+
💻 **JupyterLab & RStudio**: Tutorials on using the JupyterLab interface and RStudio IDE
14+
15+
🔧 **Git & Version Control**: Learn how to use Git for version control in JupyterLab, RStudio, and the terminal
16+
17+
☁️ **Cloud Resources**: Access AWS S3 buckets, Earthdata, and other cloud resources
18+
19+
🎯 **Skills Development**: Step-by-step tutorials to build your data science skills
20+
21+
## Quick Access
22+
23+
```{admonition} JupyterHub Access
1224
:class: seealso
13-
* JupyterHub: {{ jupyterhub_url }}
14-
* Slack Workspace: {{ slack_workspace_url }}
15-
* Projects Spreadsheet: {{ '[Hackweek Projects]({url})'.format(url=project_spreadsheet_url) }}
25+
* **JupyterHub**: <https://nmfs-openscapes.2i2c.cloud/>
26+
* **Support**: [GitHub Discussions](https://github.com/nmfs-opensci/NOAAHackDays/discussions)
27+
* **Report Issues**: [GitHub Issues](https://github.com/nmfs-opensci/NOAAHackDays/issues)
1628
```
29+
30+
## Get Started
31+
32+
New to the JupyterHub? Start with our [Quick Start Guide](content/setup.md) to learn how to log in and set up your environment.

0 commit comments

Comments
 (0)