pytroll / pytroll-collectors

Collector modules for Pytroll
GNU General Public License v3.0
3 stars 18 forks source link

Use asyncio for gatherers #108

Open mraspaud opened 2 years ago

mraspaud commented 2 years ago

The current implementation of the geographic and segment gatherers make use of threading to adress concurrency needs of the algorithms. While this works fine, I believe that using asyncio with a single event loop and coroutines would allow the code to be made much simpler and more maintainable and testable.