Skip to main content

windspharm - spherical harmonic vector wind analysis in Python

Build Status 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.8 or higher), but for full functionality (meta-data interfaces) one or more of iris, xarray or the cdms2 module (from UV-CDAT is required. The setuptools package is required for installation. windspharm runs on Python 2 and 3.

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 UV-CDAT/iris/xarray to use windspharm? No. All the computation code uses numpy only. The iris, xarray and cdms2 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 from the source distribution. Download the archive, unpack it, then enter the source directory and use:

python setup.py install

Metadata

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

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / windspharm-syl-1.7.0.tar.gz

Download URL windspharm-syl-1.7.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
bca7b6132e63f0f4736401a70417704cc5fdc254f4b4ea1d1b3522c1f3c6cd8f
BLAKE2b-256 checksum
How to use checksums
a8911836442bf830ac673a6d7b3f1c3a85ea7ce7a9fa98b9ee85c2a85650641e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / windspharm_syl-1.7.0-py3-none-any.whl

Download URL windspharm_syl-1.7.0-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e65b5fc720e3d03015ea4ff0d0f9e6a06ae6410a0c8c9ebba307da21d250b8ac
BLAKE2b-256 checksum
How to use checksums
020bc204aadff9ac19546f6dd697bc0ab585d52a3e73d9fd6b394fb0e3c5cd7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

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

Release history Release notifications | RSS feed

This release

1.7.0 This release

2 release files No provenance

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