Giter Site home page Giter Site logo

whigg / nsidc-data-access-notebook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nsidc/nsidc-data-access-notebook

0.0 2.0 0.0 29 KB

A Jupyter notebook exploring data coverage, size, and customization service availability along with direct data download utilizing the NSIDC DAAC's access and service API.

Jupyter Notebook 100.00%

nsidc-data-access-notebook's Introduction

NSIDC-Data-Access-Notebook

A Jupyter notebook exploring data coverage, size, and customization service availability along with direct data download utilizing the NSIDC DAAC's access and service API.

This notebook was originally developed for the April 2019 USFS โ€“ NASA Joint Applications Workshop.

Usage

On a Mac or Linux

  1. Install Docker. Use the left-hand navigation to select the appropriate install depending on operating system.

  2. Create a new folder to host the notebook.

  3. Download the NSIDC-Data-Access-Notebook from Github.

  4. Unzip the file, which should contain a folder with a .ipynb file. Move the .ipynb file to the newly created folder.

  5. From command line, launch the docker container using the following command, replacing [path/notebook_folder] with your path and notebook folder name:

docker run -p 8888:8888 -v [path/notebook_folder]:/home/jovyan jupyter/datascience-notebook

Example:

docker run -p 8888:8888 -v /Users/name/Desktop/notebook_folder:/home/jovyan jupyter/datascience-notebook

The initialization will take some time and will require 5.6 GB of space. Once the startup is complete you will see a line of output similar to this:

http://(6a8bfa6a8518 or 127.0.0.1):8888/?token=2d72e03269b59636d9e31937fcb324f5bdfd0c645a6eba3f

  1. Copy everything from the :8888 to the end. Open up a web browser and in the address field type localhost, paste the copied text, and hit return. The address should look something like this:

localhost:8888/?token=2d72e03269b59636d9e31937fcb324f5bdfd0c645a6eba3f

  1. You will be brought to the Jupyter notebook running through the Docker container. You can now interact with the notebook to explore and access data.

On a Windows

  1. Install Docker.

  2. Create a new folder to host the notebook.

  3. Download the NSIDC-Data-Access-Notebook from Github.

  4. Unzip the file, which should contain a folder with a .ipynb file. Move the .ipynb file to the newly created folder.

  5. From a terminal window (use Command Prompt or PowerShell, not PowerShell ISE), launch the docker container using the following command, replacing [path\notebook_folder] with your path and notebook folder name:

docker run -p 8888:8888 -v [path\notebook_folder]:/home/jovyan jupyter/datascience-notebook

Example:

docker run -p 8888:8888 -v C:\notebook_folder:/home/jovyan jupyter/datascience-notebook

The initialization will take some time and will require 5.6 GB of space. Once the startup is complete you will see a line of output similar to this:

http://(6a8bfa6a8518 or 127.0.0.1):8888/?token=2d72e03269b59636d9e31937fcb324f5bdfd0c645a6eba3f

  1. Copy everything from the :8888 to the end. Open up a web browser and in the address field type localhost, paste the copied text, and hit return. The address should look something like this:

localhost:8888/?token=2d72e03269b59636d9e31937fcb324f5bdfd0c645a6eba3f

  1. You will be brought to the Jupyter notebook running through the Docker container. You can now interact with the notebook to explore and access data.

nsidc-data-access-notebook's People

Contributors

asteiker avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.