compelet python to process temperature data