---
# Metadata Type eo
# url: https://explorer.datacubechile.cl/metadata-types/eo.odc-type.yaml
name: eo
description: "Earth Observation datasets.\n\nExpected metadata structure produced
  by the eodatasets library, as used internally at GA.\n\nhttps://github.com/GeoscienceAustralia/eo-datasets\n"
dataset:
  id:
  - id
  label:
  - ga_label
  format:
  - format
  - name
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - creation_dt
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - image
  - bands
  search_fields:
    lat:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      min_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      min_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - extent
        - to_dt
      - - extent
        - center_dt
      min_offset:
      - - extent
        - from_dt
      - - extent
        - center_dt
      description: Acquisition time
    platform:
      offset:
      - platform
      - code
      description: Platform code
    instrument:
      offset:
      - instrument
      - name
      description: Instrument name
    product_type:
      offset:
      - product_type
      description: Product code
...
---
# Metadata Type eo3
# url: https://explorer.datacubechile.cl/metadata-types/eo3.odc-type.yaml
name: eo3
description: Default EO3 with no custom fields
dataset:
  id:
  - id
  label:
  - label
  format:
  - properties
  - odc:file_format
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - properties
  - odc:processing_datetime
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - measurements
  search_fields:
    lat:
      type: double-range
      max_offset:
      - - extent
        - lat
        - end
      min_offset:
      - - extent
        - lat
        - begin
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - lon
        - end
      min_offset:
      - - extent
        - lon
        - begin
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - properties
        - dtr:end_datetime
      - - properties
        - datetime
      min_offset:
      - - properties
        - dtr:start_datetime
      - - properties
        - datetime
      description: Acquisition time range
    platform:
      offset:
      - properties
      - eo:platform
      indexed: false
      description: Platform code
    instrument:
      offset:
      - properties
      - eo:instrument
      indexed: false
      description: Instrument name
    region_code:
      offset:
      - properties
      - odc:region_code
      description: "Spatial reference code from the provider. For Landsat region_code
        is a scene path row:\n        '{:03d}{:03d}.format(path,row)'.\nFor Sentinel
        it is MGRS code. In general it is a unique string identifier that datasets
        covering roughly the same spatial region share.\n"
    product_family:
      offset:
      - properties
      - odc:product_family
      indexed: false
      description: Product family code
    dataset_maturity:
      offset:
      - properties
      - dea:dataset_maturity
      indexed: false
      description: One of - final|interim|nrt  (near real time)
