Skip to main content

windspharm - spherical harmonic vector wind analysis in Python

DOI (paper) DOI (latest release)

Overview

windspharm is a Python package for computing quantities derived from global wind fields using spherical harmonics, licensed under the MIT license. windspharm provides a user-friendly interface for vector wind computations on the sphere (e.g., divergence, streamfunction etc.). It is based on the pyspharm module. windspharm provides a replacement for the windfield package from CDAT.

Requirements

windspharm only requires numpy and pyspharm (version 1.0.9 or higher), but for full functionality (meta-data interfaces) one or both of iris and/or xarray are required.

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 windspharm 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).

Frequently asked questions

  • Do I need iris/xarray to use windspharm? No. All the computation code uses numpy only. The iris and/or xarray modules are only required for the meta-data preserving interfaces.
  • Is windspharm a drop in replacement for windfield? No. Because windspharm was written from scratch the naming conventions for methods are different. Some new methods have been added compared to windfield, and some methods from windfield do not exist in windspharm.

Installation

The easiest way to install is via conda:

conda install -c conda-forge windspharm

You can also install with pip::

python -m pip install windspharm

Metadata

Release files for windspharm 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 windspharm 2.0.0
File Size Uploaded Provenance Actions
windspharm-2.0.0.tar.gz 1.9 MB Without provenance Details for windspharm-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / windspharm-2.0.0.tar.gz

Download URL windspharm-2.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
8051cbd33645e5b3a0e1d26f0ee9f116126a494bce6bbc16b0bd4179fed21bc0
BLAKE2b-256 checksum
How to use checksums
c540c7e0e97d211ab985f3252b7fa0dabbe1f65321b78e47555e5c2b6f19eb37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

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

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

Security for windspharm 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.

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