Skip to main content

EOF analysis in Python

Project description

eofs - EOF analysis in Python

DOI (paper) DOI (latest release)

Overview

eofs is a Python package for performing empirical orthogonal function (EOF) analysis on spatial-temporal data sets, licensed under the GNU GPLv3.

The package was created to simplify the process of EOF analysis in the Python environment. Some of the key features are listed below:

  • Suitable for large data sets: computationally efficient for the large data sets typical of modern climate model output.
  • Transparent handling of missing values: missing values are removed automatically when computing EOFs and re-inserted into output fields.
  • Meta-data preserving interfaces (optional): works with the iris data analysis package or xarray to carry meta-data over from input fields to output.
  • No Fortran dependencies: written in Python using the power of NumPy, no compilers required.

Requirements

eofs only requires the NumPy package (and setuptools to install). In order to use the meta-data preserving interfaces one (or both) of iris or xarray is needed.

Documentation

Documentation is available online. The package docstrings are also very complete and can be used as a source of reference when working interactively.

Citation

If you use eofs in published research, please cite it by referencing the peer-reviewed paper. You can additionally cite the Zenodo DOI if you need to cite a particular version (but please also cite the paper, it helps me justify my time working on this and similar projects).

Installation

eofs works on Python 3 on Linux, Windows or MacOS. The easiest way to install eofs is by using conda or pip:

conda install -c conda-forge eofs

or

pip install eofs

You can also install from the source distribution:

python setup.py install

Frequently asked questions

  • Do I need iris or xarray to use eofs? No. All the computation code uses NumPy only. The iris and xarray modules are only required for the meta-data preserving interfaces.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eofs-2.0.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

eofs-2.0.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file eofs-2.0.0.tar.gz.

File metadata

  • Download URL: eofs-2.0.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for eofs-2.0.0.tar.gz
Algorithm Hash digest
SHA256 4afecba7dd8076399803b71570d96a12dce237615c6317685f83a206fe70ee57
MD5 7e31f9b50ba856c69372340daa9c04c0
BLAKE2b-256 863645486898340e705cf568c408b0c7a182bad15eeebb068ff98eabe083260b

See more details on using hashes here.

File details

Details for the file eofs-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: eofs-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for eofs-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5a045ac044cdf3a8f6607b5fde092b9a92bf7231ae57ecf3803e35287667c55
MD5 be41f36da5f2e4e0c1974f1ddce18fd7
BLAKE2b-256 88e9c0ad0bd4c1ac55cc9f1c0d77dc6be2eed9ef0027027a5dcef7575f860899

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