Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

(2) Navigating JupyterHub

Landing

StratusGeo runs on JupyterLab, so if you’ve used it before, you’ll feel at home. If you haven’t logged in yet, start with Accessing the Hub. New to JupyterHub in general? See the JupyterHub background guide.

The interface has four parts:

The menu bar holds every command in JupyterLab. The ones you’ll use most:

MenuCommon uses
FileCreate new notebooks, terminals, and files; save; download; Log Out
EditUndo, cut, copy, paste, find and replace; move, split, or merge cells
ViewShow or hide the sidebars and status bar; toggle line numbers
RunRun the selected cell, all cells, or all cells above or below
KernelInterrupt, restart, or shut down the kernel; change kernel
TabsSwitch between open documents
SettingsTheme (light or dark), autosave, keyboard shortcuts, and advanced settings
HelpLinks to JupyterLab, Python, and library documentation

You can also search every command by name with the command palette: press Ctrl+Shift+C (Cmd+Shift+C on a Mac).

The left sidebar is a column of icons. Click an icon to open that panel, and click it again to collapse it and give your work more room. You can also toggle the whole sidebar with Ctrl+B (Cmd+B on a Mac) or View → Show Left Sidebar.

IconToolUse it to...Learn more
folder iconFilesBrowse /home/jovyan, upload, rename, delete, or clone a repoData Storage
usage iconRunning sessionsSee and shut down open kernels, terminals, and tabsHub Best Practices
Dask iconDaskConfigure workers and watch performance (if enabled)Dask for Geoscientists
Git iconGitCommit, branch, and push without the command lineUsing Git, Git basics
table of contents iconContentsJump between headings in the open notebook or markdown file
extension manager iconExtensionsFind and install JupyterLab extensions

Your sidebar may differ slightly depending on the environment you selected.

The file browser

The file browser opens at your home directory, /home/jovyan. From here you can:

Uploading through the browser works best for small files. For large datasets, see Data Storage.

Running sessions

Every open notebook keeps a kernel running, which uses memory even when you aren’t working in it. Closing a tab does not stop its kernel. Use the Running sessions panel to see what’s active and click Shut Down next to anything you’re finished with. This frees resources for you and keeps costs down for the community.

The right sidebar

A smaller sidebar on the right holds the Property Inspector (cell and notebook metadata, such as cell tags) and, in recent versions, the Debugger. Most users rarely need it.

Main work area

Everything you open appears as a tab in the main work area: notebooks, terminals, Python consoles, text and markdown editors, and viewers for images, CSV files, and PDFs.

Arranging tabs. Drag a tab to the edge of the work area to split the view, or onto another tab group to stack them. This makes it easy to keep a notebook beside a terminal or a reference doc. Your layout is remembered the next time you log in.

Unsaved changes. A dot on a tab means it has unsaved changes. Save with Ctrl+S (Cmd+S). JupyterLab also autosaves notebooks periodically.

Focusing on one document. Turn on Simple Interface (View → Simple Interface, or Ctrl+Shift+D) to show one document at a time. Turn it off to return to tabs.

The notebook toolbar

When a notebook is open, a toolbar appears at the top of it with buttons to:

At the right end of the toolbar is the kernel name (click it to switch kernels) and a status circle: empty means idle, filled means the kernel is busy running code. For more on working in notebooks, see Using Notebooks.

Starting something new

Click the + at the top of the file browser to open the Launcher, a grid of tiles for creating notebooks, consoles, terminals, and text or markdown files. You can also use File → New Launcher. Your environment image may add more tiles.

Status bar

The status bar runs along the bottom of the screen and shows what’s happening in the current document. Depending on what you have open, it can show:

To hide or show the status bar, use View → Show Status Bar.

A note on storage

Your home directory persists between sessions, but it has a per-user quota and isn’t meant for large or intermediate datasets. Keep code and small files there. For larger or temporary data, use the scratch bucket, and see Data Storage for all the options.

Logging out and stopping your server

Closing your browser tab does not stop your server. When you’re done:

  1. Save your work.

  2. Go to File → Hub Control Panel.

  3. Click Stop My Server.

Logging out (File → Log Out) without stopping the server may leave it running until it times out. See Hub Best Practices.