windkit.spatial.create_cuboid

windkit.spatial.create_cuboid(west_east, south_north, height, crs)[source]

Create a WindKit cuboid dataset given a set of locations.

Parameters:
  • west_east (array_like) – 1D array of west_east locations of interest

  • south_north (array_like) – 1D array of south_north locations of interest

  • height (array_like) – Array of heights to create in output WindKit xarray dataset

  • crs (int, dict, str or pyproj.crs.CRS) – Value to initialize pyproj.crs.CRS

Returns:

WindKit formated zero-filled Dataset with one variable “output” and with the grid dimensions specified

Return type:

xarray.Dataset

Notes

This function will create a WindKit formatted dataset including all of the geospatial information that is desired.