Giter VIP home page Giter VIP logo

pyiri2016's Introduction

alt tag

pyIRI2016

alt tag

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

Installing

pip install pyiri2016

Or

pip install -e .

This also installs Time Utilities.

Test

make test

Examples

Height-profile

Use this script to generate a plot of density and temperatures vs height:

alt tag

Latitudinal profile

Use this script to generate a plot of densities and height at the peak of F2, F2, and E regions vs geographic latitude:

alt tag

GMT profile

Use this script to generate a plot of densities and height at the peak of F2, F2, and E regions vs universal time:

alt tag

Height vs GMT

Use this script to generate a plot of Ne, Te, and Ti as a function of height and universal time:

alt tag

Latitude vs Longitude

Use this script to generate a plot of foF2 a function of geographic latitude and longitude:

alt tag

Reference

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

Compile IRI2016 Fortran

In Docker

Python dev container provides a way to isolate runtime stack and its prerequisites. In Visual Studio Code, open a folder in the development container as described here. Install pre-requirements as follow:

make install

Run unit-testing cases

make test

In a terminal session, pyIRI2016 can be build up as follows:

make build

Deprecated

cd bin
cmake ../source
make
./testiri2016

Manual 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

manual f2py: IGRF only

f2py -m igrf -c irifun.for igrf.for skip: dfridr

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.