diff --git a/mlair/data_handler/default_data_handler.py b/mlair/data_handler/default_data_handler.py index d158726e5f433d40cfa272e6a9c7f808057f88e4..1bcc1491652c630a0059e00ee92406ca3d4df495 100644 --- a/mlair/data_handler/default_data_handler.py +++ b/mlair/data_handler/default_data_handler.py @@ -378,7 +378,7 @@ def f_proc(data_handler, station, return_strategy="", tmp_path=None, **sp_keys): assert return_strategy in ["result", "reference"] try: res = data_handler(station, **sp_keys) - except (AttributeError, EmptyQueryResult, KeyError, ValueError) as e: + except (AttributeError, EmptyQueryResult, KeyError, ValueError, IndexError) as e: logging.info(f"remove station {station} because it raised an error: {e}") res = None if return_strategy == "result":