vector wind analysis in spherical coordinates
Project description
windspharm - spherical harmonic vector wind analysis in Python
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file windspharm-syl-1.7.0.tar.gz
.
File metadata
- Download URL: windspharm-syl-1.7.0.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bca7b6132e63f0f4736401a70417704cc5fdc254f4b4ea1d1b3522c1f3c6cd8f |
|
MD5 | ddef327165321878f267b3b8e9198cfc |
|
BLAKE2b-256 | a8911836442bf830ac673a6d7b3f1c3a85ea7ce7a9fa98b9ee85c2a85650641e |
File details
Details for the file windspharm_syl-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: windspharm_syl-1.7.0-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65b5fc720e3d03015ea4ff0d0f9e6a06ae6410a0c8c9ebba307da21d250b8ac |
|
MD5 | 5dbe417f7b6750f72205e7089071f466 |
|
BLAKE2b-256 | 020bc204aadff9ac19546f6dd697bc0ab585d52a3e73d9fd6b394fb0e3c5cd7e |