SatSchool "Working with Data" module.
If you wish to deploy this webapp on your own computer, follow the instructions below:
This project uses uv for fast Python package management. If you don't have it installed, you can get it with:
curl -LsSf https://astral.sh/uv/install.sh | shCreate a virtual environment and install dependencies from requirements.txt:
uv venv
uv pip install -r requirements.txtTo use Google Earth Engine, you need to authenticate your machine. Run the following command and follow the instructions in your browser:
earthengine authenticateThe Earth Engine project ID is centrally defined in config.py. If you are using your own project, update this value:
# config.py
EE_PROJECT = 'your-project-id'Launch the Streamlit app using uv:
uv run streamlit run app.pyIf deploying to Streamlit Cloud, you should add your Earth Engine credentials to Streamlit Secrets:
EARTHENGINE_TOKEN = "YOUR_TOKEN_HERE"
Samuel Bancroft [email protected]