WeatherHelper.CalculatePressure(Pressure, Length, Temperature) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the approximate absolute pressure from given sea-level pressure, altitude and air temperature.
public static UnitsNet.Pressure CalculatePressure (UnitsNet.Pressure seaLevelPressure, UnitsNet.Length altitude, UnitsNet.Temperature airTemperature);
static member CalculatePressure : UnitsNet.Pressure * UnitsNet.Length * UnitsNet.Temperature -> UnitsNet.Pressure
Public Shared Function CalculatePressure (seaLevelPressure As Pressure, altitude As Length, airTemperature As Temperature) As Pressure
Parameters
- seaLevelPressure
- UnitsNet.Pressure
The sea-level pressure
- altitude
- UnitsNet.Length
The altitude in meters at the point for which pressure is being calculated
- airTemperature
- UnitsNet.Temperature
The air temperature at the point for which pressure is being calculated
Returns
The estimated absolute pressure at the given altitude
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for