{"id":22903124,"url":"https://github.com/space-physics/iri2016","last_synced_at":"2026-02-22T02:02:52.840Z","repository":{"id":41565941,"uuid":"123071113","full_name":"space-physics/iri2016","owner":"space-physics","description":"International Reference Ionosphere 2016 from Python and Matlab","archived":false,"fork":false,"pushed_at":"2024-01-14T21:03:22.000Z","size":5735,"stargazers_count":80,"open_issues_count":19,"forks_count":37,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-10-24T00:32:16.998Z","etag":null,"topics":["build-on-run","ionosphere","ionosphere-modeling","matlab-python-interface"],"latest_commit_sha":null,"homepage":"http://irimodel.org/","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/space-physics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["scivision"],"ko_fi":"scivision"}},"created_at":"2018-02-27T04:08:53.000Z","updated_at":"2025-10-22T13:58:09.000Z","dependencies_parsed_at":"2024-12-14T02:34:06.449Z","dependency_job_id":"945ec76d-daed-4e60-a3a4-79c4566a70dc","html_url":"https://github.com/space-physics/iri2016","commit_stats":{"total_commits":237,"total_committers":2,"mean_commits":118.5,"dds":"0.11392405063291144","last_synced_commit":"ca523ad80d22c25e95ecb2f95d37094cb7adb035"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/space-physics/iri2016","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2016","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2016/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2016/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2016/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-physics","download_url":"https://codeload.github.com/space-physics/iri2016/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2016/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"online","status_checked_at":"2026-02-22T02:00:08.193Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-on-run","ionosphere","ionosphere-modeling","matlab-python-interface"],"created_at":"2024-12-14T02:33:59.562Z","updated_at":"2026-02-22T02:02:52.817Z","avatar_url":"https://github.com/space-physics.png","language":"Fortran","funding_links":["https://github.com/sponsors/scivision","https://ko-fi.com/scivision"],"categories":[],"sub_categories":[],"readme":"# IRI2016 ionosphere model from Python and Matlab\n\n[![image](https://zenodo.org/badge/DOI/10.5281/zenodo.240895.svg)](https://doi.org/10.5281/zenodo.240895)\n![Actions Status](https://github.com/space-physics/iri2016/workflows/ci/badge.svg)\n[![View iri2016 on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/81056-iri2016)\n[![PyPi version](https://img.shields.io/pypi/pyversions/iri2016.svg)](https://pypi.python.org/pypi/iri2016)\n[![PyPi Download stats](https://static.pepy.tech/badge/iri2016)](https://pepy.tech/project/iri2016)\n\n![image](./figures/iri2DExample02.gif)\n\nPython and [Matlab](#matlab) interfaces to the International Reference Ionosphere (IRI) 2016 model.\nA Fortran compiler is required to build the IRI2016 code.\n\n## Install\n\nPrerequisites\n\n* Fortran compiler--any modern Fortran compiler will do. Here's how to get Gfortran:\n  * Linux: `apt install gfortran`\n  * Mac: `brew install gcc`\n  * Windows: consider [MSYS2](https://www.scivision.dev/install-msys2-windows/)\n\nand then install latest release:\n\n```sh\npip install iri2016\n```\n\nif you want the latest development version:\n\n```sh\ngit clone https://github.com/space-physics/iri2016\n\npip install -e iri2016\n```\n\nThis Python wrapper of IRI2016 uses our build-on-run technique.\nOn the first run or `iri2016.IRI()` the Fortran code is built--we call this \"build on run\".\n\nIf you have errors about building on the first run, ensure that your Fortran compiler is specified in environment variable FC--this is what most build systems use to indicate the desired Fortran compiler (name or full path).\n\n## Usage\n\n* Altitude Profile: plot density and temperatures vs altitude\n\n  ```sh\n  python -m iri2016.altitude 2003-11-21T12 -11.95 -76.77\n  ```\n\n  ![image](./figures/iri1DExample01.png)\n* Latitude profile: plot densities and height at the peak of F2, F2, and E regions vs geographic latitude\n\n  ```sh\n  python -m iri2016.latitude 2004-11-21T17 -76.77\n  ```\n\n  ![image](./figures/iri1DExample02.png)\n* Time profile: plot densities and height at the peak of F2, F2, and E regions vs UTC\n\n  ```sh\n  python -m iri2016.time 2014-11-21 2014-11-22 1 -11.95 -76.77\n  ```\n\n  ![image](./figures/plasma.png)\n\n  ![image](./figures/tec.png)\n\n  ![image](./figures/iri2DExample01.png)\n* Latitude vs Longitude: plot of foF2 a function of geographic latitude and longitude\n  ![image](./figures/iri2DExample02.png)\n\n### setting JF flags\n\n[irisub.for](./iri2016/src/irisub.for) has a few dozen logical flags stored in variable JF. To reconfigure those flags, edit [iri2016_driver.f90](./iri2016/src/iri2016_driver.f90) and recompile iri2016_driver.exe.\n\n### Matlab\n\nIRI2016 is readily accessible from Matlab.\nFrom within Matlab verify everything is working by:\n\n```matlab\nTestAll\n```\n\nThe [Examples](./Examples) directory has simple example use with plots.\n\n![Matlab IRI2016 plot](./figures/matlab.png)\n\n## Data files\n\n`iri2016/iri2016/data/index/{apf107,ig_rz}.dat` are\n[regularly updated](http://irimodel.org/indices/).\nCurrently we don't auto-update those.\n\n## Notes\n\n* [2016 presentation](https://doi.org/10.5281/zenodo.1493021)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-physics%2Firi2016","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-physics%2Firi2016","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-physics%2Firi2016/lists"}