Added wet bulb calculation, fixed macros

This commit is contained in:
ulteq 2015-05-15 21:10:46 +02:00
parent 2f7d7ece56
commit 7f966de28c
6 changed files with 25 additions and 5 deletions

View File

@ -9,6 +9,7 @@ PREP(calculateDewPoint);
PREP(calculateHeatIndex);
PREP(calculateRoughnessLength);
PREP(calculateTemperatureAtHeight);
PREP(calculateWetBulb);
PREP(calculateWindChill);
PREP(calculateWindSpeed);
PREP(displayWindInfo);

View File

@ -8,7 +8,7 @@
* 2: relativeHumidity - value between 0.0 and 1.0 <NUMBER>
*
* Return Value:
* 0: heat index <NUMBER>
* 0: dew point <NUMBER>
*
* Return value:
* None

View File

@ -0,0 +1,19 @@
/*
* Author: Ruthberg
*
* Calculates wet bulb based on temperature and relative humidity
*
* Arguments:
*
*
* Return Value:
* 0: wet bulb <NUMBER>
*
* Return value:
* None
*/
#include "script_component.hpp"
// TODO: ...
GVAR(currentTemperature)