Up and Running with Jupyter Notebook

Up and Running with Jupyter Notebook

Postby yiboj » Mon May 15, 2017 9:02 am

The Jupyter Notebook (Formerly known as the IPython Notebook) is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.

The Jupyter Notebook is a server-client application that allows editing and running notebook documents via a web browser. The Jupyter Notebook can be executed on a local desktop requiring no internet access (as described in this document) or can be installed on a remote server and accessed through the internet.

In addition to displaying/editing/running notebook documents, the Jupyter Notebook has a “Dashboard” (Notebook Dashboard), a “control panel” showing local files and allowing to open notebook documents or shutting down their kernels.

1. Installation

    * Install it using the default settings for a single user.

2. Package Installation

Anaconda comes with default packages. You may have to install the new packages such as Basemap, netCDF4 etc. by yourself if necessary. Here we show the netCDF4 package installation as an example:

Code: Select all
$> conda install hdf4
$> conda install netcdf4


3. Running the Jupyter Notebook

Launch jupyter using the following command:
Code: Select all
$> jupyter notebook &

dashboard.png
Jupyter Dashboard
dashboard.png (39.96 KiB) Viewed 851 times


Create new notebook from the Dashboard
newbook.png
Create new notebook
newbook.png (48.32 KiB) Viewed 851 times


Example run for accessing PODAAC MODIS L3 dataset
basemap_test.png
MODIS SST Contour Plot
basemap_test.png (291.46 KiB) Viewed 853 times


4. References

Project Home
Jupyter Quick Start Guide
Anaconda
yiboj
 
Posts: 118
Joined: Mon Mar 30, 2015 11:22 am

Return to Tutorial

cron