Gas pressures in geothermal systems