Error propagation for barometers : 2 . Application to rocks