o2r-project / geoextent

Python library for extrating geospatial extent of files and directories with multiple data formats
https://o2r.info/geoextent/
MIT License
1 stars 4 forks source link

Support multiprocessing #96

Open nuest opened 3 years ago

nuest commented 3 years ago

Let's support using multiple cores to extract extents. AFAICT if we have a directory with multiple geodata files, the problem is "embarrisingly parallel".

By default, one process should be used. There could be a simple flag -p that enables to use the number of available cores, and it should be possible to configure the number of cores with a number, -p 3. This should be implemented with a Pool.