Skip to main content

No project description provided

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:

  1. Optimization of data files reading gives boost in case of iteration over large list of coordinates;
  2. 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 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

iricore-1.1.6.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

iricore-1.1.6-cp38-cp38-manylinux_2_31_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.31+ x86-64

File details

Details for the file iricore-1.1.6.tar.gz.

File metadata

  • Download URL: iricore-1.1.6.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.14.0-1052-oem

File hashes

Hashes for iricore-1.1.6.tar.gz
Algorithm Hash digest
SHA256 905fac213e73a9201e48ea293d34d17c1313eb8e1355b0576d64b37a5ea78907
MD5 71c95a2dcb79773688d50303616e76bf
BLAKE2b-256 219083f3a795dec50b87d3ccd69b34f0c33aef58f000be8303b79af28777bfc2

See more details on using hashes here.

File details

Details for the file iricore-1.1.6-cp38-cp38-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for iricore-1.1.6-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5ae6614e2b749bfb20c7ef1687841af046b45306a0bccf4f68911b77d7f46968
MD5 930c42c51f7f94acddbb1068dfff9beb
BLAKE2b-256 9d1ab2fe671c5ecb60d34a9c1501f6a90544f898a317889d3ad4303a442e8df5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page