GithubHelp home page GithubHelp logo

zzhli / iri2016 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from space-physics/iri2016

0.0 0.0 0.0 5.51 MB

International Reference Ionosphere 2016 from Python and Matlab

Home Page: http://irimodel.org/

License: MIT License

Python 1.76% Shell 0.05% MATLAB 0.66% M 0.01% CMake 0.03% Meson 0.02% Fortran 97.47%

iri2016's Introduction

image

Actions 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 is required to build the IRI2016 code.

Install

Prerequisites

  • Python >= 3.6
  • 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

and then install latest release:

pip install iri2016

if you want the latest development version:

git clone https://github.com/space-physics/iri2016

cd iri2016

python3 setup.py develop --user

This Python wrapper of IRI2016 uses our build-on-run technique. The first time you use IRI2016, you will see messages from the Meson build system and your C compiler.

Troubleshooting

if error

ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

try installing Atlas math library used by Numpy

apt install libatlas-base-dev

Usage

  • Altitude Profile: plot density and temperatures vs altitude

    python AltitudeProfile.py 2003-11-21T12 -11.95 -76.77

    image

  • 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

    image

  • 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

    image

    image

    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. From within Matlab / Octave, verify everything is working by from the iri2016/tests directory:

test_iri2016

Matlab IRI2016 plot

Data files

iri2016/iri2016/data/index/{apf107,ig_rz}.dat are regularly updated. Currently we don't auto-update those.

Notes

iri2016's People

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.