Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

IRI2016 International Reference Ionosphere from Python

Project description



A Python interface to the International Reference Ionosphere (IRI) 2016 model.


Any Fortran compiler will do, for example:

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

and then from your Python >= 3.6 install (such as Miniconda):

pip install pyiri2016


python -m pip install -e .

This also installs Time Utilities.


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

Fortran compile

cd bin
cmake ../fortran


make test

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

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyiri2016-1.4.1.tar.gz (1.6 MB) Copy SHA256 hash SHA256 Source None Apr 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page