Skip to content

Instantly share code, notes, and snippets.

View pierstitus's full-sized avatar

Piers Titus van der Torren pierstitus

View GitHub Profile
@pierstitus
pierstitus / GTiff_compression_benchmark.py
Created September 5, 2017 12:39 — forked from kr-stn/GTiff_compression_benchmark.py
Benchmark filesize and read/ write times for various GeoTiff compression algorithms
__author__ = 'kersten.clauss'
"""Benchmark different GeoTiff compression algorithms.
Usage: GTiff_compression_benchmark.py some_geo.tif
Requires the GDAL tools to be present and executable from the command line of your system.
This script will take a GeoTiff as input and create copies with different compression algorithms from it.
It measures the filesize, compression and decompression times and returns them as a table.