Water and gas separation methods, such as amine treating, glycol dehydration, and pressure swing adsorption, among others, may be costly and technically challenging to implement in remote applications, such as on the seabed or at a hydrocarbon field.