Fixes inspired by deployment
List of fixes:
- Number of trains
- Another flag to use dir creating time
- Import of glob
- Arbitrary path for cal_db_interface
- Timeout for cal_db request
- Fix array size in case of different number of trains for the different gains
Edited by Mikhail Karnevskiy