A python interface to iri2016 Fortran code
Reason this release was yanked:
Bugged
Project description
iricore
A fork of iri2016. iricore
implements a couple of optimizations to the iri2016
core Fortran code and Python interface to make it faster:
- Optimization of data files reading gives boost in case of iteration over large list of coordinates;
f2py
interface provides faster communication between Python and Fortran.
Overall, this gives performance boost up to ~100x (see examples/comparison.py
).
Important! Because this package is mainly used for the MIST experiment,
the iricore
cuts off calculation of unnecessary atmospheric parameters available in iri2016
, leaving only electron density
and electron temperature. All other parameters can be restored on demand (please contact me).
Installation
This package proved to work under Linux only (due to compilation difficulties in Windows). If you are using Windows - consider installing WSL.
Prerequisites
- Git
sudo apt instal git
- Fortran compiler, e.g.
gfortran
sudo apt isntall gfortran
Installing package
Now you can simply install it via pip
:
python3 -m pip install git+https://github.com/lap1dem/iricore
Data files
IRI2016
model depends on data files 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.
Usage
For usage examples see examples/
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file iricore-1.0.6.tar.gz
.
File metadata
- Download URL: iricore-1.0.6.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0c581f6daac887307c7e58158371aedef6da4ae6802a9d5bdf9502e1c9b167 |
|
MD5 | d1edb4816ddba212fd075106a211b81f |
|
BLAKE2b-256 | af4c56ef6da08f9cc56b16f132c7d6725c25208539d8f9c50edc13dc419d4bfa |
File details
Details for the file iricore-1.0.6-cp38-cp38-manylinux_2_31_x86_64.whl
.
File metadata
- Download URL: iricore-1.0.6-cp38-cp38-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cbf72ffb46edcbf78516532515cfd10e974ce7b9ce17dfbb13401f9ce773b5 |
|
MD5 | 12af762241c019b66b8547fc6083310a |
|
BLAKE2b-256 | 3879a7005561666553737f517039c572ab06651f91c8c25110a4995d7af95131 |