1976 US Standard Atmosphere in Haskell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
README.md
Setup.hs
atmos.cabal
changelog.txt
stack.yaml

README.md

1976 US Standard Atmosphere

Build Status

Adapted by Greg Horn from original programs by Ralph L. Carmichael, Public Domain Aeronautical Software The original code can be found at http://www.pdas.com/atmos.html

There are three modules you will be interested in.

Atmosphere               - port of the atmos code from pdas
Atmosphere.Dimensional   - same thing with dimensional wrappers

The core functionality in all of this is you input altitude and receive (pressure, density, speed of sound, viscosity, kinematic viscosity). You can do this in SI or Imperial units with Atmosphere, or you can use one of the dimensional versions to handle units for you.

As of atmos-0.3.0.0, GHC 7.6 is not supported. If you need it, use atmos-0.2.0.0 which has no dependencies except for base.

As of atmos-0.4.0.0, the deprecated dimensional-tf package is not supported. If you need it, use atmos-0.3.0.0.