Repository navigation
Getting started
You need Python 3.11 with uv and Node 22.
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.
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.
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.
uv run python scripts/export_kaggle.py
writes Parquet, gzipped CSV, a column dictionary and Kaggle metadata to data/kaggle/bharatthermal-1/.
AgniNetra by Chinmaya Thakral. Code MIT, dataset ODbL 1.0, written results CC BY 4.0. Every figure is a satellite estimate, not an official count.
AgniNetra
The apps
Data
Project