windkit.spatial.is_cuboid

windkit.spatial.is_cuboid(obj)[source]

Check if WindKit xarray object has cuboid dimensions. Meaning dimensions in the west_east, south_north, and height-directions.

Parameters:

obj (xarray.DataSet, xarray.DataArray) – object to check for cuboid dimensions.

Returns:

True if cuboid dimensions exists. False otherwise.

Return type:

bool