Skip to main content

IRI2016 International Reference Ionosphere from Python

Project description

https://travis-ci.org/scivision/pyIRI2016.svg?branch=master https://coveralls.io/repos/github/scivision/pyIRI2016/badge.svg?branch=master

pyIRI2016

figures/iri2DExample02.gif

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

Install

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

or:

python -m pip install -e .

This also installs Time Utilities.

Notes

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

Fortran compile

cd bin
cmake ../fortran

make

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

1.4.1

History Node

1.4.0

History Node

1.3.1

History Node

1.2.2

History Node

1.2.1

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