Python Package for Standard Atmosphere
Project description
pystdatm
Python Package for Standard Atmosphere
The set of functions that follow International Standard Atmosphere model.
Note: Only SI units are supported.
Sample Code:
from pystdatm import (density, geometric_altitude, pressure,
speed_of_sound, temperature, viscosity)
alt = 14000.0 # metres above sea level
print(f'Altitude = {alt:.0f} m\n')
altz = geometric_altitude(alt)
print(f'Geometric Altitude = {altz:.0f} m\n')
temp = temperature(alt)
print(f'Air Temperature = {temp:.2f} K\n')
pres = pressure(alt)
print(f'Air Pressure = {pres:.6g} Pa\n')
rho = density(alt)
print(f'Air Density = {rho:.4f} kg/m**3\n')
mu = viscosity(temp)
print(f'Air Viscosity = {mu:.5g} Pa.s\n')
a = speed_of_sound(temp)
print(f'Speed of Sound = {a:.1f} m/s\n')
# Example of ISA Properties at Altitude with Temperature Deviation
deviation = 10.0 # K
rho_dev = density(alt, deviation=deviation)
print(f'Density ISA+{deviation:.0f} = {rho_dev:.4f} kg/m**3\n')
Sample Output:
Altitude = 14000 m
Geometric Altitude = 14031 m
Air Temperature = 216.65 K
Air Pressure = 14101.8 Pa
Air Density = 0.2268 kg/m**3
Air Viscosity = 1.7826e-05 Pa.s
Speed of Sound = 339.5 m/s
Density ISA+10 = 0.2167 kg/m**3
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystdatm-0.2.1.tar.gz.
File metadata
- Download URL: pystdatm-0.2.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f84af3b3a915583172f4fb167df0d48f914bdf4ecd117615e08ba4b5e18454a6
|
|
| MD5 |
cfa3831dde0c1da88875bc5a6860f14b
|
|
| BLAKE2b-256 |
6ee4bff2ca8411627f599bddf1ba2436e4a95aa453a82ee3fcc13fa79287a66f
|
Provenance
The following attestation bundles were made for pystdatm-0.2.1.tar.gz:
Publisher:
publish-to-pypi.yml on Xero64/pystdatm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pystdatm-0.2.1.tar.gz -
Subject digest:
f84af3b3a915583172f4fb167df0d48f914bdf4ecd117615e08ba4b5e18454a6 - Sigstore transparency entry: 345688529
- Sigstore integration time:
-
Permalink:
Xero64/pystdatm@80b28191120dfc44754f4c262768f296ac2760c5 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Xero64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@80b28191120dfc44754f4c262768f296ac2760c5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pystdatm-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pystdatm-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a602556599801d2bc9f9a587b10a2da803232473a5ba200ad5486d17828e8412
|
|
| MD5 |
fd0c99b9005a5d5b4b56a32fcba1edfc
|
|
| BLAKE2b-256 |
37af0257ea5629e95110e1549bddf2f9af0da52d37d10fd630aeb41279fb2503
|
Provenance
The following attestation bundles were made for pystdatm-0.2.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Xero64/pystdatm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pystdatm-0.2.1-py3-none-any.whl -
Subject digest:
a602556599801d2bc9f9a587b10a2da803232473a5ba200ad5486d17828e8412 - Sigstore transparency entry: 345688530
- Sigstore integration time:
-
Permalink:
Xero64/pystdatm@80b28191120dfc44754f4c262768f296ac2760c5 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Xero64
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@80b28191120dfc44754f4c262768f296ac2760c5 -
Trigger Event:
push
-
Statement type: