Skip to main content

WindKit

pipeline status coverage release License: BSD-3-Clause Python 3.11+ Docs

PyPI Downloads-pypi

WindKit provides core functionalities for working with wind resource data, built on top of xarray and geopandas.

Installation

pip:

pip install windkit

conda:

conda install -c https://conda.windenergy.dtu.dk/channel/open/ -c conda-forge windkit

Quick Start

import windkit as wk

# Read a binned wind climate
bwc = wk.read_bwc("hovsore.tab")

# Calculate mean wind speed
mean_ws = wk.mean_wind_speed(bwc)
print(f"Mean wind speed: {mean_ws.item():.2f} m/s")

# Fit Weibull distribution and convert to Weibull wind climate
wwc = wk.weibull_fit(bwc)

Features

  • Wind Climate I/O - Read/write binned, Weibull, generalized, and time-series wind climates (NetCDF, .tab, .owc, .lib, .gwc, .rsf, .wrg, windIO YAML)
  • Map I/O - Read/write elevation, roughness, and landcover maps (raster and vector formats, including WAsP .map)
  • WAsP Integration - Read the inputs and results of WAsP workspaces (.wwh) and WAsP Engineering project files, with low-level readers for the WAsP file formats
  • Spatial Processing - Clip, reproject, and interpolate spatial data with full CRS support
  • Wind Statistics - Calculate mean wind speed, power density, Weibull parameters, and more
  • Long-Term Correction - Measure-correlate-predict (MCP) methods for time series
  • Losses and Uncertainty - Net AEP and exceedance values (P90) from loss and uncertainty tables
  • Plotting - Interactive plots with Plotly, static plots with Matplotlib
  • Remote Data Access - Download ERA5 reanalysis data and satellite-derived maps

Documentation

Full documentation: docs.wasp.dk/windkit

Community forum: WAsP Python tools

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

BSD-3-Clause - see LICENSE for details.

Metadata

Release files for windkit 2.2.0

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

Source distribution (sdist)

Source distribution for windkit 2.2.0
File Size Uploaded
windkit-2.2.0.tar.gz 397.3 kB Details

Built distribution (wheel)

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

Total release size: 835.8 kB

Release files / windkit-2.2.0.tar.gz

Download URL windkit-2.2.0.tar.gz
Size 397.3 kB
Tags Source
SHA-256 checksum
How to use checksums
53a692d498e3b898523672058a752d4c8b309d44067f68838da1a38ebef86d98
BLAKE2b-256 checksum
How to use checksums
444576392114ceade33ec554a8b46ec9520cd78c48698e6a065b5c55d92e533c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / windkit-2.2.0-py3-none-any.whl

Download URL windkit-2.2.0-py3-none-any.whl
Size 438.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4edadd05ed7d47bd80e6235e6c553d6d0f8e689120c9f29961cddeacc2914956
BLAKE2b-256 checksum
How to use checksums
69b4ea33c265082af8482383aaaa2acdfbf982a0781705475f84ec3ba39e1a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7
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