IRI2016 International Reference Ionosphere from Python
Project description
IRI2016 ionosphere model from Python and Matlab
Python and Matlab interfaces to the International Reference Ionosphere (IRI) 2016 model. A Fortran compiler and CMake or Meson is required to build the IRI2016 code.
Install
Prerequisites
- Python >= 3.6
- Ninja-build obtained by:
- Linux:
apt install ninja-build - MacOS/Homebrew:
brew install ninja - Windows Chocolatey:
cinst -y ninja - direct download and extract, put directory in PATH environment variable.
- Linux:
- Fortran compiler--just about any modern Fortran compiler will do. Here's how to get Gfortran:
- Linux:
apt install gfortran - Mac:
brew install gcc - Windows
- Linux:
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
Usage
-
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
-
Latitude vs Longitude: plot of foF2 a function of geographic latitude and longitude
Matlab / GNU Octave
IRI2016 is readily accessible from Matlab and GNU Octave.
From within Matlab/Octave, verify everything is working by from the iri2016/tests directory:
test_iri2016
- iri2016.m function accesses IRI2016 quantities.
- RunIRI2016.m is a simple example use with plots.
Data files
iri2016/iri2016/data/index/{apf107,ig_rz}.dat are
regularly updated.
Currently we don't auto-update those.
Notes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iri2016-1.8.3.tar.gz.
File metadata
- Download URL: iri2016-1.8.3.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
407f63bd35d059f275a672d25a5027f1f0c19ce045159df8980b1e6ce293e535
|
|
| MD5 |
9d8113eb4e1610873e7c3e483b9a3887
|
|
| BLAKE2b-256 |
90750618cf6c665216051d5d7fb01a21e8e65abc22a5436a0027cf8db79e0e8d
|