Skip to content
Snippets Groups Projects
Commit 4efdbbe1 authored by lukas leufen's avatar lukas leufen
Browse files

Merge branch 'lukas_issue385_bug_transformation-fails-with-indexerror' into 'develop'

Resolve "transformation fails with IndexError"

See merge request !424
parents acc63ad8 27f11107
No related branches found
No related tags found
4 merge requests!432IOA works now also with xarray and on identical data, IOA is included in...,!431Resolve "release v2.1.0",!430update recent developments,!424Resolve "transformation fails with IndexError"
Pipeline #101627 passed
...@@ -378,7 +378,7 @@ def f_proc(data_handler, station, return_strategy="", tmp_path=None, **sp_keys): ...@@ -378,7 +378,7 @@ def f_proc(data_handler, station, return_strategy="", tmp_path=None, **sp_keys):
assert return_strategy in ["result", "reference"] assert return_strategy in ["result", "reference"]
try: try:
res = data_handler(station, **sp_keys) 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}") logging.info(f"remove station {station} because it raised an error: {e}")
res = None res = None
if return_strategy == "result": if return_strategy == "result":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment