Skip to content

Commit 341f751

Browse files
committed
adding nrb to odc product name
1 parent 92aca85 commit 341f751

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

docs/workflows/aws.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ After each run is completed, the files will be uploaded to a specified S3 bucket
4343
## Example outputs
4444

4545
Example outputs of the **RTC_S1** and **RTC_S1_STATIC** workflows can be found at the links below. If you look at the assets of metadata.json file, you can see the static layers have been linked.
46-
- **RTC_S1** -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_iw_hh_c1/t070_149815_iw3/2022/1/1/
47-
- **RTC_S1_STATIC** -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_iw_static_c1/t070_149815_iw3/
46+
- **RTC_S1** -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_nrb_iw_hh_c1/t070_149815_iw3/2022/1/1/
47+
- **RTC_S1_STATIC** -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_nrb_iw_static_c1/t070_149815_iw3/
4848

4949

5050
## Pipeline Overview
@@ -121,12 +121,12 @@ Final product output paths have the following structure
121121
**RTC_S1**
122122
- s3_bucket/s3_project_folder/odc_product_name/burst_id/year/month/day/*files
123123
- odc_product_name is determined by the polarisation and collection_number for RTC_S1 products.
124-
- It will be one of ga_s1_iw_vv_vh_cX, ga_s1_iw_vv_cX, ga_s1_iw_hh_hv_cX, ga_s1_iw_hh_cX, where X is the collection_number
125-
- example -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_iw_hh_c1/t070_149815_iw3/2022/1/1/
124+
- It will be one of ga_s1_nrb_iw_vv_vh_cX, ga_s1_nrb_iw_vv_cX, ga_s1_nrb_iw_hh_hv_cX, ga_s1_nrb_iw_hh_cX, where X is the collection_number
125+
- example -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_nrb_iw_hh_c1/t070_149815_iw3/2022/1/1/
126126
**RTC_S1_STATIC**
127127
- e.g. s3_bucket/s3_project_folder/odc_product_name/burst_id/*files
128-
- odc_product_name = ga_s1_iw_static_cX, where X is the collection_number
129-
- example -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_iw_static_c1/t070_149815_iw3/
128+
- odc_product_name = ga_s1_nrb_iw_static_cX, where X is the collection_number
129+
- example -> https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=persistent/repositories/sar-pipeline/examples/gamma0/ga_s1_nrb_iw_static_c1/t070_149815_iw3/
130130

131131
## Container processing location
132132

@@ -221,7 +221,7 @@ Note, any scene that covers the given burst could be used. For example, the foll
221221

222222
Once the workflow has been completed, you should be able to fine the static layers at:
223223

224-
`https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=TMP/ga_s1_iw_static_c1/t070_149815_iw3/`
224+
`https://deant-data-public-dev.s3.ap-southeast-2.amazonaws.com/index.html?prefix=TMP/ga_s1_nrb_iw_static_c1/t070_149815_iw3/`
225225

226226
### 2. Make the RTC Backscatter for the scene and link the metadata to the static layers
227227

sar_pipeline/aws/metadata/odc.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ def get_odc_product_name(product, collection_number, polarisations):
55
"""
66
if product == "RTC_S1":
77
if all([pol in polarisations for pol in ["VV", "VH"]]):
8-
return f"ga_s1_iw_vv_vh_c{collection_number}"
8+
return f"ga_s1_nrb_iw_vv_vh_c{collection_number}"
99
elif all([pol in polarisations for pol in ["HH", "HV"]]):
10-
return f"ga_s1_iw_hh_hv_c{collection_number}"
10+
return f"ga_s1_nrb_iw_hh_hv_c{collection_number}"
1111
elif polarisations == ["VV"]:
12-
return f"ga_s1_iw_vv_c{collection_number}"
12+
return f"ga_s1_nrb_iw_vv_c{collection_number}"
1313
elif polarisations == ["HH"]:
14-
return f"ga_s1_iw_hh_c{collection_number}"
14+
return f"ga_s1_nrb_iw_hh_c{collection_number}"
1515
elif product == "RTC_S1_STATIC":
16-
return f"ga_s1_iw_static_c{collection_number}"
16+
return f"ga_s1_nrb_iw_static_c{collection_number}"
1717

1818

1919
def make_rtc_s1_s3_subpath(
@@ -49,7 +49,7 @@ def make_rtc_s1_s3_subpath(
4949
-------
5050
str
5151
path to the s3 bucket subfolder
52-
e.g. s3_project_folder/ga_s1_iw_vv_c1/t028_059507_iw2/2022/01/01
52+
e.g. s3_project_folder/ga_s1_nrb_iw_vv_c1/t028_059507_iw2/2022/01/01
5353
"""
5454
# get the odc product name which includes the collection number
5555
odc_product_name = get_odc_product_name(
@@ -78,7 +78,7 @@ def make_rtc_s1_static_s3_subpath(
7878
-------
7979
str
8080
path to the s3 bucket subfolder
81-
e.g. s3_project_folder/ga_s1_iw_static_c1/t028_059507_iw2
81+
e.g. s3_project_folder/ga_s1_nrb_iw_static_c1/t028_059507_iw2
8282
"""
8383
# get the odc product name which includes the collection number
8484
odc_product_name = get_odc_product_name("RTC_S1_STATIC", collection_number, [])

scripts/run_aws_pipeline.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ linked_static_layers_collection_number=1
2828
# RTC_S1
2929
# - s3_bucket/s3_project_folder/odc_product_name/burst_id/year/month/day/*files
3030
# - odc_product_name is determined by the polarisation and collection_number for RTC_S1 products.
31-
# - It will be one of ga_s1_iw_vv_vh_cX, ga_s1_iw_vv_cX, ga_s1_iw_hh_hv_cX, ga_s1_iw_hh_cX, where X is the collection_number
31+
# - It will be one of ga_s1_nrb_iw_vv_vh_cX, ga_s1_nrb_iw_vv_cX, ga_s1_nrb_iw_hh_hv_cX, ga_s1_nrb_iw_hh_cX, where X is the collection_number
3232
# RTC_S1_STATIC
3333
# - e.g. s3_bucket/s3_project_folder/odc_product_name/burst_id/*files
34-
# - odc_product_name = ga_s1_iw_static_cX, where X is the collection_number
34+
# - odc_product_name = ga_s1_nrb_iw_static_cX, where X is the collection_number
3535

3636
# Parse named arguments
3737
while [[ "$#" -gt 0 ]]; do

0 commit comments

Comments
 (0)