Arduino UNO and ADXL345 record jumps height and hang time when kitesurfing

The air pressure is atmospheric pressure, inside and outside a plastic bag.

However, a rigid, perfectly sealed waterproof housing can't be used with a pressure sensor to measure altitude. You would need to put a tiny hole it.