earthkit.meteo.thermo.fieldlist.specific_gas_constant¶
- earthkit.meteo.thermo.fieldlist.specific_gas_constant(q)¶
Compute the specific gas constant of moist air.
Specific content of cloud particles and hydrometeors are neglected.
- Parameters:
q (
FieldList|Field) – Specific humidity (kg/kg)- Returns:
Specific gas constant of moist air (J kg-1 K-1). The result has the same type as the input
q(FieldList or Field).- Return type:
FieldList|Field
The computation is based on the following formula:
\[R = R_{d} + (R_{v} - R_{d}) qss\]where:
\(R_{d}\) is the gas constant for dry air (see
earthkit.meteo.constants.Rd)\(R_{v}\) is the gas constant for water vapour (see
earthkit.meteo.constants.Rv)