windkit.metadata.update_history

windkit.metadata.update_history(ds)[source]

Update history global attribute.

Updates the global history attribute for a xarray Dataset.

Parameters:

ds (xarray.Dataset) – WindKit Dataset to be updated.

Returns:

The same Dataset with updated attribute.

Return type:

xarray.Dataset