Services_Weather_Common::calculateHumidity()

Services_Weather_Common::calculateHumidity()  --  Calculate humidity from temperature and dewpoint This is only an approximation, there is no exact formula, this one here is called Magnus-Formula

Synopsis

require_once '/Weather/Common.php';

float Services_Weather_Common::calculateHumidity (float $temperature, float $dewPoint)

Description

Temperature and dewpoint have to be entered in deg C!

Parameter

float $temperature

float $dewPoint

Throws

No exceptions thrown.

See

see http://www.faqs.org/faqs/meteorology/temp-dewpoint/

Note

This function can not be called statically.