Skip to content

Commit

Permalink
fix(providers): geodes metadata mapping (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato authored Jan 10, 2025
1 parent 17c23a4 commit 67039bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eodag/resources/providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6443,7 +6443,7 @@
- '{{"query":{{"spaceborne:satelliteSensor":{{"eq":"{instrument}"}}}}}}'
- '$.properties."spaceborne:satelliteSensor"'
# INSPIRE obligated OpenSearch Parameters for Collection Search (Table 4)
title: '{$.properties."accessService:endpointURL"#replace_str(r"^.*\/(\w+)\.zip$",r"\1")}'
title: '$.properties.identifier'
keyword: '$.properties."spaceborne:keywords"'
# OpenSearch Parameters for Product Search (Table 5)
orbitNumber:
Expand Down Expand Up @@ -6476,15 +6476,15 @@
- '{{"query":{{"identifier":{{"eq":"{id}"}}}}}}'
- '$.properties.identifier'
tileIdentifier:
- '{{"query":{{"spaceborne:tile":{{"eq":"T{tileIdentifier}"}}}}}}'
- '$.properties."spaceborne:tile".`sub(/^T(.*)$/, \\1)`'
- '{{"query":{{"spaceborne:tile":{{"contains":"{tileIdentifier}"}}}}}}'
- '{$.properties."spaceborne:tile"#replace_str(r"^T?(.*)$",r"\1")}'
geometry:
- '{{"intersects":{geometry#to_geojson}}}'
- '($.geometry.`str()`.`sub(/^None$/, POLYGON((180 -90, 180 90, -180 90, -180 -90, 180 -90)))`)|($.geometry[*])'
providerProductType:
- '{{"query":{{"spaceborne:productType":{{"eq":"{providerProductType}"}}}}}}'
- '$.null'
downloadLink: '$.assets[?(@.roles[0] == "data")].href'
downloadLink: '$.assets[?(@.roles[0] == "data") & (@.type != "application/xml")].href'
quicklook: '$.assets[?(@.roles[0] == "overview")].href.`sub(/^(.*)$/, \\1?scope=gdh)`'
thumbnail: '$.assets[?(@.roles[0] == "overview")].href.`sub(/^(.*)$/, \\1?scope=gdh)`'
# storageStatus set to ONLINE for consistency between providers
Expand Down

0 comments on commit 67039bc

Please sign in to comment.