datacube.index.abstract.AbstractDatasetResource.remove_location#

abstract AbstractDatasetResource.remove_location(id_, uri)[source]#

Remove a location from the dataset if it exists.

Parameters:
  • id – dataset id

  • uri (str) – fully qualified uri

Return type:

bool

Returns:

True if location was removed, false if it didn’t exist for the database