Functions and Classes Reference#
This page provides a comprehensive list of all functions and classes available in Skyborn, organized by module for easy navigation.
Core Calculations#
Atmospheric Physics Functions#
Function |
Description |
|---|---|
WMO tropopause calculation for multi-dimensional data |
|
WMO tropopause calculation for single atmospheric profiles |
|
Xarray interface for tropopause calculation with automatic pressure generation |
|
Chemke-style baroclinic normal-mode growth-rate diagnostic with automatic WMO tropopause gridding |
|
Chemke-style barotropic normal-mode growth-rate diagnostic from a horizontal zonal-wind profile |
|
Geostrophic wind calculation from geopotential height (NumPy interface) |
|
Class-based interface for geostrophic wind calculations |
|
Xarray interface for geostrophic winds with automatic coordinate detection |
|
Xarray-based class interface for geostrophic wind analysis |
|
Calculate tropical cyclone potential intensity (NumPy interface) |
|
Xarray interface for potential intensity with automatic unit conversion |
Statistical Functions#
Function |
Description |
|---|---|
Linear regression analysis |
|
Spatial correlation analysis between gridded data and time series |
|
Pearson correlation coefficient |
|
Spearman rank correlation |
|
Kendall’s tau correlation |
|
Potential temperature calculation |
|
Longitude coordinate conversion |
Emergent Constraints#
Function |
Description |
|---|---|
Gaussian probability density function |
|
Posterior probability calculation |
|
Prior probability calculation |
|
Gaussian PDF calculation |
|
Emergent constraint PDF |
|
Standard deviation from PDF |
|
Prior PDF for emergent constraints |
Trend Analysis#
Function |
Description |
|---|---|
Mann-Kendall trend test |
|
Multidimensional trend analysis |
|
Xarray Mann-Kendall implementation |
|
Comprehensive trend analysis |
GridFill - Atmospheric Data Interpolation#
Core GridFill Functions#
Function |
Description |
|---|---|
Fill missing data using Poisson grid filling |
Xarray GridFill Interface#
Function |
Description |
|---|---|
Xarray interface for data filling |
|
Fill multiple variables |
|
Validate grid coverage |
Interpolation and Regridding#
Regridding Classes#
Class |
Description |
|---|---|
Grid definition class |
|
Base regridding class |
|
Nearest neighbor regridding |
|
Bilinear interpolation regridding |
|
Conservative regridding |
Interpolation Functions#
Function |
Description |
|---|---|
One-dimensional pressure-coordinate interpolation with linear and log-pressure modes |
|
Hybrid to pressure interpolation |
|
Diagnose pressure on hybrid model levels |
|
Diagnose layer thickness between hybrid model levels |
|
Sigma to hybrid interpolation |
|
Multidimensional interpolation |
|
Find nearest neighbor indices |
|
Regrid entire dataset |
|
Curvilinear grid to scattered points (nearest neighbor) |
|
Curvilinear grid to rectilinear lat/lon grid regridding |
|
Rectilinear lat/lon grid to curvilinear grid regridding |
|
Convert a 2D rectilinear grid to unstructured triples (x, y, value) |
|
Place unstructured triples onto a rectilinear grid (nearest neighbor) |
Spatial Gradients#
Gradient Functions#
Function |
Description |
|---|---|
Calculate spatial gradients |
|
Meridional gradient calculation |
|
Zonal gradient calculation |
|
Vertical gradient calculation |
Plotting and Visualization#
Core Plotting Functions#
Function |
Description |
|---|---|
Add a new Axes with equal height or width next to the original Axes |
|
Create a figure with specified size and DPI |
Specialized Plotting#
Function |
Description |
|---|---|
Plot NCL-like curly vectors from either NumPy-style x/y/u/v arrays or xarray datasets |
|
Add an NCL-like reference-vector annotation matched to curly-vector scaling |
|
Plot Matplotlib-compatible scatter points with optional NCL-style display-space thinning for gridded stippling masks |
Causality Analysis#
Causality Functions#
Function |
Description |
|---|---|
Granger causality analysis |
|
Liang information flow analysis |
Spherical Harmonics#
Spherical Harmonics Functions#
Function |
Description |
|---|---|
Main class for spherical harmonic transforms with grid-spectral conversions |
|
Experimental packed reduced-Gaussian spherical harmonic transform interface |
|
Compute gaussian latitudes (in degrees) and quadrature weights for spherical grids |
|
Spectral re-gridding with optional smoothing and/or truncation for data interpolation |
|
Compute indices of zonal wavenumber and degree for complex spherical harmonic coefficients |
|
Compute points on sphere surface corresponding to icosahedral geodesic |
|
Compute associated Legendre functions for spherical harmonic calculations |
|
Spectral interpolation to arbitrary point on sphere given harmonic coefficients |
Windspharm Analysis#
Standard Interface#
Note
The following table provides quick reference to windspharm methods. For detailed documentation and proper linking, see the Windspharm page.
Class/Method |
Description |
|---|---|
Standard vector wind analysis interface |
|
Wind magnitude computation |
|
Relative vorticity calculation |
|
Horizontal divergence calculation |
|
Combined vorticity and divergence |
|
Planetary vorticity (Coriolis parameter) |
|
Absolute vorticity (relative + planetary) |
|
Stream function calculation |
|
Velocity potential calculation |
|
Combined stream function and velocity potential |
|
Helmholtz decomposition of wind field |
|
|
Irrotational (divergent) wind component |
|
Non-divergent (rotational) wind component |
Gradient of scalar field |
|
Spectral truncation of wind field |
|
Rossby wave source calculation |
Xarray Interface#
Class/Method |
Description |
|---|---|
Xarray-based vector wind analysis interface |
|
Wind magnitude with xarray metadata preservation |
|
Relative vorticity with CF-compliant attributes |
|
Horizontal divergence with coordinate preservation |
|
Vorticity and divergence with metadata |
|
Planetary vorticity with coordinate information |
|
Absolute vorticity with full metadata |
|
Stream function with CF attributes |
|
Velocity potential with metadata preservation |
|
Stream function and velocity potential |
|
Helmholtz decomposition with xarray |
|
|
Irrotational component with coordinates |
|
Non-divergent component with metadata |
Gradient computation with coordinate preservation |
|
Spectral truncation with xarray |
|
Rossby wave source with CF-compliant output |
|
Stream function with CF attributes |
|
Velocity potential with metadata preservation |
|
Stream function and velocity potential |
|
Helmholtz decomposition with xarray |
|
|
Irrotational component with coordinates |
|
Non-divergent component with metadata |
Gradient computation with coordinate preservation |
|
Spectral truncation with xarray |
|
Rossby wave source with CF-compliant output |
Utility Functions#
Function |
Description |
|---|---|
Prepare data arrays for VectorWind input |
|
Restore original data shape and dimension order |
|
Create recovery function for multiple arrays |
|
Reverse latitude dimension order |
|
Ensure north-to-south latitude ordering |
Documentation Structure Guide#
Complete Page Reference#
Page/Section |
Content & Purpose |
|---|---|
Main Documentation Pages |
|
Main documentation homepage |
|
Installation instructions |
|
Quick start guide |
|
This page - complete function reference |
|
Contribution guidelines |
|
Version history and changes |
|
API Reference |
|
API documentation overview |
|
Statistical and calculation functions |
|
Mann-Kendall trend analysis |
|
Causality analysis methods |
|
Grid interpolation functions |
|
Regridding and interpolation |
|
Spatial gradient calculations |
|
Visualization functions |
|
Spherical harmonics analysis |
|
Vector wind analysis |
|
Tutorials & Examples |
|
Jupyter notebook tutorials overview |
|
GridFill interpolation tutorial |
|
Tutorial: Mann-Kendall Trend Analysis with Real GPCP Precipitation |
Trend analysis tutorial |
Vector wind analysis tutorial |
|
Emergent constraints tutorial |
|
Module Documentation |
|
Auto-generated module index |
|
Complete module structure |
Function Usage Categories#
Function/Class |
Usage Category & Description |
|---|---|
Atmospheric Physics |
|
Multi-dimensional WMO tropopause calculation |
|
Single profile tropopause identification |
|
Xarray tropopause analysis with auto pressure generation |
|
Statistical Analysis |
|
Correlation analysis |
|
Non-parametric correlation |
|
Spatial correlation patterns |
|
Regression analysis |
|
Probability distributions |
|
Trend Analysis |
|
Single series trend detection |
|
Multidimensional trend analysis |
|
Comprehensive trend analysis |
|
Data Processing |
|
Missing data interpolation |
|
Xarray data filling |
|
Spatial Analysis |
|
Spatial derivatives |
|
Meridional gradients |
|
Zonal gradients |
|
Causality Analysis |
|
Information flow analysis |
|
Granger causality testing |
|
Vector Analysis |
|
Standard vector wind analysis |
|
Xarray-based vector analysis |
|
Emergent Constraints |
|
Posterior distributions |
|
Prior distributions |
Note
This page provides a comprehensive list of all functions and classes available in Skyborn. Each entry links to detailed API documentation with parameter descriptions, examples, and usage guidelines.
Tip
Quick Navigation: Use Ctrl+F (Cmd+F on Mac) to quickly search for specific functions or keywords within this page. You can also use the Quick Navigation menu above to jump to different sections.