Product Writing#

When connected to an ODC Database, these methods are available for altering information about Products:

dc = Datacube()
dc.index.products.{method}

from_doc(definition[, metadata_type_cache])

Construct unpersisted Product model from product metadata dictionary

add(product[, allow_table_lock])

Add a product to the index.

update(metadata_type[, ...])

Persist updates to a product.

update_document(definition[, ...])

Update a metadata type from a document.

add_document(definition)

Add a Product using its definition