Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.5 KB

Python application codecov

satellite image viewer

Simple app to show recent satellite images

Demo app

You can test the demo hosted on streamlit here.

Instalation

How to run in debian based linux distros Recomended Python version: Python 3.10 or above

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

streamlit run src/main.py

Development

How to run tests

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt

# install playright browser files
playwright install

# run tests
pytest tests/

Docker build

docker build -t sat-img-view .
docker run -d --name sat-img-view-container -p 8001:8001 sat-img-view
docker start sat-img-view-container

Landsat Configuration

Landsat is not free, open but not free as the requester pays for download. To work you must have a AWS account and provide credentials to read from S3 using environment variables to set LANDSAT_ACCESS_KEY_ID and LANDSAT_SECURITY_ACCESS_KEY or access denied on the way. Also set ENABLE_LANDSAT=TRUE and leave rest as default.