WXforum.net

Weather Software => Station Software Development => Topic started by: satmaster on March 06, 2015, 11:17:16 AM

Title: Need PHP code to calcuate dewpoint
Post by: satmaster on March 06, 2015, 11:17:16 AM
deleted I think I found the problem.Unable to delete post.
Title: Re: Need PHP code to calcuate dewpoint
Post by: Jáchym on March 06, 2015, 11:41:43 AM
Just if interested, you can use this:

$dewpoint = round(((pow(($humidity/100), 0.125))*(112+0.9*$temp)+(0.1*$temp)-112),1);

*temp in C, humidity in %