# AgriFieldNet India: Crop Type Labels for Smallholder Fields with Sentinel-2 Imagery

## Facts

- Provider: Radiant Earth Foundation and IDinsight
- License: CC-BY-4.0 (https://radiantearth.blob.core.windows.net/mlhub/ref_agrifieldnet_competition_v1/README.md)
- Format: JSON (in sampled files)
- Stored at: Azure Blob Storage, https://radiantearth.blob.core.windows.net/mlhub/ref_agrifieldnet_competition_v1
- Access: public, readable without an account
- DOI: https://doi.org/10.34911/rdnt.wu92p1
- Category: Earth Observation & Geospatial
- Source: https://doi.org/10.34911/rdnt.wu92p1
- Page: https://scigantic.com/archive/31cfbf01-1b62-512f-93b9-be5ac754114c
- Keywords: Earth Observation & Geospatial, satellite imagery, JSON, Azure Blob Storage

## About

Crop type labels for smallholder agricultural fields in Uttar Pradesh, Rajasthan, Odisha and Bihar in northern India, collected on the ground by IDinsight's Data on Demand team and curated by Radiant Earth Foundation for the AgriFieldNet India competition, funded through the ECAAS initiative of the Bill & Melinda Gates Foundation. There are 13 classes: fallow land and 12 crops (wheat, mustard, lentil, green pea, sugarcane, garlic, maize, gram, coriander, potato, berseem and rice), with fields that are often well under one hectare. Labels are rasterised to 256 x 256 pixel chips aligned with Sentinel-2 L2A imagery at 10 m. Measured 2026-11-15: 17,644 GeoTIFFs (0.33 GB). source/ holds 12-band Sentinel-2 chips (B01 to B12) per chip id, train_labels/ holds field id and crop class rasters for the training chips and test_labels/ the field id rasters for the test chips, with STAC JSON alongside. Load with rasterio or the radiant-mlhub and torchgeo AgriFieldNet loaders. Released under CC BY 4.0; cite Radiant Earth Foundation and IDinsight (2022), AgriFieldNet Competition Dataset, doi:10.34911/rdnt.wu92p1.

## Load the data

```python
import adlfs
fs = adlfs.AzureBlobFileSystem(account_name='radiantearth', anon=True)
fs.ls('mlhub/ref_agrifieldnet_competition_v1/')[:10]
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

File types in sampled files: JSON

Example file: `.source/metadata.json`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/31cfbf01-1b62-512f-93b9-be5ac754114c
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/31cfbf01-1b62-512f-93b9-be5ac754114c
- Over MCP: `get_schema_card` with id `31cfbf01-1b62-512f-93b9-be5ac754114c` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [JSON datasets](https://scigantic.com/topics/json)
- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