...
---
# Metadata Type eo3_landsat_ard
# url: https://explorer.datacubechile.cl/metadata-types/eo3_landsat_ard.odc-type.yaml
name: eo3_landsat_ard
description: EO3 for ARD Landsat Collection 3
dataset:
  id:
  - id
  label:
  - label
  format:
  - properties
  - odc:file_format
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - properties
  - odc:processing_datetime
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - measurements
  search_fields:
    gqa:
      type: double
      offset:
      - properties
      - gqa:cep90
      description: GQA Circular error probable (90%)
    lat:
      type: double-range
      max_offset:
      - - extent
        - lat
        - end
      min_offset:
      - - extent
        - lat
        - begin
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - lon
        - end
      min_offset:
      - - extent
        - lon
        - begin
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - properties
        - dtr:end_datetime
      - - properties
        - datetime
      min_offset:
      - - properties
        - dtr:start_datetime
      - - properties
        - datetime
      description: Acquisition time range
    eo_gsd:
      type: double
      offset:
      - properties
      - eo:gsd
      indexed: false
      description: Ground sample distance, meters
    platform:
      offset:
      - properties
      - eo:platform
      indexed: false
      description: Platform code
    gqa_abs_x:
      type: double
      offset:
      - properties
      - gqa:abs_x
      indexed: false
      description: 'TODO: <gqa:abs_x>'
    gqa_abs_y:
      type: double
      offset:
      - properties
      - gqa:abs_y
      indexed: false
      description: 'TODO: <gqa:abs_y>'
    gqa_cep90:
      type: double
      offset:
      - properties
      - gqa:cep90
      indexed: false
      description: 'TODO: <gqa:cep90>'
    fmask_snow:
      type: double
      offset:
      - properties
      - fmask:snow
      indexed: false
      description: 'TODO: <fmask:snow>'
    gqa_abs_xy:
      type: double
      offset:
      - properties
      - gqa:abs_xy
      indexed: false
      description: 'TODO: <gqa:abs_xy>'
    gqa_mean_x:
      type: double
      offset:
      - properties
      - gqa:mean_x
      indexed: false
      description: 'TODO: <gqa:mean_x>'
    gqa_mean_y:
      type: double
      offset:
      - properties
      - gqa:mean_y
      indexed: false
      description: 'TODO: <gqa:mean_y>'
    instrument:
      offset:
      - properties
      - eo:instrument
      indexed: false
      description: Instrument name
    cloud_cover:
      type: double
      offset:
      - properties
      - eo:cloud_cover
      description: Cloud cover percentage [0, 100]
    fmask_clear:
      type: double
      offset:
      - properties
      - fmask:clear
      indexed: false
      description: 'TODO: <fmask:clear>'
    fmask_water:
      type: double
      offset:
      - properties
      - fmask:water
      indexed: false
      description: 'TODO: <fmask:water>'
    gqa_mean_xy:
      type: double
      offset:
      - properties
      - gqa:mean_xy
      indexed: false
      description: 'TODO: <gqa:mean_xy>'
    region_code:
      offset:
      - properties
      - odc:region_code
      description: "Spatial reference code from the provider. For Landsat region_code
        is a scene path row:\n        '{:03d}{:03d}.format(path,row)'\nFor Sentinel
        it is MGRS code. In general it is a unique string identifier that datasets
        covering roughly the same spatial region share.\n"
    gqa_stddev_x:
      type: double
      offset:
      - properties
      - gqa:stddev_x
      indexed: false
      description: 'TODO: <gqa:stddev_x>'
    gqa_stddev_y:
      type: double
      offset:
      - properties
      - gqa:stddev_y
      indexed: false
      description: 'TODO: <gqa:stddev_y>'
    gqa_stddev_xy:
      type: double
      offset:
      - properties
      - gqa:stddev_xy
      indexed: false
      description: 'TODO: <gqa:stddev_xy>'
    eo_sun_azimuth:
      type: double
      offset:
      - properties
      - eo:sun_azimuth
      indexed: false
      description: 'TODO: <eo:sun_azimuth>'
    product_family:
      offset:
      - properties
      - odc:product_family
      indexed: false
      description: Product family code
    dataset_maturity:
      offset:
      - properties
      - dea:dataset_maturity
      description: One of - final|interim|nrt  (near real time)
    eo_sun_elevation:
      type: double
      offset:
      - properties
      - eo:sun_elevation
      indexed: false
      description: 'TODO: <eo:sun_elevation>'
    fmask_cloud_shadow:
      type: double
      offset:
      - properties
      - fmask:cloud_shadow
      indexed: false
      description: 'TODO: <fmask:cloud_shadow>'
    gqa_iterative_mean_x:
      type: double
      offset:
      - properties
      - gqa:iterative_mean_x
      indexed: false
      description: 'TODO: <gqa:iterative_mean_x>'
    gqa_iterative_mean_y:
      type: double
      offset:
      - properties
      - gqa:iterative_mean_y
      indexed: false
      description: 'TODO: <gqa:iterative_mean_y>'
    gqa_iterative_mean_xy:
      type: double
      offset:
      - properties
      - gqa:iterative_mean_xy
      indexed: false
      description: 'TODO: <gqa:iterative_mean_xy>'
    gqa_iterative_stddev_x:
      type: double
      offset:
      - properties
      - gqa:iterative_stddev_x
      indexed: false
      description: 'TODO: <gqa:iterative_stddev_x>'
    gqa_iterative_stddev_y:
      type: double
      offset:
      - properties
      - gqa:iterative_stddev_y
      indexed: false
      description: 'TODO: <gqa:iterative_stddev_y>'
    gqa_iterative_stddev_xy:
      type: double
      offset:
      - properties
      - gqa:iterative_stddev_xy
      indexed: false
      description: 'TODO: <gqa:iterative_stddev_xy>'
    gqa_abs_iterative_mean_x:
      type: double
      offset:
      - properties
      - gqa:abs_iterative_mean_x
      indexed: false
      description: 'TODO: <gqa:abs_iterative_mean_x>'
    gqa_abs_iterative_mean_y:
      type: double
      offset:
      - properties
      - gqa:abs_iterative_mean_y
      indexed: false
      description: 'TODO: <gqa:abs_iterative_mean_y>'
    gqa_abs_iterative_mean_xy:
      type: double
      offset:
      - properties
      - gqa:abs_iterative_mean_xy
      indexed: false
      description: 'TODO: <gqa:abs_iterative_mean_xy>'
