Skip to main content

image Build Status image Build status PyPi version PyPi Download stats

IRI2016 ionosphere model from Python and Matlab

image

Python and Matlab interfaces to the International Reference Ionosphere (IRI) 2016 model.

Python

  1. Install IRI2016 command-line driver program
    pip install -e .[tests]
    
  2. run selftest to ensure install was completed:
    pytest
    
  3. try example script e.g. AltitudeProfile.py

Matlab

  1. compile Fortran code via matlab/setup_iri2016.m
  2. drive the simulation via a seamless command line interface, example: matlab/RunIRI2016.m

Compiler

Any Fortran compiler will do. IRI2016 has been tested with compilers including:

  • Gfortran 4.8, 5, 6, 7, 8
  • Intel ifort
  • PGI pgf90
  • Flang flang

If you don't already have a Fortran compiler, install Gfortran by:

  • Linux: apt install gfortran
  • Mac: brew install gcc
  • Windows

Usage

  • Height-profile: plot density and temperatures vs altitude image
  • Latitudinal profile: plot densities and height at the peak of F2, F2, and E regions vs geographic latitude image
  • GMT profile: plot densities and height at the peak of F2, F2, and E regions vs universal time image
  • Height vs GMT: plot Ne, Te, and Ti as a function of height and universal time image
  • Latitude vs Longitude: plot of foF2 a function of geographic latitude and longitude image

Matlab / GNU Octave

IRI2016 is readily accessible from Matlab and GNU Octave.

  1. From Matlab, verify everything is working by from the iri2016/ directory:
    runtests('tests')
    
  2. Use iri2016.m function to access IRI2016 quantities. See RunIRI2016.m for simple example use / plots.

Matlab IRI2016 plot

Data files

iri2016/iri2016/data/index/{apf107,ig_rz}.dat are regularly updated. Currently we don't auto-update those.

Direct compilation

These commands are not normally needed unless you want to work with the Fortran code more directly.

Fortran compile

cd bin
cmake ../src

cmake --build .

ctest -V

Notes

Release files for iri2016 1.8.0

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

Source distribution (sdist)

Source distribution for iri2016 1.8.0
File Size Uploaded
iri2016-1.8.0.tar.gz 1.6 MB Details

Release files / iri2016-1.8.0.tar.gz

Download URL iri2016-1.8.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
37943a8cb3c95a8da75e3ea0757417981fa384566211cdf50c3d8fea9aa94a91
BLAKE2b-256 checksum
How to use checksums
9b795ecd6e6dbd23f4521a76ace555fb7ef98675e0dc7c05c542bf7d9aa7775b
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/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.7.2

Release history Release notifications | RSS feed

1.11.1

1 release file

1.11.0

1 release file

1.10.2

1 release file

1.10.1

1 release file

1.10.0

1 release file

1.9.0

1 release file

1.8.6

1 release file

1.8.5

1 release file

1.8.4

1 release file

1.8.3

1 release file

1.8.2

1 release file

1.8.1

1 release file

This release

1.8.0 This release

1 release file

1.7.0

1 release file

1.5.2

1 release file

1.5.1

1 release file

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