From 84d0b204e9c9416169a92f998b9720c7835645e0 Mon Sep 17 00:00:00 2001 From: Nikita Gandhi Date: Thu, 24 Feb 2022 10:37:57 +1100 Subject: [PATCH] add product definition for gm_ls8_ls9_annual and lowres --- dev/products_dev.csv | 2 + prod/products_prod.csv | 2 + products/gm_ls8_ls9_annual.odc-product.yaml | 81 +++++++++++++++++++ .../gm_ls8_ls9_annual_lowres.odc-product.yaml | 79 ++++++++++++++++++ 4 files changed, 164 insertions(+) create mode 100644 products/gm_ls8_ls9_annual.odc-product.yaml create mode 100644 products/gm_ls8_ls9_annual_lowres.odc-product.yaml diff --git a/dev/products_dev.csv b/dev/products_dev.csv index 6f48dd17..1941906d 100644 --- a/dev/products_dev.csv +++ b/dev/products_dev.csv @@ -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 diff --git a/prod/products_prod.csv b/prod/products_prod.csv index 1ae189e8..46c406ff 100644 --- a/prod/products_prod.csv +++ b/prod/products_prod.csv @@ -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 diff --git a/products/gm_ls8_ls9_annual.odc-product.yaml b/products/gm_ls8_ls9_annual.odc-product.yaml new file mode 100644 index 00000000..fc186198 --- /dev/null +++ b/products/gm_ls8_ls9_annual.odc-product.yaml @@ -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 diff --git a/products/gm_ls8_ls9_annual_lowres.odc-product.yaml b/products/gm_ls8_ls9_annual_lowres.odc-product.yaml new file mode 100644 index 00000000..0d5f707d --- /dev/null +++ b/products/gm_ls8_ls9_annual_lowres.odc-product.yaml @@ -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