Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0rc1

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.0rc1
File Size Uploaded
windkit-2.2.0rc1.tar.gz 397.4 kB Details

Built distribution (wheel)

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

Total release size: 835.9 kB

Release files / windkit-2.2.0rc1.tar.gz

Download URL windkit-2.2.0rc1.tar.gz
Size 397.4 kB
Tags Source
SHA-256 checksum
How to use checksums
39b4fbf707a16d3d067414914cc314d820206984dced351f19df1cf6490f597a
BLAKE2b-256 checksum
How to use checksums
080d9d3e49f97ff7ef4fa907cd205348c7294b8700daba6b99c8fef95337f21e
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.0rc1-py3-none-any.whl

Download URL windkit-2.2.0rc1-py3-none-any.whl
Size 438.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe218f67793dcd208a4773d4e51e140cb48804154de2d66960b9716750c81c4
BLAKE2b-256 checksum
How to use checksums
50b0777ecffcca8653823a2fe8f8108adb41376e941966c14279af09b5c5d844
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