windkit.spatial.BBox.from_ds

classmethod BBox.from_ds(ds)[source]

Create a bounding box object from a WindKit Dataset.

Parameters:

ds (xarray.Dataset) – WindKit formatted GIS dataset.

Returns:

A bounding box of the dataset.

Return type:

BBox