Python bindings for NCAR GLOW model
Project description
GLOW
The GLobal airglOW Model, independently and easily accessed from Fortran 2003 compiler. Optionally available from Python ≥ 3.7.
A Fortran compiler is REQUIRED.
Installation
Direct install using pip:
$ pip install glowpython
Install from source repository by:
$ git clone https://github.com/sunipkm/glowpython --recurse-submodules
$ cd glowpython && pip install .
Requires (and installs) geomagdata for timezone aware geomagnetic parameters retrieval.
Then use examples such as:
- Maxwellian.py: Maxwellian precipiation, specify Q and E0.
- Monoenergetic.py: Specify unit flux for one energy bin, all other energy bins are zero flux.
- NoPrecipitation.py: No precipitating electrons.
or use GLOW in your own Python program by:
import glowpython as glow
iono = glow.maxwellian(time, glat, glon, Q, Echar, Nbins)
iono
is an
xarray.Dataset
containing outputs from GLOW, including:
- number densities of neutrals, ions and electrons
- Pedersen and Hall currents
- volume emssion rate vs. wavelength and altitude
- precipitating flux vs. energy
- many more, request if you want it.
All available keys carry unit and description.
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
glowpython-3.0.0.tar.gz
(469.4 kB
view hashes)
Built Distribution
Close
Hashes for glowpython-3.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5481f30f8c72a097d7bd1aee6e0f31582d7e14802bb76f56961cb5bb2f99eb5c |
|
MD5 | 17dcffba0e3d00f3515510c2463b0aa8 |
|
BLAKE2b-256 | a483306fbb702b3c075729e26d24cbe8a3a90f778688bf4c10ff1c41071ed671 |