technologiestiftung / giessdenkiez-de-dwd-harvester

Gather precipitation data from DWD's radolan data set, for the region of Berlin and connect to the trees DB
https://www.giessdenkiez.de
MIT License
4 stars 9 forks source link

create tests for prepare.py #89

Open JensWinter opened 1 year ago

JensWinter commented 1 year ago

I modified prepare.py to basically use a function named create_buffer_shape() now.

Tests check if a base ESRI shape file is converted correctly into buffer shape based on provided buffer distance values. Source shape file and expected test buffer shapes are added as assets.

I had to install GDAL 3.4 to the testing container as I didn't get the requirements.txt installed on the Github runner.