4.7.1.6. meteo_si.temperature¶
4.7.1.6.1. Module Contents¶
4.7.1.6.1.1. Functions¶
Convert the temperature from Kelvin to Celsius. |
|
Convert the temperature from Celsius to Kelvin. |
|
|
Calculate the virtual temperature from air temperature, |
|
Calculate the virtual temperature from air temperature and specific |
|
Calculate potential temperature |
- kelvin_2_celsius(T)[source]¶
Convert the temperature from Kelvin to Celsius.
- Parameters
T – Temperature in Kelvin.
- Returns
Temperature in Celsius.
- Return type
C
- celsius_to_kelvin(C)[source]¶
Convert the temperature from Celsius to Kelvin.
- Parameters
C – Temperature in Celsius.
- Returns
Temperature in Kelvin.
- Return type
T
- T_virt_rh(T, rh, p)[source]¶
Calculate the virtual temperature from air temperature, pressure, and relative humidity.
- Parameters
T – Temperature in in K
rh – relative humidity in Pa/Pa
p – pressure in Pa
- Returns
Virtual temperature in K
- Return type
T_virt