...
---
# Metadata Type eo3_landsat_l1
# url: https://explorer.datacubechile.cl/metadata-types/eo3_landsat_l1.odc-type.yaml
name: eo3_landsat_l1
description: EO3 for Level 1 Landsat, GA Collection 3
dataset:
  id:
  - id
  label:
  - label
  format:
  - properties
  - odc:file_format
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - properties
  - odc:processing_datetime
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - measurements
  search_fields:
    lat:
      type: double-range
      max_offset:
      - - extent
        - lat
        - end
      min_offset:
      - - extent
        - lat
        - begin
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - lon
        - end
      min_offset:
      - - extent
        - lon
        - begin
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - properties
        - dtr:end_datetime
      - - properties
        - datetime
      min_offset:
      - - properties
        - dtr:start_datetime
      - - properties
        - datetime
      description: Acquisition time range
    eo_gsd:
      type: double
      offset:
      - properties
      - eo:gsd
      indexed: false
      description: Ground Sample distance, meters
    platform:
      offset:
      - properties
      - eo:platform
      indexed: false
      description: Platform code
    instrument:
      offset:
      - properties
      - eo:instrument
      indexed: false
      description: Instrument name
    cloud_cover:
      type: double
      offset:
      - properties
      - eo:cloud_cover
      description: Cloud cover percentage [0, 100]
    region_code:
      offset:
      - properties
      - odc:region_code
      description: "Spatial reference code from the provider. For Landsat region_code
        is a scene path row:\n        '{:03d}{:03d}.format(path,row)'.\nFor Sentinel
        it is MGRS code. In general it is a unique string identifier that datasets
        covering roughly the same spatial region share.\n"
    eo_sun_azimuth:
      type: double
      offset:
      - properties
      - eo:sun_azimuth
      indexed: false
      description: Sun azimuth angle
    product_family:
      offset:
      - properties
      - odc:product_family
      indexed: false
      description: Product family code
    dataset_maturity:
      offset:
      - properties
      - dea:dataset_maturity
      indexed: false
      description: One of - final|interim|nrt  (near real time)
    eo_sun_elevation:
      type: double
      offset:
      - properties
      - eo:sun_elevation
      indexed: false
      description: Sun elevation angle
    landsat_scene_id:
      offset:
      - properties
      - landsat:landsat_scene_id
      indexed: false
      description: Landsat Scene ID
    landsat_product_id:
      offset:
      - properties
      - landsat:landsat_product_id
      indexed: false
      description: Landsat Product ID
...
---
# Metadata Type eo_plus
# url: https://explorer.datacubechile.cl/metadata-types/eo_plus.odc-type.yaml
name: eo_plus
description: EO metadata for DEA products with GQA.
dataset:
  id:
  - id
  label:
  - ga_label
  format:
  - format
  - name
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - system_information
  - time_processed
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - image
  - bands
  search_fields:
    gqa:
      type: double
      offset:
      - gqa
      - cep90
      indexed: false
      description: GQA circular error probable (90%)
    lat:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      min_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      min_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - extent
        - to_dt
      min_offset:
      - - extent
        - from_dt
      description: Acquisition time
    format:
      offset:
      - format
      - name
      indexed: false
      description: File format (GeoTIFF, NetCDF)
    platform:
      offset:
      - platform
      - code
      description: Platform code
    gqa_cep90:
      type: double
      offset:
      - gqa
      - residual
      - cep90
      indexed: false
      description: Circular error probable (90%) of the values of the GCP residuals
    gqa_abs_xy:
      type: double
      offset:
      - gqa
      - residual
      - abs
      - xy
      indexed: false
      description: Absolute value of the total GCP residual
    instrument:
      offset:
      - instrument
      - name
      description: Instrument name
    gqa_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - mean
      - xy
      indexed: false
      description: Mean of the values of the GCP residuals
    region_code:
      offset:
      - provider
      - reference_code
      description: Spatial reference code from the provider
    product_type:
      offset:
      - product_type
      description: Product code
    gqa_stddev_xy:
      type: double
      offset:
      - gqa
      - residual
      - stddev
      - xy
      indexed: false
      description: Standard Deviation of the values of the GCP residuals
    gqa_ref_source:
      offset:
      - gqa
      - ref_source
      indexed: false
      description: GQA reference imagery collection name
    gqa_error_message:
      offset:
      - gqa
      - error_message
      indexed: false
      description: GQA error message
    gqa_final_qa_count:
      type: integer
      offset:
      - gqa
      - final_qa_count
      indexed: false
      description: GQA QA point count
    gqa_iterative_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - iterative_mean
      - xy
      indexed: false
      description: Mean of the values of the GCP residuals after removal of outliers
    gqa_iterative_stddev_xy:
      type: double
      offset:
      - gqa
      - residual
      - iterative_stddev
      - xy
      indexed: false
      description: Standard Deviation of the values of the GCP residuals after removal
        of outliers
    gqa_abs_iterative_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - abs_iterative_mean
      - xy
      indexed: false
      description: Mean of the absolute values of the GCP residuals after removal
        of outliers
