Skip to main content

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.

Metadata

Release files for atmosp 0.2.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atmosp 0.2.16
File Size Uploaded Provenance Actions
atmosp-0.2.16.tar.gz 672.0 kB With provenance Details for atmosp-0.2.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atmosp 0.2.16
File Interpreter ABI Platform Actions
atmosp-0.2.16-py3-none-any.whl Python 3 none any Details for atmosp-0.2.16-py3-none-any.whl

Total release size: 1.3 MB

Release files / atmosp-0.2.16.tar.gz

Download URL atmosp-0.2.16.tar.gz
Size 672.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e900973736539fc07df6beea7a6e52fd6ef38bb74fea69d06d57bcde2199ee80
BLAKE2b-256 checksum
How to use checksums
e49af97003357f899ce48ac6b69bb660a14f1b5c41d754738c64cecefd29a941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.

Transparency log

Release files / atmosp-0.2.16-py3-none-any.whl

Download URL atmosp-0.2.16-py3-none-any.whl
Size 656.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e3a0210290822018246770c4dfbf31c88f0db8944109ac1211a76d047d2652a
BLAKE2b-256 checksum
How to use checksums
ac586527baa4f10d15835a0ff6b81b31ea58eabda36d4b0955ab9909cb53f239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.

Transparency log

Security for atmosp 0.2.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for atmosp-0.2.16.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page