Closed mike-gangl closed 9 months ago
Fix to the to_stac method where we take an existing array (df.roles) and wrapped it in another array([df.roles])
[df.roles]
Our to_stac output looked like this:
"/unity/ads/outputs/SBG-L2A-RESAMPLE/SISTER_AVNG_L2A_RSRFL_20220502T180901_001.bin": { "href": "/unity/ads/outputs/SBG-L2A-RESAMPLE/SISTER_AVNG_L2A_RSRFL_20220502T180901_001.bin", "title": "binary file", "description": "", "roles": [ [ "data" ] ] },
and it should look like this:
"/unity/ads/outputs/SBG-L2A-RESAMPLE/SISTER_AVNG_L2A_RSRFL_20220502T180901_001.bin": { "href": "/unity/ads/outputs/SBG-L2A-RESAMPLE/SISTER_AVNG_L2A_RSRFL_20220502T180901_001.bin", "title": "binary file", "description": "", "roles": [ "data" ] },
coverage: 85.912%. remained the same when pulling d8eaa147913c0b3166709e7f1c21a1f03153da3f on bug/roles-as-array into 746b930daaab4abfc61b09c31a177d685520e86a on develop.
Fix to the to_stac method where we take an existing array (df.roles) and wrapped it in another array(
[df.roles]
)Our to_stac output looked like this:
and it should look like this: