datacube.Datacube.list_products#

Datacube.list_products(with_pandas=True, dataset_count=False)[source]#

List all products in the datacube. This will produce a pandas.DataFrame or list of dicts containing useful information about each product, including:

‘name’ ‘description’ ‘license’ ‘default_crs’ or ‘grid_spec.crs’ ‘default_resolution’ or ‘grid_spec.crs’ ‘dataset_count’ (optional)

Parameters
  • with_pandas (bool) – Return the list as a Pandas DataFrame. If False, return a list of dicts.

  • dataset_count (bool) – Return a “dataset_count” column containing the number of datasets for each product. This can take several minutes on large datacubes. Defaults to False.

Returns

A table or list of every product in the datacube.

Return type

pandas.DataFrame or list(dict)