define meas_data resolution + fix py3k next