windkit.spatial.is_point

windkit.spatial.is_point(obj)[source]

Check if WindKit xarray object has ‘point’ spatial dimension. Meaning one dimension with ‘west_east’, ‘south_north’, and ‘height’ coordinate variables along it.

Parameters:

obj (xarray.DataSet, xarray.DataArray) – object to check for ‘point’ dimension.

Returns:

True if ‘point’ dimension exists. False otherwise.

Return type:

bool