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

Uploaded Source

Built Distribution

iricore-1.2.3-cp39-cp39-manylinux_2_35_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.35+ x86-64

File details

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

File metadata

  • Download URL: iricore-1.2.3.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.15 Linux/5.15.0-53-generic

File hashes

Hashes for iricore-1.2.3.tar.gz
Algorithm Hash digest
SHA256 f7049de54dcc4d90c467c31f863e57e90a2e6d48d6b08005e25c51e82c33ef26
MD5 b94bbefbcdab0ab175b95df164396e98
BLAKE2b-256 cfacc622efa03b5e1b5d9e8217b441380d36e52807d34509298ecff7e2793bb4

See more details on using hashes here.

File details

Details for the file iricore-1.2.3-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: iricore-1.2.3-cp39-cp39-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.9, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.15 Linux/5.15.0-53-generic

File hashes

Hashes for iricore-1.2.3-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 95e2ec56070aff92c0730728bd314185c8c33ea5521011d04f92fac47f9b2ceb
MD5 4baeeefeda63e170683a6da26a4a1369
BLAKE2b-256 9e557c323d118877e4d64f1723c20f00d7d4002fd8eb9ab1636d9b0ffd0cbdd9

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