Python wrapper to the International Reference Ionosphere (IRI) 2016 model.
pip install pyiri2016
Or
pip install -e .This also installs Time Utilities.
make testUse this script to generate a plot of density and temperatures vs height:
Use this script to generate a plot of densities and height at the peak of F2, F2, and E regions vs geographic latitude:
Use this script to generate a plot of densities and height at the peak of F2, F2, and E regions vs universal time:
Use this script to generate a plot of Ne, Te, and Ti as a function of height and universal time:
Use this script to generate a plot of foF2 a function of geographic latitude and longitude:
These commands are not normally needed unless you want to work with the Fortran code more directly.
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 installRun unit-testing cases
make testIn a terminal session, pyIRI2016 can be build up as follows:
make buildcd bin
cmake ../source
make
./testiri2016The 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: dfridrf2py -m igrf -c irifun.for igrf.for skip: dfridr




