powered by
The function calculates the state of a parcel for easier computations.
parcelState(Press, Temp, w = 0, consts = export_constants())
Value of pressure (Pa) of the parcel.
Value of temperature (K) of the parcel.
Value of mixing ratio (kg/kg) of the parcel.
The constants defined in aiRthermoConstants data are necessary.
This function returns a list including the following values:
Pressure value (Pa).
Temperature value (K).
Mixing ratio value (kg/kg).
Potential temperature value (K).
Virtual temperature value (K).
Saturation mixing ratio value (kg/kg).
PT2Theta, virtual_temperature and saturation_mixing_ratio
PT2Theta
virtual_temperature
saturation_mixing_ratio
# NOT RUN { parcelState(101325,273.15,0.2) # }
Run the code above in your browser using DataLab