Installation#
System Requirements#
Python 3.9 or higher
Windows, macOS, or Linux
Installation Methods#
From PyPI (Recommended)#
pip install skyborn
Development Installation#
For development or to get the latest features:
# Clone the repository
git clone https://github.com/QianyeSu/skyborn.git
cd skyborn
# Install in development mode
pip install -e .
From Git Repository#
Install directly from GitHub:
pip install git+https://github.com/QianyeSu/skyborn.git
With Optional Dependencies#
Install specific dependency groups:
# Optional CDO bridge on supported wheel platforms
pip install "skyborn[cdo]"
# Optional GRIB backends
pip install "skyborn[grib]"
# For development
pip install "skyborn[dev]"
# For documentation building
pip install "skyborn[docs]"
Conda Installation#
Skyborn can also be installed using conda:
conda install -c conda-forge skyborn
Verify Installation#
Test your installation:
import skyborn as skb
print(skb.__version__)
# Test a basic function
import numpy as np
x = np.linspace(-3, 3, 100)
pdf = skb.gaussian_pdf(0, 1, x)
print("Installation successful!")
Dependencies#
Core dependencies: * numpy * pandas * xarray * matplotlib * scipy * netCDF4 * metpy * scikit-learn * dask * statsmodels * tqdm
Optional dependencies:
* seaborn (for enhanced plotting)
* cartopy (for geographic plotting)
* cfgrib and eccodes (for GRIB file handling)
* skyborn-cdo (via skyborn[cdo] on supported platforms)
Troubleshooting#
If you encounter issues:
Import errors: Make sure all dependencies are installed
GRIB support: Install
skyborn[grib]or installcfgribandeccodesmanuallyPlotting issues: Install cartopy and seaborn for full plotting functionality
For support, please visit our GitHub repository.