From 5be5451287561be564d2679f135858d191083284 Mon Sep 17 00:00:00 2001 From: Pieter Roggemans Date: Fri, 3 Nov 2023 12:20:28 +0100 Subject: [PATCH 1/2] Add zonalstats graph to readme --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e068fe7..06d75e1 100644 --- a/README.md +++ b/README.md @@ -41,5 +41,4 @@ Mainly a test of pyogrio performance ## Zonalstats Comparison of different libraries/SW to calculate zonal statistics for polygons. - -Work in progress. +![Zonalstats benchmark](results_zonalstats/GeoBenchmark.png) From 9c650c371798ea1203cbb53a25623c4d59a4fa1b Mon Sep 17 00:00:00 2001 From: Pieter Roggemans Date: Fri, 3 Nov 2023 12:31:27 +0100 Subject: [PATCH 2/2] Add basic run instructions + zonalstats graph to readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 06d75e1..9e19490 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ specific use cases: 2. IO: performance to read/write vector geo files 3. Zonalstats: compare performance to calculate zonal stats +To run the benchmarks, you can: +- clone this repository +- use the environment.yml file to create a conda environment with the necessary + dependencies like this: `conda env create -f environment.yml` +- run one of the `run_benchmarks_... .py` files + ## Vector ops The benchmarks included always follow the following usage scenario: @@ -41,4 +47,9 @@ Mainly a test of pyogrio performance ## Zonalstats Comparison of different libraries/SW to calculate zonal statistics for polygons. + +Remark: pyjeo is not (yet) available via pip/conda to install, so to run the pyjeo +benchmark, follow the installation instructions +[here](https://github.com/ec-jrc/jeolib-pyjeo). + ![Zonalstats benchmark](results_zonalstats/GeoBenchmark.png)