{"id":22903121,"url":"https://github.com/space-physics/iri2020","last_synced_at":"2025-04-01T07:21:11.449Z","repository":{"id":194008675,"uuid":"660303314","full_name":"space-physics/iri2020","owner":"space-physics","description":"IRI2020 ionosphere climate model from Python","archived":false,"fork":false,"pushed_at":"2024-12-19T01:18:14.000Z","size":2858,"stargazers_count":10,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T04:34:29.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["scivision"],"ko_fi":"scivision"}},"created_at":"2023-06-29T17:37:59.000Z","updated_at":"2024-12-19T01:18:18.000Z","dependencies_parsed_at":"2024-01-20T09:49:05.061Z","dependency_job_id":null,"html_url":"https://github.com/space-physics/iri2020","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"cb6723b339332db39e0146989a0445c1e839f806"},"previous_names":["space-physics/iri2020"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2020","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2020/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2020/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-physics%2Firi2020/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-physics","download_url":"https://codeload.github.com/space-physics/iri2020/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246598193,"owners_count":20802976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-14T02:33:58.685Z","updated_at":"2025-04-01T07:21:11.426Z","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":"# IRI2020 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[![ci](https://github.com/space-physics/iri2020/actions/workflows/ci.yml/badge.svg)](https://github.com/space-physics/iri2020/actions/workflows/ci.yml)\n[![View iri2020 on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/81056-iri2020)\n[![PyPi version](https://img.shields.io/pypi/pyversions/iri2020.svg)](https://pypi.python.org/pypi/iri2020)\n[![PyPi Download stats](https://static.pepy.tech/badge/iri2020)](https://pepy.tech/project/iri2020)\n\nPython and [Matlab](#matlab) interfaces to the International Reference Ionosphere (IRI) 2020 model.\nA Fortran compiler is required to build the IRI2020 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 Subsystem for Linux\n\nand then install latest release:\n\n```sh\npip install iri2020\n```\n\nif you want the latest development version:\n\n```sh\ngit clone https://github.com/space-physics/iri2020\n\npip install -e iri2020/\n```\n\nThis Python wrapper of IRI2020 uses our build-on-run technique.\nOn the first run or `iri2020.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 iri2020.altitude 2003-11-21T12 -11.95 -76.77\n  ```\n\n  ![image](./figures/iri_altitude.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 iri2020.latitude 2004-11-21T17 -76.77\n  ```\n\n  ![image](./figures/iri_latitude.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 iri2020.time 2014-11-21 2014-11-22 1 -11.95 -76.77\n  ```\n\n  ![image](./figures/iri_time_plasma.png)\n\n  ![image](./figures/iri_time_tec.png)\n\n### setting JF flags\n\nIRI has a few dozen\n[logical flags](https://irimodel.org/IRI-Switches-options.pdf)\nstored in variable JF.\nTo reconfigure those flags, edit\n[iri_driver.f90](./iri2020/src/iri_driver.f90)\nand recompile iri2020_driver executable.\n\n## Data files\n\n`src/iri2020/data/{apf107.dat,ig_rz.dat}`\n[data files](https://irimodel.org/indices/IRI-Format-indices-files.pdf)\nare\n[regularly updated](http://irimodel.org/indices/).\nCurrently we don't auto-update those.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-physics%2Firi2020","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-physics%2Firi2020","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-physics%2Firi2020/lists"}