cosmicsense.conv.absolute_humidity

cosmicsense.conv.absolute_humidity(temp, rh)

Absolute humidity (g/m3) from air temperature and relative humidity.

Based on August-Roche-Magnus approximation and ideal law of gases.

Parameters
  • temp (float or array of floats) – Air temperature in deg C

  • rh (float or array of floats) – Relative humidity (percent)

Returns

output – Absolute humidity (g / m3)

Return type

float or array of floats