[Phphtmllib-devel] SF.net SVN: phphtmllib:[3520] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
                
                Brought to you by:
                
                    hemna
                    
                
            | 
      
      
      From: <he...@us...> - 2010-06-28 22:40:49
      
     | 
| Revision: 3520
          http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3520&view=rev
Author:   hemna
Date:     2010-06-28 22:40:43 +0000 (Mon, 28 Jun 2010)
Log Message:
-----------
added call to density a
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 22:37:47 UTC (rev 3519)
+++ trunk/open2300/lib/modules/api/AviationWeather.inc	2010-06-28 22:40:43 UTC (rev 3520)
@@ -87,6 +87,8 @@
 
 				//now do Pressure Altitude and Density Altitude
 			   $wxInfo["PressureAltitude"] = $this->pressure_altitude($wxInfo["BaroHPA"], $wxInfo["altitude"]);
+			   $wxInfo["DensityAltitude"] = $this->density_altitude($wxInfo["altitude"], $wxInfo["BaroHPA"], 
+			                                                        $wxInfo["BaroHg"], $wxInfo["TempC"], $wxInfo["DewpointC"]);
 			}
 
 			if (is_null($wxInfo["images"]) || !isset($wxInfo["images"])) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |