Process real satellite data in minutes — not days.
sentinel2_starter_kit/
├── sentinel2_starter_kit.ipynb ← Main notebook (start here)
├── requirements.txt
├── .env.example ← Copy to .env and fill in credentials
└── src/
├── auth.py ← CDSE authentication (OAuth2 + S3)
├── search.py ← Product catalogue search
├── download.py ← Band-level S3 download
├── processing.py ← NDVI, NDWI, RGB composites
├── export.py ← Cloud Optimized GeoTIFF export
└── visualization.py ← Matplotlib + Folium plots
Sign up at dataspace.copernicus.eu
Log in → User Settings → S3 Credentials → Generate
cp .env.example .env
# Edit .env with your credentialspip install -r requirements.txtjupyter notebook sentinel2_starter_kit.ipynbEdit the configuration block at the top of the notebook to set your area of interest and date range, then run all cells.
The notebook produces:
outputs/ndvi_YYYY-MM-DD.tif— NDVI Cloud Optimized GeoTIFFoutputs/ndwi_YYYY-MM-DD.tif— NDWI Cloud Optimized GeoTIFFoutputs/true_color_YYYY-MM-DD.tif— True color RGB COGoutputs/false_color_YYYY-MM-DD.tif— False color NIR COGoutputs/*.png— Publication-ready visualizations
All GeoTIFFs can be opened directly in QGIS, ArcGIS, or any GIS platform.
- Python 3.9+
- ~500 MB disk space per processed scene (bands only, not full product)
- Internet connection for CDSE API calls
Sentinel-2 data © European Space Agency (ESA), provided free of charge via the Copernicus programme.