Download and install

Download the latest version as gzipped tarball and (for Linux) untar and install as root:

tar -xvzf adisalib-latest.tar.gz
cd adisalib<-x.y.z-yyyy-mm-dd>
sudo python install

Now the module can be used in python scripts by

import adisalib

The module has never been tested with Windows, but it should work.

ICAO Standard Atmosphere (ISA) - functions and routines

© Dietmar Thaler 2014-2016


adisalib calculates ISA only up to 32000 gpm!


This module makes use of the numpy library. NumPy is the fundamental package for scientific computing with Python. Make sure you have it installed. See and

Both Python 2.7 and Python >= 3.4 compatibility assured.

The core routines of the library are:

  • isa_pressure(height)
  • isa_density(height)
  • isa_temperature(height)
  • isa_height(pressure)
  • isa_QNH(barometer_altitude, pressure)
  • isa_QFE(barometer_altitude, arp_altitude, pressure)
  • isa_densityaltitude(density)
  • isa_table(h1,h2,dh)

Added are a couple of constants, variables and conversion routines (see below). A simple demo program that produces a matplotlib-graphic can be found at

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License. If not, see <> .


Converts temperature in Celsius to temperature in Kelvin


Converts temperature in Celsius to temperature in Kelvin


Converts foot to meter


Converts foot to meter

adisalib.isa_QFE(barometer_altitude, arp_altitude, pressure)[source]

Returns QFE (pressure at aerodrome reference point arp) as function of:

barometer_altitude in gpm
arp_altitude in gpm
pressure … pressure reading at baromter_altitude in hPa
adisalib.isa_QNH(barometer_altitude, pressure)[source]

Returns QNH in hPa below 3200 gpm aas numpy array

barometer_altitude in gpm
pressure … barometer reading in hPa at barometer altitude as numpy array

Density in ISA below 32000 gpm

hh … altitude in gpm
isa_density … density kg/m**3 at level hh

ISA-density altitude for a given air density

rho … actual air density
isa_densityaltitude … altitude where ISA-density equals rho (in gpam)

Height in ISA below 32000 gpm as function of pressure

pp … pressure in hPa
isa_height .. height in gpm

Pressure in ISA below 32000 gpm as function of height

hh … altiude in gpm
isa_pressure .. pressure at level hh in hPa
adisalib.isa_table(h1=0, h2=32000, dh=500, csv=False)[source]

Prints a table with ISA-Data.

h1 and h2 … lower and upper vertical boundary in Meter
dh … vertical increment in Meter
csv … flag (locical)
True … the output is a CSV-formatted file with a semicolon ‘;’
as field separator and a dot ‘.’ as decimal separator.
False … Textfile

Temperature of ISA-Standardatmosphere as function of altitude

z … altitude in gpm
isa_temperature … ISA temperature in K

Converts temperature in Kelvin to temperature in Ceslius


Converts temperature in Kelvin to temperature in Ceslius


Converts meter to foot


Converts meter to foot