An electronic pressure and temperature sensor includes a chamber disposed within a housing. The pressure and temperature sensor are disposed at a chamber first end. An opening is disposed at a chamber second end, wherein the opening is configured to be in fluidic communication with the fluid media. A viscous gel is disposed within a portion of the chamber and encloses the pressure and temperature sensor apart from the fluid media. A second temperature sensor is at least partially disposed within the housing and is not disposed within the chamber. The first temperature sensor is configured to measure a temperature of the viscous gel, where the temperature of the viscous gel configured for use in temperature compensation calculations used to determine the pressure of the fluid media. The second temperature sensor is configured to measure a temperature of the flow of the fluid media.