Michael Hirsch, Ph.D.
Ronald Ilma
License: UNKNOWN
Description: [](https://doi.org/10.5281/zenodo.240895)
[](https://travis-ci.org/scivision/IRI2016)
[](https://coveralls.io/github/scivision/IRI2016?branch=master)
[](https://ci.appveyor.com/project/scivision/pyiri2016)
[](https://pypi.python.org/pypi/iri2016)
[](https://pypi.python.org/pypi/iri2016)
[](http://pepy.tech/project/iri2016)
# IRI2016 ionosphere model from Python and Matlab

A Python interface to the International Reference Ionosphere (IRI) 2016 model.
## Install
Any Fortran compiler will do.
IRI2016 has been tested with compilers including:
* Gfortran 5, 6, 7, 8
* Intel `ifort`
* PGI `pgf90`
Install Gfortran by:
- Linux: `apt install gfortran`
- Mac: `brew install gcc`
- [Windows](https://www.scivision.co/windows-gcc-gfortran-cmake-make-install/)
and then from your Python ≥ 3.6 install (such as [Miniconda](https://conda.io/miniconda.html)):
pip install iri2016
or:
python -m pip install -e .
## Usage
### Height-profile
plot density and temperatures vs [altitude](AltitudeProfile.py)

### Latitudinal profile
plot densities and height at the peak of F2, F2, and E regions vs [geographic latitude](LatitudeProfile.py)

### GMT profile
plot densities and height at the peak of F2, F2, and E regions vs universal [time](TimeProfile.py)

### Height vs GMT
plot Ne, Te, and Ti as a function of height and universal [time](scripts/iri2DExample01.py)

### Latitude vs Longitude
plot of foF2 a function of geographic latitude and [longitude](scripts/iri2DExample02.py)

## Notes
These commands are not normally needed unless you want to work with the Fortran code more directly.
### Fortran compile
cd bin
cmake ../fortran
cmake --build -j .
ctest -V
### f2py compile
The function DFRIDR() inside igrf.for dynamically calls other functions.
This is something f2py can't access directly, so we tell f2py not to
hook into function DFRIDF() with the end statement `skip: dfridr`:
f2py -m iri2016 -c iriwebg.for irisub.for irifun.for iritec.for iridreg.for igrf.for cira.for iriflip.for skip: dfridr
### f2py: IGRF only
f2py -m igrf -c irifun.for igrf.for skip: dfridr
Keywords: thermosphere,ionosphere
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Requires-Python: >= 3.6
Description-Content-Type: text/markdown
Provides-Extra: plot
Provides-Extra: tests
Ronald Ilma
License: UNKNOWN
Description: [](https://doi.org/10.5281/zenodo.240895)
[](https://travis-ci.org/scivision/IRI2016)
[](https://coveralls.io/github/scivision/IRI2016?branch=master)
[](https://ci.appveyor.com/project/scivision/pyiri2016)
[](https://pypi.python.org/pypi/iri2016)
[](https://pypi.python.org/pypi/iri2016)
[](http://pepy.tech/project/iri2016)
# IRI2016 ionosphere model from Python and Matlab

A Python interface to the International Reference Ionosphere (IRI) 2016 model.
## Install
Any Fortran compiler will do.
IRI2016 has been tested with compilers including:
* Gfortran 5, 6, 7, 8
* Intel `ifort`
* PGI `pgf90`
Install Gfortran by:
- Linux: `apt install gfortran`
- Mac: `brew install gcc`
- [Windows](https://www.scivision.co/windows-gcc-gfortran-cmake-make-install/)
and then from your Python ≥ 3.6 install (such as [Miniconda](https://conda.io/miniconda.html)):
pip install iri2016
or:
python -m pip install -e .
## Usage
### Height-profile
plot density and temperatures vs [altitude](AltitudeProfile.py)

### Latitudinal profile
plot densities and height at the peak of F2, F2, and E regions vs [geographic latitude](LatitudeProfile.py)

### GMT profile
plot densities and height at the peak of F2, F2, and E regions vs universal [time](TimeProfile.py)

### Height vs GMT
plot Ne, Te, and Ti as a function of height and universal [time](scripts/iri2DExample01.py)

### Latitude vs Longitude
plot of foF2 a function of geographic latitude and [longitude](scripts/iri2DExample02.py)

## Notes
These commands are not normally needed unless you want to work with the Fortran code more directly.
### Fortran compile
cd bin
cmake ../fortran
cmake --build -j .
ctest -V
### f2py compile
The function DFRIDR() inside igrf.for dynamically calls other functions.
This is something f2py can't access directly, so we tell f2py not to
hook into function DFRIDF() with the end statement `skip: dfridr`:
f2py -m iri2016 -c iriwebg.for irisub.for irifun.for iritec.for iridreg.for igrf.for cira.for iriflip.for skip: dfridr
### f2py: IGRF only
f2py -m igrf -c irifun.for igrf.for skip: dfridr
Keywords: thermosphere,ionosphere
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Requires-Python: >= 3.6
Description-Content-Type: text/markdown
Provides-Extra: plot
Provides-Extra: tests
Metadata
Release files for iri2016 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iri2016-1.5.1.tar.gz | 1.6 MB | Details |
Release files / iri2016-1.5.1.tar.gz
| Download URL | iri2016-1.5.1.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee91f5d9e94ef010603f8abfe0edb0efae703d96ff11f816e9d408945d0f3039
|
|
BLAKE2b-256 checksum How to use checksums |
028afe8b5c72239e90200d5a854246b03bdcb28311684e1a110ec8a1cdd381a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.7.0
|