Skip to content

more lenient derived_from link comparison #880

@soxofaan

Description

@soxofaan

Some APEx benchmark fail with something like

AssertionError: Issues for metadata file 'job-results.json':
Differing 'derived_from' links (0 common, 12 only in actual, 12 only in expected):
only in actual: {'S2B_MSIL2A_20200704T104619_N0500_R051_T31UFS_20230530T162956', 'S2A_MSIL2A_20200629T105031_N0500_R051_T31UFS_20230507T034309', 'S2B_MSIL2A_20200714T104619_N0500_R051_T31UFS_20230318T184918', 'S2B_MSIL2A_20200711T103629_N0500_R008_T31UFS_20230612T013509', 'S2A_MSIL2A_20200716T104031_N0500_R008_T31UFS_20230410T110332', 'S2A_MSIL2A_20200726T104031_N0500_R008_T31UFS_20230506T073348', 'S2B_MSIL2A_20200721T103629_N0500_R008_T31UFS_20230614T014152', 'S2B_MSIL2A_20200724T104619_N0500_R051_T31UFS_20230429T002759', 'S2A_MSIL2A_20200709T105031_N0500_R051_T31UFS_20230407T154303', 'S2A_MSIL2A_20200706T104031_N0500_R008_T31UFS_20230530T014125', 'S2B_MSIL2A_20200701T103629_N0500_R008_T31UFS_20230531T164125', 'S2A_MSIL2A_20200719T105031_N0500_R051_T31UFS_20230425T013921'}
only in expected: {'/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/24/S2B_MSIL2A_20200724T104619_N0500_R051_T31UFS_20230429T002759.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/01/S2B_MSIL2A_20200701T103629_N0500_R008_T31UFS_20230531T164125.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/06/S2A_MSIL2A_20200706T104031_N0500_R008_T31UFS_20230530T014125.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/11/S2B_MSIL2A_20200711T103629_N0500_R008_T31UFS_20230612T013509.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/19/S2A_MSIL2A_20200719T105031_N0500_R051_T31UFS_20230425T013921.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/06/29/S2A_MSIL2A_20200629T105031_N0500_R051_T31UFS_20230507T034309.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/04/S2B_MSIL2A_20200704T104619_N0500_R051_T31UFS_20230530T162956.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/21/S2B_MSIL2A_20200721T103629_N0500_R008_T31UFS_20230614T014152.SAFE', '/eodata/Sentinel-2/MSI/L2A_N0500/2020/07/14/S2B_MSIL2A_20200714T104619_N0500_R051_T31UFS_20....

which is annoying because it's hard to identify if there is only a format difference (item id versus /eodata/... path), or a real difference in used items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions