eofs - EOF analysis in Python
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eofs-2.0.0.tar.gz | 1.0 MB | Without provenance | Details for eofs-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eofs-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for eofs-2.0.0-py3-none-any.whl |
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
|
Security for eofs 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.