Calculate stats for trails such as time, difficulty, and energy usage based on metabolic equivalent of task, terrain, and other factors.
This project uses uv to manage Python and dependencies.
uv syncThis installs Python 3.12 (if needed) and all dependencies into .venv/, including the analysis group (rasterio, matplotlib, contextily) used by the data-prep and modeling scripts. To skip that group, run uv sync --no-group analysis.
Start the Flask web app at http://127.0.0.1:5000:
uv run app.pyRun the data prep and modeling scripts the same way:
uv run colorado-data-prep.py
uv run colorado_hiking_model.pyAdd a dependency with uv add <package>, or uv add --group analysis <package> for one only the scripts need.