Installation#
Prerequisites#
Before installing, make sure you have the following on your system:
Python 3.10+ — python.org
uv — fast Python package manager (install guide)
Geospatial system libraries — required for
geopandas/shapely:macOS:
brew install gdal proj geosLinux (Debian/Ubuntu):
apt-get install gdal-bin libgdal-dev libgeos-dev libproj-devWindows: install OSGeo4W or use WSL
~1 GB free disk (optional) — TimesFM checkpoint cache at
.cache/timesfm/on first use
Install#
1. Clone the repository
git clone https://github.com/dsih-artpark/acestor.git
cd acestor
2. Install dependencies
uv sync --all-extras
Extra |
What it adds |
|---|---|
|
Geospatial + classical modeling stack: |
|
Google’s TimesFM 2.5 foundation model ( |
|
Copernicus Climate Data Store (CDS) API client for ERA5 weather downloads |
|
AWS S3 storage backend ( |
Install only what you need. For a minimal local run using Open-Meteo weather and classical models only:
uv sync --extra dengue
For runs that use TimesFM in the ensemble:
uv sync --extra dengue --extra timesfm
Environment Variables#
Create a .env file in the project root with your secrets. These are loaded automatically at runtime.
# Copernicus CDS — required if weather_download.source_mode = "cds"
CDS_API_KEY=your-cds-api-key
# Dashboard case source — required if case_download.source_mode = "dashboard"
DASHBOARD_URL=https://apps.artpark.ai/disease-dashboard
DASHBOARD_CLIENT_ID=your-email@example.com
DASHBOARD_CLIENT_SECRET=your-password
# Optional: pin the TimesFM checkpoint revision
TIMESFM_REVISION=1d952420fba87f3c6dee4f240de0f1a0fbc790e3
# SMTP — required if email.enabled = true
SMTP_FROM=sender@example.com
SMTP_HOST=smtp.example.com
SMTP_USERNAME=sender@example.com
SMTP_PASSWORD=your-password
# AWS — required if using S3 storage or S3 data sources
AWS_PROFILE=default
AWS_REGION=ap-south-1
You can reference these in your YAML config using ${VAR} or ${VAR:-default} syntax — they are resolved at config load time. Never commit real secrets to the config files.
Docker#
A pre-built Docker image is available on Docker Hub:
docker pull dsihartpark/acestor:latest
Images are tagged by version (e.g., dsihartpark/acestor:1.0.0) and built automatically on every GitHub release tag.
For production deployment on Docker or AWS EC2 — including systemd setup, IAM roles, S3 artifact storage, and log monitoring — see the Deployment Guide.
Verifying Installation#
Run a quick smoke test using the bundled example config:
uv run python -m acestor.run \
--pipeline pipelines.dengue.pipeline:build_pipeline \
--config configs-example/gba_docker_test.yaml \
--run-id smoke-test
Exit code 0 means success. Outputs will be written to artifacts/smoke-test/.