+// Assume that we've got an ideal gas in normal altitudes
+inline WeatherPrecision Density(const WeatherPrecision AirPressure, const WeatherPrecision Temperature )
+{
+ const float rho0 = 1.293; /*density for air in normal altitudes at 0°C and 1013 mbar*/
+
+ return rho0 * 273.15 * AirPressure / (101300.0 * Temperature);
+}
+