Dear group,
I install the fowsr to connect over internet my PCE FWS 20 meteo station, I check that dewpoint value are very strange and the result to have the right value is to modify the routine (fowsr.c):
float CWS_dew_point(char* raw, float scale, float offset)
The problem is that the routine make the DEWPOINT evaluation using formula tha need CELSIUS for temp, but the routine receive the temp value in fahrenheit, I make a simple change to convert (is not the best solution... is a patch) and the value now is ok.
// Compute dew point, using formula from
float a = 17.271;
float b = 237.7;
temp = (temp - 32.0) / 1.80;
float gamma = (a * temp) / (b + temp) + log(hum / 100);
return ((b * gamma) / (a - gamma)) *1.80 + 32;
silvano