Skip to main content

Skyborn Logo

PyPI version PyPI - Python Version PyPI - Downloads License Tests Platform Code style Build Status Documentation DOI

Architecture & Platform Support

Skyborn is a pure-Python orchestration toolkit (py3-none-any wheel, built with hatchling) powered by self-contained Pure-Rust compiled backend packages:

Package Latest Role Key Capabilities
skyborn-backend PyPI Computational kernels (_backend_rs, PyO3 + Rayon) Mann-Kendall & Theil-Sen batch, GPI / CAPE / DCAPE / SRH, Poisson & SphericalPlan gridfill, hybrid-to-pressure & bilinear/conservative regridding, Eady growth rate, Lanczos filter, Liang/Granger causality
skyborn-spharm PyPI Spherical harmonic transforms (_spharm_rs, faer + rustfft) Zero-copy C-order & South-to-North (S2N) transforms, native float32/float64, ultra-high-res F480 (960×1920), packed reduced Gaussian grids (O80–O1280), drop-in pyspharm & VectorWind compatibility
skyborn-plot PyPI Vector & contour plotting (_plot_rs) NCL-style curly_vector integration, batched glyph tracing & candidate thinning, swept & open contour arrow heads, ref_length_px cross-panel key scaling
skyborn-cdo (optional [cdo]) PyPI Bundled CDO CLI wrapper Pre-compiled Climate Data Operators (cdo) binary & shared libraries

Skyborn Pure-Python and Pure-Rust Ecosystem Architecture

  • Cross-Platform First-Class Support: Linux (manylinux2014 x86_64), macOS (arm64 / x86_64), and Windows (win_amd64), across Python 3.9+.
  • Zero Compiler or Fortran Runtime Dependencies: Installing skyborn requires no gfortran, libgfortran, Cython, or Meson toolchain.

Installation

Install skyborn and its Pure-Rust backends via pip:

pip install skyborn

To also install the optional bundled CDO binary (skyborn-cdo, supported on Linux x86_64, macOS arm64, and Windows AMD64):

pip install "skyborn[cdo]"

For GRIB support (cfgrib + eccodes):

pip install "skyborn[grib]"

Documentation

Full documentation is available at: Documentation

Key Features & Submodules

Spatial Trend Analysis & Climate Index Regression

Skyborn provides high-throughput spatial trend calculation, multidimensional Mann-Kendall testing, and climate index regression analysis for atmospheric datasets:

Precipitation Trends Comparison

Key Capabilities:

  • Multidimensional Mann-Kendall & Theil-Sen Batch Kernels: Supports original, Yue-Wang, Hamed-Rao, seasonal, correlated seasonal, grouped multivariate, regional, correlated multivariate, and partial Mann-Kendall workflows across (time, lat, lon) and (time, level, lat, lon) NumPy, xarray, and Dask arrays.
  • Linear Trend & Climate Index Regression: Vectorized slope, correlation, and significance testing with NINO 3.4, PDO, NAO, and AMO indices.

Skyborn Windspharm & Spharm Submodules

skyborn.spharm and skyborn.windspharm delegate directly to skyborn-spharm (_spharm_rs), delivering zero-copy C-order and S2N transforms for global rotational/divergent wind diagnostics (streamfunction, velocity potential, vorticity, divergence, Rossby wave source):

Streamfunction and Velocity Potential

Skyborn Gridfill Submodule

skyborn.gridfill provides physically consistent Poisson and spectral spherical-harmonic (SphericalPlan) gap filling for gridded atmospheric and oceanic datasets:

Gridfill Missing Data Interpolation

Curly Vector Plotting

skyborn.plot.curly_vector provides an NCL-like curved-vector renderer for Matplotlib and Cartopy axes across regular lat-lon, curvilinear (WRF), and vertical latitude-pressure cross-sections:

Curly Vector WRF Example

Curly Vector Vertical Profile Example

import cartopy.crs as ccrs
import matplotlib.pyplot as plt
from skyborn.plot import curly_vector

fig = plt.figure(figsize=(12, 6))
ax = plt.axes(projection=ccrs.Robinson(central_longitude=180))

curly_vector(
    ds,
    x="longitude",
    y="latitude",
    u="u",
    v="v",
    ax=ax,
    transform=ccrs.PlateCarree(),
    density=0.9,
    color="black",
    arrowstyle="->",
    linewidth=1.2,
    arrowsize=1.2,
    zorder=3,
    integration_direction="both",
    ref_magnitude=30.0,
    ref_length=0.1,
)
ax.coastlines()
ax.set_global()

Pure-Rust Performance Highlights

Measured on Apple M5 (arm64, 10 CPU, 32 GB RAM) comparing Pure-Rust releases against legacy Fortran/C/Cython and external Python libraries (pymannkendall, tcpyPI):

Skyborn Pure-Rust Ecosystem Performance Benchmarks

  • Climate Trend & Causality (skyborn-backend): Up to 633.3× faster Mann–Kendall Hamed–Rao and 566.9× faster Original MK than pymannkendall with exact tau/z parity (0.0 diff), plus 19.73× faster Sen's slope batches and 9.77× faster Poisson gridfill than legacy Cython.
  • Tropical Cyclone Intensity & Thermo (skyborn-backend): 11.22× faster gridded GPI than tcpyPI (2.33 ms vs 26.18 ms on 2,048 profiles) with Emanuel JMIN numerical parity (1.57e-4 m/s max vmax diff), sustaining 533,941 profiles/s on global 2.5° grids.
  • Spherical Harmonics & Plotting (skyborn-spharm / skyborn-plot): Sub-millisecond to few-millisecond S2N C-order transforms supporting F480 (960×1920) and O80–O1280 reduced Gaussian grids, paired with up to 24.80× faster contour/curly-vector geometry kernels.

Citation

If you use Skyborn in your research, please cite it using the following format:

@software{su2025skyborn,
  author = {Su, Qianye},
  title = {Skyborn: Climate Data Analysis Toolkit},
  year = {2025},
  doi = {10.5281/zenodo.18075252},
  url = {https://doi.org/10.5281/zenodo.18075252}
}

Or in text:

Su, Q. (2025). Skyborn: Climate Data Analysis Toolkit. Zenodo. https://doi.org/10.5281/zenodo.18075252

Metadata

Release files for skyborn 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skyborn 0.5.1
File Size Uploaded Provenance Actions
skyborn-0.5.1.tar.gz 181.4 kB With provenance Details for skyborn-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 388.7 kB

Release files / skyborn-0.5.1.tar.gz

Download URL skyborn-0.5.1.tar.gz
Size 181.4 kB
Tags Source
SHA-256 checksum
How to use checksums
10351fa36d8845e1ed79b537742c82653cec966a3d4ad70f2632c2ceb4b5ebdc
BLAKE2b-256 checksum
How to use checksums
ba277454363e54ba6a5433e647f1323f5b29016f5c2525615904fd6baa341aa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / skyborn-0.5.1-py3-none-any.whl

Download URL skyborn-0.5.1-py3-none-any.whl
Size 207.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f9c7f81a354c09c69ab58ce641ec961e9f566e9493f5f56a14a75c116d92f96
BLAKE2b-256 checksum
How to use checksums
57afd69663e951bad1c3e357feb3d5f706fe34b9c55e1b6f907b66599249cca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for skyborn 0.5.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for skyborn-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

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

0.5.1 This release

2 release files Full 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