FORECAST_3DAY
FORECAST_3DAY
Forecast length constants *
Horde_Service_Weather class
calculateWindChill(double $temperature, double $speed) : double
Calculate windchill from temperature and windspeed.
Temperature has to be entered in deg F, speed in mph!
double | $temperature | The temperature in degrees F. |
double | $speed | The wind speed in MPH. |
The windchill factor.
calculateHumidity(double $temperature, double $dewPoint) : double
Calculate humidity from temperature and dewpoint This is only an approximation, there is no exact formula, this one here is called Magnus-Formula
Temperature and dewpoint have to be entered in deg C!
double | $temperature | Temperature in degrees C. |
double | $dewPoint | Dewpoint in degrees C. |
calculateDewPoint(double $temperature, double $humidity) : double
Calculate dewpoint from temperature and humidity This is only an approximation, there is no exact formula, this one here is called Magnus-Formula
Temperature has to be entered in deg C!
double | $temperature | Temperature in degrees C. |
double | $humidity | Humidity. |
convertSpeed(double $speed, string $from, string $to) : double|integer|boolean
Convert speed between mph, kph, kt, mps, fps and bft
Function will return 'false' when trying to convert from Beaufort, as it is a scale and not a true measurement
double | $speed | The speed in $from units. |
string | $from | The units to convert from. |
string | $to | The units to convert to. |