Skip to main content

Atmospheric sciences utility library

Project description

atmos is a library of Python programming utilities for the atmospheric sciences. It is in ongoing development. If you have an idea for a feature or have found a bug, please post it on the GitHub issue tracker.

Information on how to use the module can be found predominantly by using the built-in help() function in Python. Many docstrings are automatically generated by the module and so information may appear to be missing in the source code. There is also HTML documentation available.

This module is currently alpha. The API of components at the base module level should stay backwards-compatible, but sub-modules are subject to change. In particular, features in the util module are likely to be changed or removed entirely.

Features

  • defined constants used in atmospheric science

  • functions for common atmospheric science equations

  • a simple calculate() interface function for accessing equations

  • no need to remember equation function names or argument order

  • fast calculation of quantities using numexpr

  • skew-T plots integrated into matplotlib

Dependencies

This module is tested to work with Python versions 2.6, 2.7, 3.3, and 3.4 on Unix. Support is given for all platforms. If there are bugs on your particular version of Python, please submit it to the GitHub issue tracker.

Package dependencies:

  • numpy

  • numexpr

  • six

  • nose

Installation

To install this module, download and run the following:

$ python setup.py install

If you would like to edit and develop the code, you can instead install in develop mode

$ python setup.py develop

If you are running Anaconda, you can install using conda:

$ conda install -c mcgibbon atmos

You can also install using pip:

$ pip install atmos

Development version

The most recent development version can be found in the GitHub develop branch.

Examples

Calculating pressure from virtual temperature and air density:

>>> import atmos
>>> atmos.calculate('p', Tv=273., rho=1.27)
    99519.638400000011

License

This module is available under an MIT license. Please see LICENSE.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atmosp-0.2.14.tar.gz (672.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atmosp-0.2.14-py3-none-any.whl (657.6 kB view details)

Uploaded Python 3

File details

Details for the file atmosp-0.2.14.tar.gz.

File metadata

  • Download URL: atmosp-0.2.14.tar.gz
  • Upload date:
  • Size: 672.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atmosp-0.2.14.tar.gz
Algorithm Hash digest
SHA256 c5f388a157d1a15d85289796b05a0fedfc77b4465aca72a50e8cf8c56e26b5f9
MD5 afd9612047a19fb36be7b671d40e35d5
BLAKE2b-256 141f3ca3e3a7edbb88f5182dbc96394aed4e80a673f75d36228f0e8726b4e99c

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosp-0.2.14.tar.gz:

Publisher: publish.yml on sunt05/atmosp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atmosp-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: atmosp-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 657.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atmosp-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c30349fb90a8406dde2ffe8c6a0a6786744deaf7a90a1b2ed2033b7a2701c13a
MD5 fa86d285f4b8e9eb3e2df347f8fc3d6f
BLAKE2b-256 4e6070fba43ad439ffebdf0a08dac40243a971ce67b6aa65f0c54d97166c59f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmosp-0.2.14-py3-none-any.whl:

Publisher: publish.yml on sunt05/atmosp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page