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.2.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

iricore-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

File details

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

File metadata

  • Download URL: iricore-1.2.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-52-generic

File hashes

Hashes for iricore-1.2.0.tar.gz
Algorithm Hash digest
SHA256 10160b59a0d32759878dfdb22e607e39284452a921080a8e426e6440880bbf1c
MD5 eb89392c4093dd2482222b9a85f3c33b
BLAKE2b-256 1c0366e74f7090f016a210f43771d310a96fa74ef158c5f256f69067025e7acb

See more details on using hashes here.

File details

Details for the file iricore-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for iricore-1.2.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 ee58bde9a33d3dc57107bf61e66b9579ca816966a3e2f9951e564daccbbdcaa2
MD5 fb34e99794e4e29b8a117d6844039607
BLAKE2b-256 bfb3dfb4e77fa47943dc722599c3799635ee629105b2f541748cce6d70dbc5d8

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