[Phphtmllib-devel] SF.net SVN: phphtmllib:[3523] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-06-28 23:22:44
|
Revision: 3523 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3523&view=rev Author: hemna Date: 2010-06-28 23:22:38 +0000 (Mon, 28 Jun 2010) Log Message: ----------- bleh Modified Paths: -------------- trunk/open2300/lib/modules/api/AviationWeather.inc Modified: trunk/open2300/lib/modules/api/AviationWeather.inc =================================================================== --- trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-28 23:21:53 UTC (rev 3522) +++ trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-28 23:22:38 UTC (rev 3523) @@ -735,7 +735,7 @@ } - private function vapr_pressure($dewC) { + private function vapor_pressure($dewC) { $Vpexp = (7.5*$dewC) / (237.7+$dewC); $Vp = 6.11*pow(10, $Vpexp); return $Vp; @@ -828,8 +828,8 @@ // Calculate the vapor pressures (mb) given the ambient temperature (c) and dewpoint (c) - $esmb = $this->vapr_pressure($tempC); - $emb = $this->vapr_pressure($dewC); + $esmb = $this->vapor_pressure($tempC); + $emb = $this->vapor_pressure($dewC); // Calculate geopotential altitude H (m) from geometric altitude (m) Z This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |