Clip a geo-aware raster to the bounds of another.
A Rasterio CLI command plugin for clipping datasets.
Given two datasets, rio clip clips the second dataset to the bounds of the first dataset.
$ rio clip source.tif target.tif clipped.tif
If you’ve already installed Rasterio, installation is just pip install rio-clip.