Skip to main content

xarray interface to spherical harmonic transform

Project description

Xspharm Package

PyPI Version Documentation Status

Overview

Xspharm is an xarray-compatible library that facilitates spherical harmonic transforms. It leverages the computational efficiency of pyspharm and the convenience of xarray data structures to provide an intuitive interface for processing geospatial data on a spherical domain.

Features

Xspharm provides a suite of methods to manipulate and transform geospatial datasets:

  • truncate: Reduces the resolution of a data variable or an entire dataset to a specified spherical harmonic wavenumber.

  • exp_taper: Applies tapering to mitigate the Gibbs phenomenon in spherical harmonic coefficients.

  • uv2sfvp: Transforms zonal (u) and meridional (v) wind components into streamfunction (sf) and velocity potential (vp).

  • uv2vordiv: Converts zonal (u) and meridional (v) wind components to vorticity and divergence fields.

  • uv2absvor: Changes zonal (u) and meridional (v) wind components to absolute vorticity.

  • sf2uv: Derives rotational wind components from a given streamfunction.

  • vp2uv: Obtains divergent wind components from velocity potential.

  • sfvp2uv: Integrates streamfunction and velocity potential to produce zonal (u) and meridional (v) wind components.

Credits

Special thanks to Jeff Whitaker for sharing the pyspharm library, which forms the foundation of this package’s capabilities; and to Andrew Dawson for inspiring with the windspharm library.

History

0.1.0 (2023-11-02)

  • First release on PyPI.

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

xspharm-0.1.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

xspharm-0.1.0-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xspharm-0.1.0.tar.gz.

File metadata

  • Download URL: xspharm-0.1.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for xspharm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7896f5bba568698f2b186ea123d737235d1f704c5a9e152e1168544e31501b55
MD5 654a7ca6a2997bcfbdc4da1643d59a5f
BLAKE2b-256 520f5a15af332f7bc0da7659fa0bca3c6da7150240deeec26a858098c9c4e53b

See more details on using hashes here.

File details

Details for the file xspharm-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: xspharm-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for xspharm-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63a4b7522d15555be4424cbe845112bb8c9c7540a8de55e0945ba9a430f15f58
MD5 61e0c90661db5dbf142a71673e93edd0
BLAKE2b-256 6c04476eba559a85a21d7f9701bee80157c4e533bdb6e3deae24e6c18bf30fe9

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