It is only the weight of the density profile of the air above, in turn determined by temperature profile above, that determines the pressure at any level according to the hydrostatic equation, although if you know the temperature profile you can integrate up or down from a known pressure and...