metno / pyaerocom

Python tools for the AeroCom project
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
23 stars 13 forks source link

pyaerocom's pyaro interface needs a small adjustment to be usable by the parallelization #1197

Closed jgriesfeller closed 3 weeks ago

jgriesfeller commented 4 weeks ago

I just noticed that https://github.com/metno/pyaerocom/blob/d356aa03a7e9318173f05141e63c79c3b65234dc/pyaerocom/io/pyaro/read_pyaro.py#L118-L120 fails when self.config.model_extra is None (as it is as default).

Usually that code is called via aeroval where that has been handled already, but for the parallelization I'm calling the code directly for caching. It need to be therefore set the kwargs correctly also in pyaerocom