Skip to main content

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.

Release files for eofs 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eofs 2.0.0
File Size Uploaded
eofs-2.0.0.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for eofs 2.0.0
File Interpreter ABI Platform
eofs-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / eofs-2.0.0.tar.gz

Download URL eofs-2.0.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
4afecba7dd8076399803b71570d96a12dce237615c6317685f83a206fe70ee57
BLAKE2b-256 checksum
How to use checksums
863645486898340e705cf568c408b0c7a182bad15eeebb068ff98eabe083260b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / eofs-2.0.0-py3-none-any.whl

Download URL eofs-2.0.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a5a045ac044cdf3a8f6607b5fde092b9a92bf7231ae57ecf3803e35287667c55
BLAKE2b-256 checksum
How to use checksums
88e9c0ad0bd4c1ac55cc9f1c0d77dc6be2eed9ef0027027a5dcef7575f860899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.4.1

2 release files

1.4.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page