Closed yosefm closed 10 years ago
Reading Ron's single files using the
trajects = trajectories_ptvis('/Users/alex/Documents/OpenPTV/ronshnapp/python_turbulence/Tornado_PTV_Data/100_smooth.txt')
fails with
IndexError: list index out of range
or similar errors (on different files). The files I tested are from Ron, the example file is here:
https://dl.dropboxusercontent.com/u/5266698/100_smooth.txt
and this file creates error in a different place:
I'll explore more soon.
40_rough.txt fails also on the initial commit
45713e7de455eb71b38f817e6e5baf6f984de7be
Merging this, as we found that the bug is not in this PR but before, so it will be addressed separately.
Speed up, and more importantly, greatly reduce the memory footprint of reading ptv_is files, with two measures: