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.

Note

This function can not be called statically.

Services_Weather_Common::calculateDewPoint (Previous) Services_Weather_Common::calculateWindChill (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.