changed get_time_flux_error to identify TR and TD rather than tr and td for where tables of measurements is. this code really needs to be changed