temperature and pressure compensation