Projects / Nadir

Nadir, live

This is something I built while learning, so please treat it as an experiment and not a finished tool. Satellite imagery of Tirunelveli district is cut into 1050 squares of 1.28 km. Each square is turned into a list of 1024 numbers by Clay v1.5, an open earth observation model. Click a square and the rest are ranked by how close their numbers are to it.

What it matches on

Only how a place looks in Sentinel-2 imagery. It knows nothing about sunlight, roads, distance or who owns the land. So a match means the two squares look alike to the model. Useful as a starting point for a look around, not as an answer.

Why it runs here

The whole index is small — 1050 squares of 1024 numbers each. Comparing them is plain arithmetic, and a browser finishes it faster than a round trip to a server would take. So the file is downloaded once and the search runs on this page. No backend to keep alive while I am still figuring this out.

What it costs

About 2 MB, stored as int16 instead of float32 to keep the download light. I did try int8 to halve it again, but the scores sit very close together — tenth place at 0.9773, eleventh at 0.9769 — and the rounding kept changing the order. int16 gave the same ten as the original, so I stopped there.