Skip to main content

A library to add a configuration file to your project

Project description

WindKit

WindKit provides the following core sets of functionalities for working with wind resource data:

  • Read and write common data formats, and provide support for self-describing formats
  • Create commonly used plots
  • Perform common spatial data manipulation
  • Perform common calculations

File Read and Write

Wind climates

WindKit can read many common wind climate and map formats into common scientific python data structures, provided by the xarray and geopandas projects. WindKit makes use of xarray’s self-documenting data structure to provide common metadata to all data structures, and by allowing output and input in the NetCDF and Zarr formats, the metadata can be preserved on disk as well.

Maps

Maps in WindKit can be either vector maps or raster maps. Vector maps are the traditional maps used in WAsP and other wind resource assessment tools, while raster maps are often obtained through satellite data. Both types of maps can be used to represent either elevation or land-cover classes. A land-cover class map should be combined with a land-cover table, to provide a mapping between the class and various aerodynamic properties. Currently there is support for displacement height and roughness lengths.

WAsP Workspace

In addition to reading files directly from disk, WindKit can read WAsP Workspace files and to extract various data structures from that format. However, it only supports the most recent versions of the Workspace format, so for older Workspaces, you will need to import them into WAsP 12 first and then save the workspace again. Additionally, WindKit cannot yet work with WAsP 12.7 files that include landcover maps.

Plotting

WindKit provides two types of plotting functionality, the main plotting functionality is statistical plots using plotly, which allows for interactive plots via Javascript. These plots work both in web pages and Jupyter Notebooks, andNotebooks and can be saved in many common image formats. Additionally a convenience script for plotting maps is provided, which allows you to create plots with overlays to mark areas of interest.

Spatial Processing

In WindKit the spatial dimension is treated as a first-class object, and a lot of functionality is based around this. All objects must have a defined coordinate reference system, this allows data from different projections to be utilized together. Any wind climate object in WindKit can be represented with three different spatial structures: "point", "stacked point", and "cuboid". This provides a lot of flexibility to handle different types of wind resource data, e.g., a LIDAR plane or resource grid can be represented as a cuboid object, while a collection of masts with the same heights can be represented as a stacked point object. All objects can be converted to point representations allowing for common processing. All spatial objects can be masked, clipped, and reprojected to ensure the right region is used for any analysis.

Common processing

WindKit can perform many common functions that are part of wind resource assessment workflow. These include: converting between vector and speed/direction representations of the wind, fitting Weibull distributions; calculating important statistics from wind climates.

Documentation

You can find the full documentation for WindKit at https://docs-wasp.ramtt.xyz/windkit. There is also a WAsP Python tools forum, where you can ask questions or help other users.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windkit-0.5.0.tar.gz (168.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windkit-0.5.0-py3-none-any.whl (123.1 kB view details)

Uploaded Python 3

File details

Details for the file windkit-0.5.0.tar.gz.

File metadata

  • Download URL: windkit-0.5.0.tar.gz
  • Upload date:
  • Size: 168.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for windkit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4be93e981b630bd96d619581d26aa11a133e6e8aa577124314669c9f1a33a2c1
MD5 c0ebefb80f9162f838eaa10055af77bc
BLAKE2b-256 55201fdc21d65110e12c791577e8f64306982ea1f92d0b5c8bafb35571e96d03

See more details on using hashes here.

File details

Details for the file windkit-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: windkit-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 123.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for windkit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1df0277fd1b965e2c79544d8d716314b23e4715edf24a8670eaee839c90f3a6
MD5 f5a7e9dc785577eead7a01d4496db846
BLAKE2b-256 08f6053e9bf57aed2726f6bc0f3ec7cedb19e4a6f37acc2038f545410e0772f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page