Dataset Writing#
When connected to an ODC Database, these methods are available for adding, updating and archiving datasets:
dc = Datacube()
dc.index.datasets.{method}
|
Add |
|
Add a location to the dataset if it doesn't already exist. |
|
Mark datasets as archived |
|
Archive a location of the dataset if it exists and is active. |
|
Remove a location from the dataset if it exists. |
|
Mark datasets as not archived |
|
Un-archive a location of the dataset if it exists. |
|
Update dataset metadata and location :param Dataset dataset: Dataset model with unpersisted updates :type updates_allowed: |