IRI2016 ionosphere model from Python and Matlab
Python and Matlab interfaces to the International Reference Ionosphere (IRI) 2016 model. A Fortran compiler is required to build the IRI2016 code.
- Python >= 3.6
- Fortran compiler--just about any modern Fortran compiler will do. Here's how to get Gfortran:
apt install gfortran
brew install gcc
and then install latest release:
pip install iri2016
if you want the latest development version:
git clone https://github.com/space-physics/iri2016 pip install -e iri2016
This Python wrapper of IRI2016 uses our build-on-run technique. The first time you use IRI2016, you will see messages from the Meson build system and your C compiler.
Altitude Profile: plot density and temperatures vs altitude
python AltitudeProfile.py 2003-11-21T12 -11.95 -76.77
Latitude profile: plot densities and height at the peak of F2, F2, and E regions vs geographic latitude
python LatitudeProfile.py 2004-11-21T17 -76.77
Time profile: plot densities and height at the peak of F2, F2, and E regions vs UTC
python TimeProfile.py 2014-11-21 2014-11-22 1 -11.95 -76.77
Matlab / GNU Octave
IRI2016 is readily accessible from Matlab and GNU Octave.
From within Matlab / Octave, verify everything is working by from the
Currently we don't auto-update those.