Skip to content

Commit

Permalink
Add provisional product configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
james-blitzm committed Aug 21, 2021
1 parent 57f97d4 commit 4a5cafe
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ index-s2be:
s3-to-dc --no-sign-request 's3://dea-public-data-dev/s2be/*odc-metadata.yaml' s2_barest_earth\
"

# Add s2 c3 datasets
product-s2-c3:
docker-compose exec alchemist \
datacube product add \
https://explorer.dev.dea.ga.gov.au/products/ga_s2am_ard_provisional_3.odc-product.yaml
docker-compose exec alchemist \
datacube product add \
https://explorer.dev.dea.ga.gov.au/products/ga_s2bm_ard_provisional_3.odc-product.yaml

index-s2-c3:
docker-compose exec alchemist \
datacube dataset add --ignore-lineage --confirm-ignore-lineage \
s3://dea-public-data/baseline/ga_s2am_ard_provisional_3/51/KWV/2021/08/18_nrt/20210818T033715/ga_s2am_ard_provisional_3-2-1_51KWV_2021-08-18_nrt.odc-metadata.yaml \

# Specific BE dataset for local testing
index-one-s2be:
docker-compose exec alchemist \
Expand Down Expand Up @@ -163,6 +177,11 @@ dnbr-one:
datacube-alchemist run-one --config-file ./examples/c3_config_dnbr_3band_s2be.yaml \
--uuid 5c70a4a2-cf36-4779-92a8-b35b8039cb0a

ba-bm-one:
docker-compose exec alchemist \
datacube-alchemist run-one --config-file ./examples/c3_config_bm_provisional.yaml \
--uuid d7a7f9d1-8d89-409c-b478-5d02da6cb90a

bai-one:
docker-compose exec alchemist \
datacube-alchemist run-one --config-file ./examples/c3_config_bai_s2be.yaml \
Expand Down
42 changes: 42 additions & 0 deletions examples/c3_config_bm_provisional.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
specification:
products:
- ga_s2am_ard_provisional_3
- ga_s2bm_ard_provisional_3
measurements: ['nbart_nir_1', 'nbart_red_edge_1', 'nbart_blue', 'nbart_red', 'fmask']
measurement_renames:
nbart_red_edge_1: nbart_swir_2

aws_unsigned: True
transform: datacube_alchemist.transforms.DeltaNBR_3band_s2be

override_product_family: ard
basis: nbart_nir_1

output:
location: s3://dea-public-data-dev/derivative/
preview_image:
red: delta_nbr
green: delta_ndvi
blue: delta_bsi
static_stretch: [-1, 1]
explorer_url: https://explorer.dev.dea.ga.gov.au
write_data_settings:
overview_resampling: average
reference_source_dataset: True
write_stac: True
inherit_geometry: True

metadata:
product_family: ba
producer: ga.gov.au
dataset_version: 1.6.0
collection_number: 3
naming_conventions: dea_c3
properties:
dea:dataset_maturity: interim
dea:product_maturity: provisional

processing:
dask_chunks:
x: -1
y: 4096

0 comments on commit 4a5cafe

Please sign in to comment.