datapoints = collection.load("2023-05-01 12:45:33.423")

n_deleted = collection.delete(datapoints)
def Collection.delete(datapoints: xr.Dataset) -> int

Delete datapoints from the collection.

Datapoints are identified and deleted by their ids.

You need to have write permission on the collection to be able to delete datapoints.

Parameters

datapoints
xr.Dataset

An xarray.Dataset containing an “id” variable consisting of datapoint IDs to delete.

Returns

The number of datapoints that were deleted.

datapoints = collection.load("2023-05-01 12:45:33.423")

n_deleted = collection.delete(datapoints)