From dd6ae5ee4b38b22e357945935c87ab7cf360e44c Mon Sep 17 00:00:00 2001 From: Chris Holden Date: Mon, 23 Dec 2024 10:52:30 -0500 Subject: [PATCH] self review --- hls_vi/generate_metadata.py | 2 +- tests/fixtures/HLS-VI.L30.T06WVS.2024120T211159.v2.0.cmr.xml | 2 +- tests/fixtures/HLS-VI.S30.T13RCN.2024128T173909.v2.0.cmr.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hls_vi/generate_metadata.py b/hls_vi/generate_metadata.py index d9956b9..225e314 100644 --- a/hls_vi/generate_metadata.py +++ b/hls_vi/generate_metadata.py @@ -229,7 +229,7 @@ def append_fmask_online_access_urls( s3_attr = Element("OnlineAccessURL", None, None) s3_attr_url = Element("URL", None, None) s3_attr_url.text = ( - f"s3://lp-prod-protected//{prefix}/{hls_granule_ur}/{hls_granule_ur}.Fmask.tif" + f"s3://lp-prod-protected/{prefix}/{hls_granule_ur}/{hls_granule_ur}.Fmask.tif" ) s3_attr_desc = Element("URLDescription", None, None) s3_attr_desc.text = f"This link provides direct download access via S3 to the Fmask quality layer {hls_granule_ur}.Fmask.tif" # noqa: E501 diff --git a/tests/fixtures/HLS-VI.L30.T06WVS.2024120T211159.v2.0.cmr.xml b/tests/fixtures/HLS-VI.L30.T06WVS.2024120T211159.v2.0.cmr.xml index c6911b5..5831deb 100644 --- a/tests/fixtures/HLS-VI.L30.T06WVS.2024120T211159.v2.0.cmr.xml +++ b/tests/fixtures/HLS-VI.L30.T06WVS.2024120T211159.v2.0.cmr.xml @@ -253,7 +253,7 @@ Download Fmask quality layer HLS.L30.T06WVS.2024120T211159.v2.0.Fmask.tif - s3://lp-prod-protected//HLSL30.020/HLS.L30.T06WVS.2024120T211159.v2.0/HLS.L30.T06WVS.2024120T211159.v2.0.Fmask.tif + s3://lp-prod-protected/HLSL30.020/HLS.L30.T06WVS.2024120T211159.v2.0/HLS.L30.T06WVS.2024120T211159.v2.0.Fmask.tif This link provides direct download access via S3 to the Fmask quality layer HLS.L30.T06WVS.2024120T211159.v2.0.Fmask.tif diff --git a/tests/fixtures/HLS-VI.S30.T13RCN.2024128T173909.v2.0.cmr.xml b/tests/fixtures/HLS-VI.S30.T13RCN.2024128T173909.v2.0.cmr.xml index 00abbd0..0f0e6b9 100644 --- a/tests/fixtures/HLS-VI.S30.T13RCN.2024128T173909.v2.0.cmr.xml +++ b/tests/fixtures/HLS-VI.S30.T13RCN.2024128T173909.v2.0.cmr.xml @@ -315,7 +315,7 @@ Download Fmask quality layer HLS.S30.T13RCN.2024128T173909.v2.0.Fmask.tif - s3://lp-prod-protected//HLSS30.020/HLS.S30.T13RCN.2024128T173909.v2.0/HLS.S30.T13RCN.2024128T173909.v2.0.Fmask.tif + s3://lp-prod-protected/HLSS30.020/HLS.S30.T13RCN.2024128T173909.v2.0/HLS.S30.T13RCN.2024128T173909.v2.0.Fmask.tif This link provides direct download access via S3 to the Fmask quality layer HLS.S30.T13RCN.2024128T173909.v2.0.Fmask.tif