Exit with an error if no proper readings have been done