datacube.index._datasets.DatasetResource.add_location

DatasetResource.add_location(id_, uri)[source]

Add a location to the dataset if it doesn’t already exist.

Parameters
  • str] id (typing.Union[UUID,) – dataset id

  • uri (str) – fully qualified uri

Returns bool

Was one added?