Skip to main content

vector wind analysis in spherical coordinates

Project description

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

[!CAUTION] Make sure you already have pyspharm dependency installed, as it may fail to install if pip tries to do it.

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

windspharm-2.0.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

windspharm-2.0.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for windspharm-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8051cbd33645e5b3a0e1d26f0ee9f116126a494bce6bbc16b0bd4179fed21bc0
MD5 df048c42d131ac891bc39c88c7aba49a
BLAKE2b-256 c540c7e0e97d211ab985f3252b7fa0dabbe1f65321b78e47555e5c2b6f19eb37

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for windspharm-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4508acfe14216f1539ad1d658ae51df660273e1bbd99ec9c5970ead6de1454
MD5 62a90f40cf37dd3b12331f66d069685f
BLAKE2b-256 d5709fdfc3130b6da1006b1bc0497f0d3e1c92d63e96fb2f9f7ec2f92b70370d

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