...
---
# Metadata Type gqa_eo
# url: https://explorer.datacubechile.cl/metadata-types/gqa_eo.odc-type.yaml
name: gqa_eo
description: Minimal eo metadata for products with GQA.
dataset:
  id:
  - id
  label:
  - ga_label
  format:
  - format
  - name
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - system_information
  - time_processed
  grid_spatial:
  - grid_spatial
  - projection
  measurements:
  - image
  - bands
  search_fields:
    gqa:
      type: double
      offset:
      - gqa
      - cep90
      indexed: false
      description: GQA Circular error probable (90%)
    lat:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      min_offset:
      - - extent
        - coord
        - ur
        - lat
      - - extent
        - coord
        - lr
        - lat
      - - extent
        - coord
        - ul
        - lat
      - - extent
        - coord
        - ll
        - lat
      description: Latitude range
    lon:
      type: double-range
      max_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      min_offset:
      - - extent
        - coord
        - ul
        - lon
      - - extent
        - coord
        - ur
        - lon
      - - extent
        - coord
        - ll
        - lon
      - - extent
        - coord
        - lr
        - lon
      description: Longitude range
    time:
      type: datetime-range
      max_offset:
      - - extent
        - to_dt
      min_offset:
      - - extent
        - from_dt
      description: Acquisition time
    format:
      offset:
      - format
      - name
      indexed: false
      description: File format (GeoTIFF, NetCDF)
    platform:
      offset:
      - platform
      - code
      description: Platform code
    gqa_cep90:
      type: double
      offset:
      - gqa
      - residual
      - cep90
      indexed: false
      description: Circular error probable (90%) of the values of the GCP residuals
    gqa_abs_xy:
      type: double
      offset:
      - gqa
      - residual
      - abs
      - xy
      indexed: false
      description: Absolute value of the total GCP residual
    instrument:
      offset:
      - instrument
      - name
      description: Instrument name
    gqa_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - mean
      - xy
      indexed: false
      description: Mean of the values of the GCP residuals
    region_code:
      offset:
      - provider
      - reference_code
      description: Spatial reference code from the provider
    product_type:
      offset:
      - product_type
      description: Product code
    gqa_stddev_xy:
      type: double
      offset:
      - gqa
      - residual
      - stddev
      - xy
      indexed: false
      description: Standard Deviation of the values of the GCP residuals
    gqa_ref_source:
      offset:
      - gqa
      - ref_source
      indexed: false
      description: GQA reference imagery collection name
    gqa_error_message:
      offset:
      - gqa
      - error_message
      indexed: false
      description: GQA Error Message
    gqa_final_gcp_count:
      type: integer
      offset:
      - gqa
      - final_gcp_count
      indexed: false
      description: GQA GCP Count
    gqa_iterative_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - iterative_mean
      - xy
      indexed: false
      description: Mean of the values of the GCP residuals after removal of outliers
    gqa_iterative_stddev_xy:
      type: double
      offset:
      - gqa
      - residual
      - iterative_stddev
      - xy
      indexed: false
      description: Standard Deviation of the values of the GCP residuals after removal
        of outliers
    gqa_abs_iterative_mean_xy:
      type: double
      offset:
      - gqa
      - residual
      - abs_iterative_mean
      - xy
      indexed: false
      description: Mean of the absolute values of the GCP residuals after removal
        of outliers
...
---
# Metadata Type telemetry
# url: https://explorer.datacubechile.cl/metadata-types/telemetry.odc-type.yaml
name: telemetry
description: "Satellite telemetry datasets.\n\nExpected metadata structure produced
  by telemetry datasets from the eodatasets library, as used internally at GA.\n\n\
  https://github.com/GeoscienceAustralia/eo-datasets\n"
dataset:
  id:
  - id
  label:
  - ga_label
  sources:
  - lineage
  - source_datasets
  creation_dt:
  - creation_dt
  search_fields:
    gsi:
      offset:
      - acquisition
      - groundstation
      - code
      indexed: false
      description: Ground Station Identifier (eg. ASA)
    time:
      type: datetime-range
      max_offset:
      - - acquisition
        - los
      min_offset:
      - - acquisition
        - aos
      description: Acquisition time
    orbit:
      type: integer
      offset:
      - acquisition
      - platform_orbit
      description: Orbit number
    sat_row:
      type: integer-range
      max_offset:
      - - image
        - satellite_ref_point_end
        - y
      - - image
        - satellite_ref_point_start
        - y
      min_offset:
      - - image
        - satellite_ref_point_start
        - y
      description: Landsat row
    platform:
      offset:
      - platform
      - code
      description: Platform code
    sat_path:
      type: integer-range
      max_offset:
      - - image
        - satellite_ref_point_end
        - x
      - - image
        - satellite_ref_point_start
        - x
      min_offset:
      - - image
        - satellite_ref_point_start
        - x
      description: Landsat path
    instrument:
      offset:
      - instrument
      - name
      description: Instrument name
    product_type:
      offset:
      - product_type
      description: Product code
...
