Skip to content

Instantly share code, notes, and snippets.

@pomadchin
Last active October 13, 2021 17:59
Show Gist options
  • Save pomadchin/414db29a3fd206fad72a4055fb89a0bc to your computer and use it in GitHub Desktop.
Save pomadchin/414db29a3fd206fad72a4055fb89a0bc to your computer and use it in GitHub Desktop.
RF Notebook with STAC and Focal Operations

Instructions to run STAC API Example.ipynb

git clone git@github.com:locationtech/rasterframes.git
cd rasterframes/rasterframes/rf-notebook/src/main/docker

# edit docker-compose.yaml
# image: quay.io/daunnc/rasterframes-notebook:0.9.2-SNAPSHOT
docker compose up

The docker-compose edit above is neccesary to short-circuit the local docker image builds. In case it is required to build the local RF Notebook you can always just clone the repo and build docker image via SBT:

# to build a docker image
sbt rf-notebook/publishLocal
# to run notebook
sbt rf-notebook/startRFNotebook
# to stop notebook
sbt rf-notebook/stopRFNotebook

For more instructions see https://github.com/locationtech/rasterframes/tree/develop/rf-notebook

Google Collab

Alternatively you may want to try the Google Collab notebook: https://gist.github.com/pomadchin/8692b394aee3b493ca0a8ef017a2e594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment