compensation in accordance with ambient temperature