transformation fails with IndexError

Bug

Error description

The MLAir workflow fails during calculation of transformation properties with error code IndexError and terminates.

Error message

not required as error is already found

First guess on error origin

IndexError is catched in the f_proc function in preprocessing class but is not catched in the respective method in default_data_handler.

Error origin

As stated above. Error only occurs in presence of a valid station that has no data that lie in train subset.

Solution

  • Add except (..., IndexError) as e in default_data_handler.py:f_proc
Edited by Ghost User