Cloud-native rasters in Python
Work with large rasters without downloading whole files. The series builds a validated Cloud Optimised GeoTIFF and measures how little data a range request fetches, then catalogues a set of COGs as a static STAC catalogue with pystac and compares it with public STAC APIs.
- Intermediate
- 2, all published
- About 24 minutes
Start with part 1: Cloud Optimised GeoTIFFs in Python: reproject, mosaic and validate a COG
The parts, in order
-
Cloud Optimised GeoTIFFs in Python: reproject, mosaic and validate a COG
Mosaic four Copernicus DEM GLO-30 tiles straight from AWS with rasterio, reproject them to British National Grid, write a validated Cloud Optimised GeoTIFF with rio-cogeo, and measure exactly how many bytes HTTP range requests fetch.
-
Build a STAC catalogue in Python with pystac, rio-stac and pystac-client
Turn 25 Cloud Optimised GeoTIFFs of Eryri into a static STAC catalogue with pystac and rio-stac, validate it against the JSON schemas, query it, serve it as static files, and compare it with the Earth Search and Planetary Computer STAC APIs through pystac-client.