Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

IRI90 from Python, clean and flexible ionospheric model.

Project description

Build Status Coverage Status Build status PyPi version PyPi formats PyPi Download stats

IRI90: International reference ionosphere in Python

IRI-90 provides monthly mean values for magnetically quiet conditions at non-auroral latitudes in the altitude range 50km to 2000km.

However, IRI90 is often used as an initialization for conditions at auroral latitudes, understanding the caveats.

example IRI output

Install

pip install iri90

or for the latest development version:

python -m pip install -e .

Usage

This IRI90 Python module is as small and clean as possible to enable your custom IRI90 applications.

import iri90

iono = iri90.runiri(dtime, altkm, latlon, f107, f107s, ap=p.ap)

iono is an xarray.DataArray indexable by species, altitude, etc. and includes metadata.

Altitude profile

density and temperature:

python AltitudeProfile.py

Notes

Optional: If you want to work with just the original Fortran code:

cd bin
cmake ../src
cmake --build .

References

Fortran Code

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page