def isobaric_to_ambient_temperature(self, data):
P = data['<STR_LIT>'] / <NUM_LIT>                            <EOL>Tiso = data['<STR_LIT>']                          <EOL>Td = data['<STR_LIT>'] - <NUM_LIT>               <EOL>e = <NUM_LIT> * <NUM_LIT:10>**((<NUM_LIT> * Td) / (Td + <NUM_LIT>))<EOL>w = <NUM_LIT> * (e / (P - e))<EOL>temperature = Tiso - ((<NUM_LIT> * <NUM_LIT>**<NUM_LIT:6>) / <NUM_LIT>) * w<EOL>return temperature<EOL>
Calculates temperature from isobaric temperature.

Parameters
----------
data: DataFrame
    Must contain columns pressure, temperature_iso,
    temperature_dew_iso. Input temperature in K.

Returns
-------
temperature : Series
    Temperature in K