Skip to content

Getting started

Chinmaya Thakral edited this page Oct 8, 2026 · 2 revisions

Getting started

You need Python 3.11 with uv and Node 22.

The research pipeline and tests

git clone https://github.com/ChinmayaThakral/AgniNetra
cd AgniNetra
uv sync --extra dev
uv run pytest

Tests that need the local data store skip when it is absent.

The research console

cd apps/console
npm ci
npm run dev

It reads the exported results in apps/console/public/data/. For a basemap, set NEXT_PUBLIC_BASEMAP_TILES to a tile URL template from a provider whose terms allow it, and NEXT_PUBLIC_BASEMAP_ATTRIBUTION to its notice. Without them the data draws over a blank ground and says why.

AgniNetra Live

Live is on the agninetra branch.

git checkout agninetra
cd apps/live/web && npm ci && npm run build && cd ../../..
uv run python -m apps.live.serve --no-build

Building the evening feed needs FIRMS_MAP_KEY, MOSDAC_USERNAME and MOSDAC_PASSWORD in .env; copy .env.example. Community labelling needs GOOGLE_CLIENT_ID, a Google OAuth web client whose authorised redirect URI is the site's root, and QUALIFY_SECRET, a random string of at least 32 characters. Without them that part of the app says it is switched off. If the qualifying answers do not verify under the secret, the server keeps labelling off and logs why. See apps/live/README.md for the API, deployment and how community labels are decided.

The dataset

uv run python scripts/export_kaggle.py

writes Parquet, gzipped CSV, a column dictionary and Kaggle metadata to data/kaggle/bharatthermal-1/.

Clone this wiki locally