Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (13 loc) · 1.15 KB

README.md

File metadata and controls

23 lines (13 loc) · 1.15 KB

EC-Argovis-API-Demo

Binder

Demonstration of Argovis Python API - For Earthcube 2020 meeting

You can run these notebooks using your own Jupyter kernel.

The notebooks use some libraries that can take time to set up on some systems (e.g. Cartopy).

I've created a Dockerfile to make this install easier.

This project assumes that Docker is installed on your PC, and that the daemon is running. Additionally, make sure that port 8888 is open. Check with lsof -i :8888.

First, open a terminal

Then build the image with the following command

docker build --no-cache -t argovis_python_api_demo:1.0 .

Run the image with this code in a Linux terminal or Windows PowerShell

docker run -v ${PWD}:/usr/src/av_py_env -p 8888:8888 argovis_python_api_demo:1.0

Lastly, follow the provided link in the terminal. You may be prompted to set the kernel on a notebook. Just set the kernel to av_py_env. Good luck!