Skip to content

Commit

Permalink
Update test wagl L1 input to reflect current data
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed May 7, 2021
1 parent 2425487 commit 6df2fff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Dataset
$schema: https://schemas.opendatacube.org/dataset
id: 8f1cd4a8-666d-4b07-916b-343f8d4d8aa0
id: e27200c1-0a9c-5e24-bfe1-bbbb3f3bdedc

label: esa_s2am_level1_1-0-20201031_53JQJ_2020-10-31
product:
Expand All @@ -10,10 +10,10 @@ product:
crs: epsg:32753
geometry:
type: Polygon
coordinates: [[[809760.0, 6790240.0], [733320.0, 6790240.0], [733280.0, 6790240.0],
[733210.0, 6790240.0], [746710.3483143836, 6840192.6162883565], [755760.3501038646,
6873562.622880968], [762967.278080852, 6900040.0], [763011.7841082034, 6900040.0],
[763034.1010314169, 6900040.0], [809760.0, 6900040.0], [809760.0, 6790240.0]]]
coordinates: [[[733210.0, 6790240.0], [746710.3483143836, 6840192.6162883565], [
755760.3501038646, 6873562.622880968], [762967.278080852, 6900040.0], [763011.7841082034,
6900040.0], [763034.1010314169, 6900040.0], [809760.0, 6900040.0], [809760.0,
6790240.0], [733320.0, 6790240.0], [733280.0, 6790240.0], [733210.0, 6790240.0]]]
grids:
default:
shape: [5490, 5490]
Expand All @@ -35,7 +35,7 @@ properties:
eo:sun_elevation: 26.8398246645449
odc:dataset_version: 1.0.20201031
odc:file_format: JPEG2000
odc:processing_datetime: 2020-10-31 02:28:59Z
odc:processing_datetime: 2020-10-31 03:02:27.317666Z
odc:producer: esa.int
odc:product_family: level1
odc:region_code: 53JQJ
Expand All @@ -46,7 +46,9 @@ properties:
sentinel:datatake_type: INS-NOBS
sentinel:processing_baseline: '02.09'
sentinel:processing_center: EPAE
sentinel:product_name: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859
sentinel:reception_station: EDRS
sentinel:sentinel_tile_id: S2A_OPER_MSI_L1C_TL_EPAE_20201031T022859_A027984_T53JQJ_N02.09

measurements:
blue:
Expand All @@ -62,7 +64,7 @@ measurements:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/GRANULE/L1C_T53JQJ_A027984_20201031T004711/IMG_DATA/T53JQJ_20201031T004711_B08.jp2
grid: '10'
nir_2:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031 T022859.SAFE/GRANULE/L1C_T53JQJ_A027984_20201031T004711/IMG_DATA/T53JQJ_20201031T004711_B8A.jp2
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/GRANULE/L1C_T53JQJ_A027984_20201031T004711/IMG_DATA/T53JQJ_20201031T004711_B8A.jp2
red:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/GRANULE/L1C_T53JQJ_A027984_20201031T004711/IMG_DATA/T53JQJ_20201031T004711_B04.jp2
grid: '10'
Expand All @@ -84,11 +86,11 @@ measurements:
grid: '60'

accessories:
metadata:mtd_ds:
metadata:s2_datastrip:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/DATASTRIP/DS_EPAE_20201031T022859_S20201031T004711/MTD_DS.xml
metadata:mtd_tl:
metadata:s2_tile:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/GRANULE/L1C_T53JQJ_A027984_20201031T004711/MTD_TL.xml
metadata:mtd_msil1c:
metadata:s2_user_product:
path: S2A_MSIL1C_20201031T004711_N0209_R102_T53JQJ_20201031T022859.SAFE/MTD_MSIL1C.xml

lineage: {}
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/test_packagewagl.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ def test_sentinel_wagl_package(tmp_path: Path):
"sat:orbit_state": "descending",
"sat:relative_orbit": 102,
"sentinel:datastrip_id": "S2A_OPER_MSI_L1C_DS_EPAE_20201031T022859_S20201031T004711_N02.09",
"sentinel:sentinel_tile_id": "S2A_OPER_MSI_L1C_TL_EPAE_20201031T022859_A027984_T53JQJ_N02.09",
"sentinel:datatake_start_datetime": "2020-10-31T02:28:59",
},
"measurements": {
Expand Down Expand Up @@ -977,7 +978,7 @@ def test_sentinel_wagl_package(tmp_path: Path):
"path": "ga_s2am_nbart_3-2-1_53JQJ_2020-10-31_final_thumbnail.jpg"
},
},
"lineage": {"level1": ["8f1cd4a8-666d-4b07-916b-343f8d4d8aa0"]},
"lineage": {"level1": ["e27200c1-0a9c-5e24-bfe1-bbbb3f3bdedc"]},
},
output_metadata,
)
Expand Down

0 comments on commit 6df2fff

Please sign in to comment.