Skip to main content
Ctrl+K
Open Data Cube 1.9 documentation - Home Open Data Cube 1.9 documentation - Home
  • Overview
  • Setup
  • Analysis
  • API
  • About
  • GitHub
  • Discord
  • Overview
  • Setup
  • Analysis
  • API
  • About
  • GitHub
  • Discord

Section Navigation

Core Classes & Data Model

  • Datacube Class
  • Dataset
  • Product
  • Geometry Classes
  • Measurement
  • Metadata Type
  • LineageTree
  • Range
  • Query

Querying & Loading Data

  • Dataset & Product Discovery
  • Dataset Querying
  • Product Querying
  • Data Loading
  • Masking

Managing Data

  • Dataset Writing
  • Product Writing
    • datacube.index.abstract.AbstractProductResource.from_doc
    • datacube.index.abstract.AbstractProductResource.add
    • datacube.index.abstract.AbstractProductResource.update
    • datacube.index.abstract.AbstractProductResource.update_document
    • datacube.index.abstract.AbstractProductResource.add_document
  • Index API

Configuration API

  • Configuration API

Utilities

  • Amazon Web Services (AWS)
  • Writing GeoTIFFs
  • Dask
  • Geometry
  • API
  • Product Writing
  • datacube.index.abstract.AbstractProductResource.add_document

datacube.index.abstract.AbstractProductResource.add_document#

AbstractProductResource.add_document(definition)[source]#

Add a Product using its definition

Parameters:

definition (dict[str, None | bool | str | float | int | list[None | bool | str | float | int | list[JsonLike] | dict[str, JsonLike]] | dict[str, None | bool | str | float | int | list[JsonLike] | dict[str, JsonLike]]]) – product definition document

Return type:

Product | None

Returns:

Persisted Product model

On this page
  • AbstractProductResource.add_document()
Edit on GitHub

Built with the PyData Sphinx Theme 0.16.1.