There's a problem with how ProcessPoolExecutor is getting called and it is causing the calculations to not actually be run in parallel. Thanks to @baagaard-usgs for pointing this out and finding the fix: the with ProcessPoolExecutor(...) command needs to be pulled outside of the loop.
There's a problem with how ProcessPoolExecutor is getting called and it is causing the calculations to not actually be run in parallel. Thanks to @baagaard-usgs for pointing this out and finding the fix: the
with ProcessPoolExecutor(...)
command needs to be pulled outside of the loop.