It now uses intervals with UNIX time terminals, as well as iterates over csvdir without line numbers. Still doesn't do both CR and BR at the same time. The max/min temperatures agree with integrate_from_crossings, however a glitch which I can't be bothered fixing now causes integrate_from_crossings not to calculate the integral. Also the calculates the difference in time between two terminals as a check, but it seems to be 20s larger than the expected difference of the terminals (is that expected?)