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)

Beschreibung

Temperature and dewpoint have to be entered in deg C!

Parameter

float $temperature

float $dewPoint

Fehler-Meldungen

Es werden keine Exceptions ausgelöst.

Siehe auch

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

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.