datacube.index._datasets.DatasetResource.archive_location

DatasetResource.archive_location(id_, uri)[source]

Archive a location of the dataset if it exists.

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

  • uri (str) – fully qualified uri

Return bool

location was able to be archived