Working With Xarray and WindKit#

PyWAsP uses WindKit’s data structures built on xarray. Before diving into PyWAsP workflows, we recommend familiarizing yourself with these foundations.

Key concepts:

  • Data is stored in xarray.Dataset and xarray.DataArray objects

  • Labeled dimensions enable selection by name rather than index

  • Coordinates automatically align and broadcast

  • Attributes attach metadata directly to data

See also

User Guide

Complete introduction to WindKit capabilities and I/O formats.

Spatial

Spatial structures (point, raster, cuboid) and coordinate reference systems.

Wind Climates

Working with wind climate data (TSWC, BWC, WWC, GWC).

Topography

Working with elevation, roughness, and land cover data.

Quick overview

Xarray’s official quick overview for new users.