Skip to content

Commit

Permalink
add product definition for gm_ls8_ls9_annual and lowres
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaGandhi committed Feb 23, 2022
1 parent 6a5bcd1 commit 84d0b20
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/products_dev.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ gm_s2_semiannual,https://raw.githubusercontent.com/digitalearthafrica/config/mas
gm_s2_semiannual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_s2_semiannual_lowres.odc-product.yaml
gm_ls8_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_annual.odc-product.yaml
gm_ls8_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_annual_lowres.odc-product.yaml
gm_ls8_ls9_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_ls9_annual.odc-product.yaml
gm_ls8_ls9_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_ls9_annual_lowres.odc-product.yaml
gm_ls5_ls7_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls5_ls7_annual.odc-product.yaml
gm_ls5_ls7_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls5_ls7_annual_lowres.odc-product.yaml
jers_sar_mosaic,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/jers_sar_mosaic.odc-product.yaml
Expand Down
2 changes: 2 additions & 0 deletions prod/products_prod.csv
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ gm_s2_semiannual,https://raw.githubusercontent.com/digitalearthafrica/config/mas
gm_s2_semiannual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_s2_semiannual_lowres.odc-product.yaml
gm_ls8_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_annual.odc-product.yaml
gm_ls8_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_annual_lowres.odc-product.yaml
gm_ls8_ls9_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_ls9_annual.odc-product.yaml
gm_ls8_ls9_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls8_ls9_annual_lowres.odc-product.yaml
gm_ls5_ls7_annual,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls5_ls7_annual.odc-product.yaml
gm_ls5_ls7_annual_lowres,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/gm_ls5_ls7_annual_lowres.odc-product.yaml
jers_sar_mosaic,https://raw.githubusercontent.com/digitalearthafrica/config/master/products/jers_sar_mosaic.odc-product.yaml
Expand Down
81 changes: 81 additions & 0 deletions products/gm_ls8_ls9_annual.odc-product.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
name: gm_ls8_ls9_annual
description: Surface Reflectance Annual Geometric Median and Median
Absolute Deviations, Landsat 8 and Landsat 9
metadata_type: eo3

license: CC-BY-4.0

metadata:
product:
name: gm_ls8_ls9_annual

storage:
crs: EPSG:6933
resolution:
x: 30
y: -30
tile_size:
x: 3200.0
y: 3200.0

measurements:
- name: SR_B2
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_2, blue]

- name: SR_B3
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_3, green]

- name: SR_B4
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_4, red]

- name: SR_B5
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_5, nir]

- name: SR_B6
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_6, swir_1]

- name: SR_B7
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_7, swir_2]

- name: "SMAD"
aliases: [smad, sdev, SDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "EMAD"
aliases: [emad, edev, EDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "BCMAD"
aliases: [bcmad, bcdev, BCDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "COUNT"
aliases: [count]
units: "1"
dtype: uint16
nodata: 0
79 changes: 79 additions & 0 deletions products/gm_ls8_ls9_annual_lowres.odc-product.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
name: gm_ls8_ls9_annual_lowres
description: Surface Reflectance Annual Geometric Median and Median
Absolute Deviations, Landsat 8 and Landsat 9. Low resolution
version used for visualisations.
metadata_type: eo3

license: CC-BY-4.0

metadata:
product:
name: gm_ls8_ls9_annual_lowres

storage:
crs: EPSG:6933
resolution:
x: 120
y: -120

measurements:
- name: SR_B2
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_2, blue]

- name: SR_B3
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_3, green]

- name: SR_B4
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_4, red]

- name: SR_B5
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_5, nir]

- name: SR_B6
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_6, swir_1]

- name: SR_B7
dtype: "uint16"
units: "1"
nodata: 0
aliases: [band_7, swir_2]

- name: "SMAD"
aliases: [smad, sdev, SDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "EMAD"
aliases: [emad, edev, EDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "BCMAD"
aliases: [bcmad, bcdev, BCDEV]
units: "1"
dtype: float32
nodata: .nan

- name: "COUNT"
aliases: [count]
units: "1"
dtype: uint16
nodata: 0

0 comments on commit 84d0b20

Please sign in to comment.