Geophysics.jl

Planetary science data for atmospheric geophysical models

Build StatusBuild statusCoverage Statuscodecov.io

Provides Atmosphere models based on Air Research and Development Command ARDC and the United States 1976 Standard Atmosphere US76 available also in English units ARDCE and US76E. Provided the local absolute sea level and gravitational acceleration, the Weather can be initialized based on temperature and pressure. Presets for the Standard atmosphere are provided: Earth1959, Earth1976, Earth1959English, Earth1976English. By default the 1959 model with metric units is used for Standard atmosphere, although a different year can be specified with environment variable STDATM and the default unit system can be specified with the GEOUNITS environment variable.

julia> using Geophysics

julia> h = 1000 # altitude, m
1000

julia> gravity(h)
9.803565306802405

julia> temperature(h)
281.66102237169474

julia> pressure(h)
89876.28158431675

julia> sonicspeed(h)
336.4347118683662

Values which can be obtained at geometric altitude include gravity, temperature, pressure, density, and sonicspeed. In the future, more varieties of atmospheric models will be added for various planets along with winds aloft and turbulent gust distribution data. Weather data from internet sources may be imported in the future.

References