Metadata-Version: 2.1
Name: iricore
Version: 1.8.3
Summary: A Python wraper to the Inernational Ionosphere Model
Author: Vadym Bidula
Author-email: vadym.bidula@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: fortranformat (>=2.0.0,<3.0.0)
Requires-Dist: numpy (>=1.25.0,<2.0.0)
Requires-Dist: pymap3d[core] (>=3.0.1,<4.0.0)
Description-Content-Type: text/markdown

# iricore

A Python interface to IRI-2016 and IRI-2020 using `ctypes` communication.

**The extensive documentation is available at the [RTD wbsite](https://iricore.readthedocs.io/en/latest).**

## Installation

This package proved to work under Linux only (due to compilation difficulties in Windows).
If you are using Windows - consider installing [WSL](https://docs.microsoft.com/en-us/windows/wsl/install).

### Prerequisites

- CMAKE

```
sudo apt install cmake
```

- Fortran compiler, e.g. `gfortran`

```
sudo apt install gfortran
```

### Installing package

Now you can simply install it via `pip`:

```
python3 -m pip install iricore
```

## Data files

`IRI2016` model depends on [data files](http://irimodel.org/indices/) which are regularly updated.
`iricore` does not autoupdate those, but provides tool for quick update. You can run from terminal

```
python3 -c "import iricore; iricore.update()"
```

or add

```
import iricore
iricore.update()
```

to any Python script.
