Why barometer indicates a peak value when swimming?

After a swimming activity, barometer graph shows a peak about 30mb and makes difficult to assess pressure changes as long as this value is on the graph. Is not possible to block barometer and altimeter during swimming activities?