Git Product home page Git Product logo

iri2016's Introduction

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. A Fortran compiler and CMake or Meson is required to build the IRI2016 code.

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 build

meson ../src

ninja

meson test

Notes

iri2016's People

Contributors

scivision avatar arodland avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.