ODC installation, Indexing and Ingestion complete for LANDSAT-8 SR products. Now trying to execute notebooks for Cloud statistics computation using data_cube_notebooks Responses of Notebook Cells included below:
#Get available products products_info = dc.list_products() print(products_info) name LS8_Ingested LS8_Ingested name description license LS8_Ingested Landsat 8 USGS Collection 1 Higher Level SR sc... None ls8_l2_c1_scene Landsat 8 USGS Collection 1 Higher Level SR sc... None name default_crs default_resolution LS8_Ingested None None ls8_l2_c1_scene None None
Product definition is loaded from verified already available yaml files. Glimpse attached:
name: ls8_l2_c1_scene description: Landsat 8 USGS Collection 1 Higher Level SR scene proessed using LaSRC. 30m UTM based projection. metadata_type: eo metadata: platform: code: LANDSAT_8 instrument: name: OLI_TIRS product_type: LaSRC format: name: GeoTiff
Trying to list products:
# List LANDSAT 8 products print("LANDSAT 8 Products:") products_info[["platform", "name"]][products_info.platform == "LANDSAT_8"]
KeyError: "['platform'] not in index"
- Output of 'dc.list_products()' is dataframe with index(['name', 'description', 'license', 'default_crs', 'default_resolution'], dtype='object'). Surely there is no platform in index. How to add it then in index?