开发者

Sealevel Pressure and Temperature Calculation

I want to know if there is开发者_开发技巧 any online API for getting pressure and temperature of a location. If not, then I have height above Sealevel (in meters and feet), how can I calculate that to get pressure and temperature of a location?


The current air pressure for a point is not a simple relationship between temperature and elevation. For a better understanding of air pressure see NOAA's brief tutorial on Air Pressure.

Do you want current atmospheric pressure for a weather station (surface level)? Do you want local altimeter (or pressure altitude) settings for various airports and locations?

I'm assuming you are asking for current (present) conditions, not forecast data.

Your question is vague, so without knowing how you wish to use the data I cannot infer more. I hope this helps point you in the right direction, or at least helps you better understand what you really want. Good luck.


  1. Don't know if there is a free (as in beer) public API but there are many weather services that provides this data for a fee.
  2. Temperature and atmospheric pressure depends on the weather system, not on height, so you cannot calculate it with only "height above sealevel".

Edit:
Apparently Yahoo has a public API that includes both Temperature and Pressure.


for a model of atmosphere see "International Standard Atmosphere" or "ICAO Standard Atmosphere"

http://en.wikipedia.org/wiki/International_Standard_Atmosphere

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