Skip to content

How to Use Jupyter Notebook

If you have never used jupyter before I find that this guide is great!

1. How to Run a cell

Option 1: Keyboard Shortcut: Shift + enter

  • Click shift and enter at the same time to run the selected cell.

  • Make sure you click the cell you want to run first

Option 2: Run the cell with the run cell button

run_cell

2. How to Restart the Notebook

  • If an error occurs while you are running coastseg you may want to restart the notebook.

Option 1: Restart Button

image

Option 2: Close the notebook & reopen

  1. Open the anaconda prompt terminal where you have coastseg running

  2. Enter "crtl + c" at the same time on your keyboard (enter it a few times) to shut down the notebook

ctrl_c_shutdown

  1. Enter 'jupyter lab SDS_coastsat_classifier.ipynb' to open the notebook

jupyter notebbok open classifier

How to Run all the Cells

  • To run all the cells at the same time use the 'run all cells button'

  • If you encounter an error please restart the notebook and click the button again to re-run all the cells

run all cells