eodag 3.5.1__py3-none-any.whl → 3.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eodag/api/core.py +29 -14
- eodag/api/product/__init__.py +30 -0
- eodag/api/product/metadata_mapping.py +20 -3
- eodag/api/search_result.py +155 -1
- eodag/cli.py +60 -44
- eodag/config.py +7 -6
- eodag/plugins/authentication/openid_connect.py +1 -2
- eodag/plugins/download/aws.py +145 -178
- eodag/plugins/download/base.py +18 -5
- eodag/plugins/download/creodias_s3.py +10 -5
- eodag/plugins/download/http.py +14 -6
- eodag/plugins/download/s3rest.py +1 -2
- eodag/plugins/manager.py +1 -1
- eodag/plugins/search/base.py +34 -4
- eodag/plugins/search/build_search_result.py +11 -6
- eodag/plugins/search/cop_marine.py +2 -0
- eodag/plugins/search/qssearch.py +48 -26
- eodag/resources/ext_product_types.json +1 -1
- eodag/resources/product_types.yml +100 -153
- eodag/resources/providers.yml +58 -325
- eodag/resources/stac.yml +1 -2
- eodag/resources/user_conf_template.yml +0 -11
- eodag/rest/core.py +5 -9
- eodag/rest/server.py +9 -7
- eodag/utils/__init__.py +48 -27
- eodag/utils/exceptions.py +4 -0
- eodag/utils/s3.py +605 -65
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/METADATA +10 -10
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/RECORD +33 -33
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/WHEEL +0 -0
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/entry_points.txt +0 -0
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/licenses/LICENSE +0 -0
- {eodag-3.5.1.dist-info → eodag-3.7.0.dist-info}/top_level.txt +0 -0
eodag/resources/providers.yml
CHANGED
|
@@ -535,187 +535,6 @@
|
|
|
535
535
|
type: HttpQueryStringAuth
|
|
536
536
|
matching_url: https://gate.eos.com
|
|
537
537
|
ssl_verify: true
|
|
538
|
-
|
|
539
|
-
---
|
|
540
|
-
!provider # MARK: theia
|
|
541
|
-
name: theia
|
|
542
|
-
priority: 0
|
|
543
|
-
description: French National Space Agency (CNES) catalog for Sentinel 2 products, Pleiades and Landsat products
|
|
544
|
-
roles:
|
|
545
|
-
- host
|
|
546
|
-
url: https://theia.cnes.fr/atdistrib/rocket/
|
|
547
|
-
search: !plugin
|
|
548
|
-
type: QueryStringSearch
|
|
549
|
-
api_endpoint: 'https://theia.cnes.fr/atdistrib/resto2/api/collections/{collection}/search.json'
|
|
550
|
-
need_auth: false
|
|
551
|
-
ssl_verify: true
|
|
552
|
-
pagination:
|
|
553
|
-
next_page_url_tpl: '{url}?{search}&maxRecords={items_per_page}&page={page}'
|
|
554
|
-
total_items_nb_key_path: '$.properties.totalResults'
|
|
555
|
-
# 2021/03/19: Returns a 400 error code if greater than 500.
|
|
556
|
-
max_items_per_page: 500
|
|
557
|
-
discover_metadata:
|
|
558
|
-
auto_discovery: true
|
|
559
|
-
metadata_pattern: '^(?!collection)[a-zA-Z0-9_]+$'
|
|
560
|
-
search_param: '{metadata}={{{metadata}}}'
|
|
561
|
-
metadata_path: '$.properties.*'
|
|
562
|
-
metadata_mapping:
|
|
563
|
-
# Opensearch resource identifier within the search engine context (in our case
|
|
564
|
-
# within the context of the data provider)
|
|
565
|
-
uid: '$.id'
|
|
566
|
-
# OpenSearch Parameters for Collection Search (Table 3)
|
|
567
|
-
productType:
|
|
568
|
-
- productType
|
|
569
|
-
- '$.properties.productType'
|
|
570
|
-
platform:
|
|
571
|
-
- platform
|
|
572
|
-
- '$.properties.platform'
|
|
573
|
-
platformSerialIdentifier:
|
|
574
|
-
- 'platform={platformSerialIdentifier}'
|
|
575
|
-
- '$.properties.platform'
|
|
576
|
-
instrument:
|
|
577
|
-
- instrument
|
|
578
|
-
- '$.properties.instrument'
|
|
579
|
-
processingLevel:
|
|
580
|
-
- processingLevel
|
|
581
|
-
- '$.properties.processingLevel'
|
|
582
|
-
|
|
583
|
-
# INSPIRE obligated OpenSearch Parameters for Collection Search (Table 4)
|
|
584
|
-
title: '$.properties.title'
|
|
585
|
-
keyword: '$.properties.keywords'
|
|
586
|
-
resolution: '$.properties.resolution'
|
|
587
|
-
organisationName: '$.properties.organisationName'
|
|
588
|
-
publicationDate: '$.properties.published'
|
|
589
|
-
accessConstraint: '$.properties.license'
|
|
590
|
-
|
|
591
|
-
# OpenSearch Parameters for Product Search (Table 5)
|
|
592
|
-
parentIdentifier: '$.properties.parentIdentifier'
|
|
593
|
-
orbitNumber: '$.properties.orbitNumber'
|
|
594
|
-
cloudCover:
|
|
595
|
-
- 'cloudCover=[0,{cloudCover}]'
|
|
596
|
-
- '$.properties.cloudCover'
|
|
597
|
-
snowCover: '$.properties.snowCover'
|
|
598
|
-
productVersion: '$.properties.version'
|
|
599
|
-
creationDate: '$.properties.productionDate'
|
|
600
|
-
modificationDate: '$.properties.modificationDate'
|
|
601
|
-
processingDate: '$.properties.processingDate'
|
|
602
|
-
sensorMode: '$.properties.sensorMode'
|
|
603
|
-
archivingCenter: '$.properties.archivingCenter'
|
|
604
|
-
processingMode: '$.properties.processingMode'
|
|
605
|
-
|
|
606
|
-
# OpenSearch Parameters for Acquistion Parameters Search (Table 6)
|
|
607
|
-
availabilityTime: '$.properties.availabilityTime'
|
|
608
|
-
acquisitionStation: '$.properties.acquisitionStation'
|
|
609
|
-
acquisitionSubType: '$.properties.acquisitionSubType'
|
|
610
|
-
startTimeFromAscendingNode:
|
|
611
|
-
- 'startDate={startTimeFromAscendingNode#to_iso_date}'
|
|
612
|
-
- '$.properties.startDate'
|
|
613
|
-
completionTimeFromAscendingNode:
|
|
614
|
-
- 'completionDate={completionTimeFromAscendingNode#to_iso_date}'
|
|
615
|
-
- '$.properties.completionDate'
|
|
616
|
-
illuminationAzimuthAngle: '$.properties.illuminationAzimuthAngle'
|
|
617
|
-
illuminationZenithAngle: '$.properties.illuminationZenithAngle'
|
|
618
|
-
illuminationElevationAngle: '$.properties.illuminationElevationAngle'
|
|
619
|
-
polarizationMode: '$.properties.polarizationMode'
|
|
620
|
-
polarizationChannels: '$.properties.polarisationChannels'
|
|
621
|
-
antennaLookDirection: '$.properties.antennaLookDirection'
|
|
622
|
-
minimumIncidenceAngle: '$.properties.minimumIncidenceAngle'
|
|
623
|
-
maximumIncidenceAngle: '$.properties.maximumIncidenceAngle'
|
|
624
|
-
dopplerFrequency: '$.properties.dopplerFrequency'
|
|
625
|
-
incidenceAngleVariation: '$.properties.incidenceAngleVariation'
|
|
626
|
-
|
|
627
|
-
# Custom parameters (not defined in the base document referenced above)
|
|
628
|
-
id: '$.properties.productIdentifier'
|
|
629
|
-
tileIdentifier:
|
|
630
|
-
- 'location=T{tileIdentifier#replace_str(r"^T(.*)$",r"\1")}'
|
|
631
|
-
- '{$.properties.location#replace_str(r"^T(.*)$",r"\1")}'
|
|
632
|
-
# The geographic extent of the product
|
|
633
|
-
geometry:
|
|
634
|
-
- 'geometry={geometry#to_rounded_wkt}'
|
|
635
|
-
- '$.geometry'
|
|
636
|
-
# The url of the quicklook
|
|
637
|
-
quicklook: '$.properties.quicklook'
|
|
638
|
-
# The url to download the product "as is" (literal or as a template to be completed either after the search result
|
|
639
|
-
# is obtained from the provider or during the eodag download phase)
|
|
640
|
-
downloadLink: '$.properties.services.download.url'
|
|
641
|
-
|
|
642
|
-
# Additional metadata provided by the providers but that don't appear in the reference spec
|
|
643
|
-
# Or has a different signification for the provider
|
|
644
|
-
thumbnail: '$.properties.thumbnail'
|
|
645
|
-
|
|
646
|
-
# storageStatus set to ONLINE for consistency between providers
|
|
647
|
-
storageStatus: '{$.null#replace_str("Not Available","ONLINE")}'
|
|
648
|
-
|
|
649
|
-
products:
|
|
650
|
-
S2_MSI_L2A_MAJA:
|
|
651
|
-
processingLevel: LEVEL2A
|
|
652
|
-
collection: SENTINEL2
|
|
653
|
-
S2_MSI_L2B_MAJA_SNOW:
|
|
654
|
-
processingLevel: L2B-SNOW
|
|
655
|
-
collection: Snow
|
|
656
|
-
S2_MSI_L2B_MAJA_WATER:
|
|
657
|
-
processingLevel: L2B-WATER
|
|
658
|
-
collection: WaterQual
|
|
659
|
-
S2_MSI_L3A_WASP:
|
|
660
|
-
processingLevel: LEVEL3A
|
|
661
|
-
collection: SENTINEL2
|
|
662
|
-
SPOT_SWH:
|
|
663
|
-
collection: SPOTWORLDHERITAGE
|
|
664
|
-
processingLevel: LEVEL1C
|
|
665
|
-
SPOT_SWH_OLD:
|
|
666
|
-
collection: SWH1
|
|
667
|
-
processingLevel: LEVEL1C
|
|
668
|
-
SPOT5_SPIRIT:
|
|
669
|
-
collection: Spirit
|
|
670
|
-
processingLevel: 1A
|
|
671
|
-
VENUS_L1C:
|
|
672
|
-
collection: VENUS
|
|
673
|
-
processingLevel: LEVEL1C
|
|
674
|
-
VENUS_L2A_MAJA:
|
|
675
|
-
collection: VENUS
|
|
676
|
-
processingLevel: LEVEL2A
|
|
677
|
-
VENUS_L3A_MAJA:
|
|
678
|
-
collection: VENUS
|
|
679
|
-
processingLevel: LEVEL3A
|
|
680
|
-
L8_REFLECTANCE:
|
|
681
|
-
collection: LANDSAT
|
|
682
|
-
productType: REFLECTANCE
|
|
683
|
-
L57_REFLECTANCE:
|
|
684
|
-
collection: Landsat57
|
|
685
|
-
productType: REFLECTANCE
|
|
686
|
-
PLD_PAN:
|
|
687
|
-
collection: Pleiades
|
|
688
|
-
productType: Panchromatique+(Pan)
|
|
689
|
-
PLD_XS:
|
|
690
|
-
collection: Pleiades
|
|
691
|
-
productType: Multispectral+(XS)
|
|
692
|
-
PLD_BUNDLE:
|
|
693
|
-
collection: Pleiades
|
|
694
|
-
productType: Bundle+(Pan,+XS)
|
|
695
|
-
PLD_PANSHARPENED:
|
|
696
|
-
collection: Pleiades
|
|
697
|
-
productType: Pansharpened+(Pan%2BXS)
|
|
698
|
-
OSO:
|
|
699
|
-
collection: OSO
|
|
700
|
-
GENERIC_PRODUCT_TYPE:
|
|
701
|
-
productType: '{productType}'
|
|
702
|
-
collection: '{collection}'
|
|
703
|
-
processingLevel: '{processingLevel}'
|
|
704
|
-
download: !plugin
|
|
705
|
-
type: HTTPDownload
|
|
706
|
-
extract: true
|
|
707
|
-
archive_depth: 2
|
|
708
|
-
order_enabled: true
|
|
709
|
-
auth_error_code: 403
|
|
710
|
-
ssl_verify: true
|
|
711
|
-
dl_url_params:
|
|
712
|
-
issuerId: theia
|
|
713
|
-
auth: !plugin
|
|
714
|
-
type: TokenAuth
|
|
715
|
-
matching_url: https://theia.cnes.fr
|
|
716
|
-
auth_uri: 'https://theia.cnes.fr/atdistrib/services/authenticate/'
|
|
717
|
-
ssl_verify: true
|
|
718
|
-
|
|
719
538
|
---
|
|
720
539
|
!provider # MARK: peps
|
|
721
540
|
name: peps
|
|
@@ -1755,7 +1574,7 @@
|
|
|
1755
1574
|
<<: *month_year
|
|
1756
1575
|
CAMS_GLOBAL_EMISSIONS:
|
|
1757
1576
|
dataset: cams-global-emission-inventories
|
|
1758
|
-
version:
|
|
1577
|
+
version: v6.2
|
|
1759
1578
|
data_format: zip
|
|
1760
1579
|
variable: acids
|
|
1761
1580
|
source: anthropogenic
|
|
@@ -3122,21 +2941,15 @@
|
|
|
3122
2941
|
S1_SAR_RAW:
|
|
3123
2942
|
productType: EO:ESA:DAT:SENTINEL-1
|
|
3124
2943
|
providerProductType: RAW
|
|
3125
|
-
|
|
3126
|
-
<<: *s1_sar_params
|
|
3127
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-1"}}'
|
|
2944
|
+
metadata_mapping_from_product: S1_SAR_GRD
|
|
3128
2945
|
S1_SAR_OCN:
|
|
3129
2946
|
productType: EO:ESA:DAT:SENTINEL-1
|
|
3130
2947
|
providerProductType: OCN
|
|
3131
|
-
|
|
3132
|
-
<<: *s1_sar_params
|
|
3133
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-1"}}'
|
|
2948
|
+
metadata_mapping_from_product: S1_SAR_GRD
|
|
3134
2949
|
S1_SAR_SLC:
|
|
3135
2950
|
productType: EO:ESA:DAT:SENTINEL-1
|
|
3136
2951
|
providerProductType: SLC
|
|
3137
|
-
|
|
3138
|
-
<<: *s1_sar_params
|
|
3139
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-1"}}'
|
|
2952
|
+
metadata_mapping_from_product: S1_SAR_GRD
|
|
3140
2953
|
S2_MSI_L1C:
|
|
3141
2954
|
productType: EO:ESA:DAT:SENTINEL-2
|
|
3142
2955
|
providerProductType: S2MSI1C
|
|
@@ -3153,14 +2966,7 @@
|
|
|
3153
2966
|
productType: EO:ESA:DAT:SENTINEL-2
|
|
3154
2967
|
providerProductType: S2MSI2A
|
|
3155
2968
|
processingLevel: S2MSI2A
|
|
3156
|
-
|
|
3157
|
-
processingLevel:
|
|
3158
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3159
|
-
- '$.id.`sub(/^[^_]([^_]+)_([^_]+)_.*/, S2\\2)`'
|
|
3160
|
-
cloudCover:
|
|
3161
|
-
- '{{"cloudCover": "{cloudCover}"}}'
|
|
3162
|
-
- '$.null'
|
|
3163
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-2"}}'
|
|
2969
|
+
metadata_mapping_from_product: S2_MSI_L1C
|
|
3164
2970
|
S3_LAN_HY:
|
|
3165
2971
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3166
2972
|
providerProductType: SR_2_LAN_HY
|
|
@@ -3174,47 +2980,27 @@
|
|
|
3174
2980
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3175
2981
|
providerProductType: SR_2_LAN_SI
|
|
3176
2982
|
processingLevel: 2
|
|
3177
|
-
|
|
3178
|
-
processingLevel:
|
|
3179
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3180
|
-
- '2'
|
|
3181
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-3"}}'
|
|
2983
|
+
metadata_mapping_from_product: S3_LAN_HY
|
|
3182
2984
|
S3_LAN_LI:
|
|
3183
2985
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3184
2986
|
providerProductType: SR_2_LAN_LI
|
|
3185
2987
|
processingLevel: 2
|
|
3186
|
-
|
|
3187
|
-
processingLevel:
|
|
3188
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3189
|
-
- '2'
|
|
3190
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-3"}}'
|
|
2988
|
+
metadata_mapping_from_product: S3_LAN_HY
|
|
3191
2989
|
S3_OLCI_L2LFR:
|
|
3192
2990
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3193
2991
|
providerProductType: OL_2_LFR___
|
|
3194
2992
|
processingLevel: 2
|
|
3195
|
-
|
|
3196
|
-
processingLevel:
|
|
3197
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3198
|
-
- '2'
|
|
3199
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-3"}}'
|
|
2993
|
+
metadata_mapping_from_product: S3_LAN_HY
|
|
3200
2994
|
S3_OLCI_L2LRR:
|
|
3201
2995
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3202
2996
|
providerProductType: OL_2_LRR___
|
|
3203
2997
|
processingLevel: 2
|
|
3204
|
-
|
|
3205
|
-
processingLevel:
|
|
3206
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3207
|
-
- '2'
|
|
3208
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-3"}}'
|
|
2998
|
+
metadata_mapping_from_product: S3_LAN_HY
|
|
3209
2999
|
S3_SLSTR_L2:
|
|
3210
3000
|
productType: EO:ESA:DAT:SENTINEL-3
|
|
3211
3001
|
providerProductType: SL_2_LST___
|
|
3212
3002
|
processingLevel: 2
|
|
3213
|
-
|
|
3214
|
-
processingLevel:
|
|
3215
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3216
|
-
- '2'
|
|
3217
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-3"}}'
|
|
3003
|
+
metadata_mapping_from_product: S3_LAN_HY
|
|
3218
3004
|
S3_EFR:
|
|
3219
3005
|
productType: EO:EUM:DAT:SENTINEL-3:OL_1_EFR___
|
|
3220
3006
|
metadata_mapping:
|
|
@@ -3229,75 +3015,33 @@
|
|
|
3229
3015
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:OL_1_EFR___"}}'
|
|
3230
3016
|
S3_ERR:
|
|
3231
3017
|
productType: EO:EUM:DAT:SENTINEL-3:OL_1_ERR___
|
|
3018
|
+
metadata_mapping_from_product: S3_EFR
|
|
3232
3019
|
metadata_mapping:
|
|
3233
|
-
id:
|
|
3234
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3235
|
-
- '{$.id#remove_extension}'
|
|
3236
|
-
platform:
|
|
3237
|
-
- '{{"sat": "{platform}"}}'
|
|
3238
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3239
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3240
|
-
<<: *orbit_cycle
|
|
3241
3020
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:OL_1_ERR___"}}'
|
|
3242
3021
|
S3_OLCI_L2WFR:
|
|
3243
3022
|
productType: EO:EUM:DAT:SENTINEL-3:OL_2_WFR___
|
|
3023
|
+
metadata_mapping_from_product: S3_EFR
|
|
3244
3024
|
metadata_mapping:
|
|
3245
|
-
id:
|
|
3246
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3247
|
-
- '{$.id#remove_extension}'
|
|
3248
|
-
platform:
|
|
3249
|
-
- '{{"sat": "{platform}"}}'
|
|
3250
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3251
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3252
|
-
<<: *orbit_cycle
|
|
3253
3025
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:OL_2_WFR___"}}'
|
|
3254
3026
|
S3_OLCI_L2WRR:
|
|
3255
3027
|
productType: EO:EUM:DAT:SENTINEL-3:OL_2_WRR___
|
|
3028
|
+
metadata_mapping_from_product: S3_EFR
|
|
3256
3029
|
metadata_mapping:
|
|
3257
|
-
id:
|
|
3258
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3259
|
-
- '{$.id#remove_extension}'
|
|
3260
|
-
platform:
|
|
3261
|
-
- '{{"sat": "{platform}"}}'
|
|
3262
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3263
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3264
|
-
<<: *orbit_cycle
|
|
3265
3030
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:OL_2_WRR___"}}'
|
|
3266
3031
|
S3_SRA:
|
|
3267
3032
|
productType: EO:EUM:DAT:SENTINEL-3:SR_1_SRA___
|
|
3033
|
+
metadata_mapping_from_product: S3_EFR
|
|
3268
3034
|
metadata_mapping:
|
|
3269
|
-
id:
|
|
3270
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3271
|
-
- '{$.id#remove_extension}'
|
|
3272
|
-
platform:
|
|
3273
|
-
- '{{"sat": "{platform}"}}'
|
|
3274
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3275
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3276
|
-
<<: *orbit_cycle
|
|
3277
3035
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:SR_1_SRA___"}}'
|
|
3278
3036
|
S3_SRA_A:
|
|
3279
3037
|
productType: EO:EUM:DAT:SENTINEL-3:SR_1_SRA_A_
|
|
3038
|
+
metadata_mapping_from_product: S3_EFR
|
|
3280
3039
|
metadata_mapping:
|
|
3281
|
-
id:
|
|
3282
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3283
|
-
- '{$.id#remove_extension}'
|
|
3284
|
-
platform:
|
|
3285
|
-
- '{{"sat": "{platform}"}}'
|
|
3286
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3287
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3288
|
-
<<: *orbit_cycle
|
|
3289
3040
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:SR_1_SRA_A_"}}'
|
|
3290
3041
|
S3_SRA_BS:
|
|
3291
3042
|
productType: EO:EUM:DAT:SENTINEL-3:SR_1_SRA_BS
|
|
3043
|
+
metadata_mapping_from_product: S3_EFR
|
|
3292
3044
|
metadata_mapping:
|
|
3293
|
-
id:
|
|
3294
|
-
- '{{"timeliness": {id#split_id_into_s3_params}["timeliness"], "sat": {id#split_id_into_s3_params}["sat"], "startdate": {id#split_id_into_s3_params}["startDate"], "enddate": {id#split_id_into_s3_params}["endDate"]}}'
|
|
3295
|
-
- '{$.id#remove_extension}'
|
|
3296
|
-
platform:
|
|
3297
|
-
- '{{"sat": "{platform}"}}'
|
|
3298
|
-
- '$.id.`sub(/^[^_]([^_]+)_.*/, Sentinel-\\1)`'
|
|
3299
|
-
platformSerialIdentifier: '$.id.`sub(/^[^_]([^_]+)_.*/, S\\1)`'
|
|
3300
|
-
<<: *orbit_cycle
|
|
3301
3045
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EUM:DAT:SENTINEL-3:SR_1_SRA_BS"}}'
|
|
3302
3046
|
S3_SLSTR_L1RBT:
|
|
3303
3047
|
productType: EO:EUM:DAT:SENTINEL-3:SL_1_RBT___
|
|
@@ -3333,14 +3077,7 @@
|
|
|
3333
3077
|
S5P_L2_IR_ALL:
|
|
3334
3078
|
productType: EO:ESA:DAT:SENTINEL-5P
|
|
3335
3079
|
processingLevel: L2
|
|
3336
|
-
|
|
3337
|
-
processingLevel:
|
|
3338
|
-
- '{{"processingLevel": "{processingLevel}"}}'
|
|
3339
|
-
- '$.id.`sub(/^[^_]([^_]+)_([^_]+)_([^_]+)_.*/, \\3)`'
|
|
3340
|
-
processingMode:
|
|
3341
|
-
- '{{"processingMode": "{processingMode}"}}'
|
|
3342
|
-
- '$.null'
|
|
3343
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:SENTINEL-5P"}}'
|
|
3080
|
+
metadata_mapping_from_product: S5P_L1B_IR_ALL
|
|
3344
3081
|
EEA_DAILY_VI:
|
|
3345
3082
|
productType: EO:EEA:DAT:CLMS_HRVPP_VI
|
|
3346
3083
|
metadata_mapping:
|
|
@@ -3368,18 +3105,15 @@
|
|
|
3368
3105
|
COP_DEM_GLO30_DTED:
|
|
3369
3106
|
productType: EO:ESA:DAT:COP-DEM
|
|
3370
3107
|
providerProductType: DTE_30
|
|
3371
|
-
|
|
3372
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:COP-DEM"}}'
|
|
3108
|
+
metadata_mapping_from_product: COP_DEM_GLO30_DGED
|
|
3373
3109
|
COP_DEM_GLO90_DGED:
|
|
3374
3110
|
productType: EO:ESA:DAT:COP-DEM
|
|
3375
3111
|
providerProductType: DGE_90
|
|
3376
|
-
|
|
3377
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:COP-DEM"}}'
|
|
3112
|
+
metadata_mapping_from_product: COP_DEM_GLO30_DGED
|
|
3378
3113
|
COP_DEM_GLO90_DTED:
|
|
3379
3114
|
productType: EO:ESA:DAT:COP-DEM
|
|
3380
3115
|
providerProductType: DTE_90
|
|
3381
|
-
|
|
3382
|
-
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:ESA:DAT:COP-DEM"}}'
|
|
3116
|
+
metadata_mapping_from_product: COP_DEM_GLO30_DGED
|
|
3383
3117
|
CLMS_GLO_NDVI_333M:
|
|
3384
3118
|
productType: EO:CLMS:DAT:CLMS_GLOBAL_NDVI_300M_V1_10DAILY_NETCDF
|
|
3385
3119
|
providerProductType: NDVI300
|
|
@@ -3395,16 +3129,20 @@
|
|
|
3395
3129
|
CLMS_CORINE:
|
|
3396
3130
|
productType: EO:EEA:DAT:CORINE
|
|
3397
3131
|
providerProductType: Corine Land Cover 2018
|
|
3398
|
-
format: GeoTiff100mt
|
|
3399
3132
|
discover_metadata:
|
|
3400
3133
|
raise_mtd_discovery_error: true
|
|
3401
3134
|
metadata_mapping:
|
|
3402
|
-
id:
|
|
3135
|
+
id:
|
|
3136
|
+
- '{{"format": "{id#get_group_name((?P<GeoPackage>geoPackage)|(?P<ESRI fgdb>fgdb)|(?P<GeoTiff100mt>raster100m))}"}}'
|
|
3137
|
+
- '$.id'
|
|
3403
3138
|
providerProductType:
|
|
3404
3139
|
- '{{"product_type": "{providerProductType}"}}'
|
|
3405
3140
|
- '$.null'
|
|
3406
3141
|
startTimeFromAscendingNode: '$.properties.startdate'
|
|
3407
3142
|
completionTimeFromAscendingNode: '$.properties.enddate'
|
|
3143
|
+
format:
|
|
3144
|
+
- '{{"format": "{format}"}}'
|
|
3145
|
+
- '{$.id#get_group_name((?P<GeoPackage>geoPackage)|(?P<ESRI fgdb>fgdb)|(?P<GeoTiff100mt>raster100m))}'
|
|
3408
3146
|
defaultGeometry: 'POLYGON((180 -90, 180 90, -180 90, -180 -90, 180 -90))'
|
|
3409
3147
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:EEA:DAT:CORINE"}}'
|
|
3410
3148
|
CLMS_GLO_FCOVER_333M:
|
|
@@ -3419,38 +3157,26 @@
|
|
|
3419
3157
|
CLMS_GLO_DMP_333M:
|
|
3420
3158
|
productType: EO:CLMS:DAT:CLMS_GLOBAL_DMP_300M_V1_10DAILY_NETCDF
|
|
3421
3159
|
providerProductType: DMP300
|
|
3160
|
+
metadata_mapping_from_product: CLMS_GLO_FCOVER_333M
|
|
3422
3161
|
metadata_mapping:
|
|
3423
|
-
<<: *id_from_date
|
|
3424
|
-
productGroupId:
|
|
3425
|
-
- '{{"productGroupId": "{productGroupId}"}}'
|
|
3426
|
-
- '$.null'
|
|
3427
3162
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:CLMS:DAT:CLMS_GLOBAL_DMP_300M_V1_10DAILY_NETCDF"}}'
|
|
3428
3163
|
CLMS_GLO_GDMP_333M:
|
|
3429
3164
|
productType: EO:CLMS:DAT:CLMS_GLOBAL_GDMP_300M_V1_10DAILY_NETCDF
|
|
3430
3165
|
providerProductType: GDMP300
|
|
3166
|
+
metadata_mapping_from_product: CLMS_GLO_FCOVER_333M
|
|
3431
3167
|
metadata_mapping:
|
|
3432
|
-
<<: *id_from_date
|
|
3433
|
-
productGroupId:
|
|
3434
|
-
- '{{"productGroupId": "{productGroupId}"}}'
|
|
3435
|
-
- '$.null'
|
|
3436
3168
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:CLMS:DAT:CLMS_GLOBAL_GDMP_300M_V1_10DAILY_NETCDF"}}'
|
|
3437
3169
|
CLMS_GLO_FAPAR_333M:
|
|
3438
3170
|
productType: EO:CLMS:DAT:CLMS_GLOBAL_FAPAR_300M_V1_10DAILY_NETCDF
|
|
3439
3171
|
providerProductType: FAPAR300
|
|
3172
|
+
metadata_mapping_from_product: CLMS_GLO_FCOVER_333M
|
|
3440
3173
|
metadata_mapping:
|
|
3441
|
-
<<: *id_from_date
|
|
3442
|
-
productGroupId:
|
|
3443
|
-
- '{{"productGroupId": "{productGroupId}"}}'
|
|
3444
|
-
- '$.null'
|
|
3445
3174
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:CLMS:DAT:CLMS_GLOBAL_FAPAR_300M_V1_10DAILY_NETCDF"}}'
|
|
3446
3175
|
CLMS_GLO_LAI_333M:
|
|
3447
3176
|
productType: EO:CLMS:DAT:CLMS_GLOBAL_LAI_300M_V1_10DAILY_NETCDF
|
|
3448
3177
|
providerProductType: LAI300
|
|
3178
|
+
metadata_mapping_from_product: CLMS_GLO_FCOVER_333M
|
|
3449
3179
|
metadata_mapping:
|
|
3450
|
-
<<: *id_from_date
|
|
3451
|
-
productGroupId:
|
|
3452
|
-
- '{{"productGroupId": "{productGroupId}"}}'
|
|
3453
|
-
- '$.null'
|
|
3454
3180
|
orderLink: 'https://gateway.prod.wekeo2.eu/hda-broker/api/v1/dataaccess/download?{{"location": "{downloadLink}","product_id":"{id}", "dataset_id": "EO:CLMS:DAT:CLMS_GLOBAL_LAI_300M_V1_10DAILY_NETCDF"}}'
|
|
3455
3181
|
auth: !plugin
|
|
3456
3182
|
type: TokenAuth
|
|
@@ -3782,16 +3508,7 @@
|
|
|
3782
3508
|
pressure_level: 1
|
|
3783
3509
|
data_format: grib
|
|
3784
3510
|
download_format: unarchived
|
|
3785
|
-
|
|
3786
|
-
startTimeFromAscendingNode:
|
|
3787
|
-
- |
|
|
3788
|
-
{{
|
|
3789
|
-
"year": {startTimeFromAscendingNode#to_datetime_dict(list)}["year"],
|
|
3790
|
-
"month": {startTimeFromAscendingNode#to_datetime_dict(list)}["month"],
|
|
3791
|
-
"time": {startTimeFromAscendingNode#get_ecmwf_time}
|
|
3792
|
-
}}
|
|
3793
|
-
- $.properties.startdate
|
|
3794
|
-
completionTimeFromAscendingNode: $.properties.enddate
|
|
3511
|
+
metadata_mapping_from_product: ERA5_SL_MONTHLY
|
|
3795
3512
|
ERA5_LAND:
|
|
3796
3513
|
dataset: EO:ECMWF:DAT:REANALYSIS_ERA5_LAND
|
|
3797
3514
|
variable: 2m_dewpoint_temperature
|
|
@@ -3805,16 +3522,7 @@
|
|
|
3805
3522
|
variable: 2m_dewpoint_temperature
|
|
3806
3523
|
data_format: grib
|
|
3807
3524
|
download_format: unarchived
|
|
3808
|
-
|
|
3809
|
-
startTimeFromAscendingNode:
|
|
3810
|
-
- |
|
|
3811
|
-
{{
|
|
3812
|
-
"year": {startTimeFromAscendingNode#to_datetime_dict(list)}["year"],
|
|
3813
|
-
"month": {startTimeFromAscendingNode#to_datetime_dict(list)}["month"],
|
|
3814
|
-
"time": {startTimeFromAscendingNode#get_ecmwf_time}
|
|
3815
|
-
}}
|
|
3816
|
-
- $.properties.startdate
|
|
3817
|
-
completionTimeFromAscendingNode: $.properties.enddate
|
|
3525
|
+
metadata_mapping_from_product: ERA5_SL_MONTHLY
|
|
3818
3526
|
CAMS_EAC4:
|
|
3819
3527
|
dataset: EO:ECMWF:DAT:CAMS_GLOBAL_REANALYSIS_EAC4
|
|
3820
3528
|
data_format: grib
|
|
@@ -3822,7 +3530,7 @@
|
|
|
3822
3530
|
time: 00:00
|
|
3823
3531
|
CAMS_GLOBAL_EMISSIONS:
|
|
3824
3532
|
dataset: EO:ECMWF:DAT:CAMS_GLOBAL_EMISSION_INVENTORIES
|
|
3825
|
-
version:
|
|
3533
|
+
version: v6.2
|
|
3826
3534
|
data_format: zip
|
|
3827
3535
|
variable: acids
|
|
3828
3536
|
source: anthropogenic
|
|
@@ -4463,6 +4171,9 @@
|
|
|
4463
4171
|
product_type_fetch_url: null
|
|
4464
4172
|
constraints_url: "https://s3.central.data.destination-earth.eu/swift/v1/dedt-lumi-constraints/{dataset}.json"
|
|
4465
4173
|
metadata_mapping:
|
|
4174
|
+
geometry:
|
|
4175
|
+
- '{{"feature": {geometry#to_geojson_polytope}}}'
|
|
4176
|
+
- "$.geometry"
|
|
4466
4177
|
startTimeFromAscendingNode: '{$.startTimeFromAscendingNode#to_iso_utc_datetime}'
|
|
4467
4178
|
completionTimeFromAscendingNode:
|
|
4468
4179
|
- '{{"date": "{startTimeFromAscendingNode#to_non_separated_date}/to/{completionTimeFromAscendingNode#to_non_separated_date}"}}'
|
|
@@ -5072,6 +4783,16 @@
|
|
|
5072
4783
|
productType: STAT.EUSTAT.DAT.POP_CHANGE_DEMO_BALANCE_CRUDE_RATES_NUTS3
|
|
5073
4784
|
EUSTAT_SHARE_ENERGY_FROM_RENEWABLE:
|
|
5074
4785
|
productType: STAT.EUSTAT.DAT.SHARE_ENERGY_FROM_RENEWABLE
|
|
4786
|
+
EUSTAT_AVAILABLE_BEDS_HOSPITALS_NUTS2:
|
|
4787
|
+
productType: STAT.EUSTAT.DAT.AVAILABLE_BEDS_HOSPITALS_NUTS2
|
|
4788
|
+
EUSTAT_BATHING_SITES_WATER_QUALITY:
|
|
4789
|
+
productType: STAT.EUSTAT.DAT.BATHING_SITES_WATER_QUALITY
|
|
4790
|
+
EUSTAT_SOIL_SEALING_INDEX:
|
|
4791
|
+
productType: STAT.EUSTAT.DAT.SOIL_SEALING_INDEX
|
|
4792
|
+
EUSTAT_SURFACE_TERRESTRIAL_PROTECTED_AREAS:
|
|
4793
|
+
productType: STAT.EUSTAT.DAT.SURFACE_TERRESTRIAL_PROTECTED_AREAS
|
|
4794
|
+
EUSTAT_POP_DENSITY_NUTS3:
|
|
4795
|
+
productType: STAT.EUSTAT.DAT.POP_DENSITY_NUTS3
|
|
5075
4796
|
# ISIMIP
|
|
5076
4797
|
ISIMIP_CLIMATE_FORCING_ISIMIP3B:
|
|
5077
4798
|
productType: EO.ISIMIP.DAT.CLIMATE-FORCING_ISIMIP3b
|
|
@@ -5479,6 +5200,10 @@
|
|
|
5479
5200
|
parentIdentifier: EO:EUM:DAT:0302
|
|
5480
5201
|
MSG_MFG_GSA_0:
|
|
5481
5202
|
parentIdentifier: EO:EUM:DAT:0300
|
|
5203
|
+
MSG_CTH:
|
|
5204
|
+
parentIdentifier: EO:EUM:DAT:MSG:CTH
|
|
5205
|
+
MSG_CTH_IODC:
|
|
5206
|
+
parentIdentifier: EO:EUM:DAT:MSG:CTH-IODC
|
|
5482
5207
|
HIRS_FDR_1_MULTI:
|
|
5483
5208
|
parentIdentifier: EO:EUM:DAT:0647
|
|
5484
5209
|
MSG_OCA_CDR:
|
|
@@ -5812,6 +5537,10 @@
|
|
|
5812
5537
|
productType: PEPS_S2_L1C
|
|
5813
5538
|
S2_MSI_L2A_MAJA:
|
|
5814
5539
|
productType: MUSCATE_SENTINEL2_SENTINEL2_L2A
|
|
5540
|
+
S2_MSI_L2B_MAJA_SNOW:
|
|
5541
|
+
productType: MUSCATE_Snow_SENTINEL2_L2B-SNOW
|
|
5542
|
+
S2_MSI_L2B_MAJA_WATER:
|
|
5543
|
+
productType: MUSCATE_WaterQual_SENTINEL2_L2B-WATER
|
|
5815
5544
|
GENERIC_PRODUCT_TYPE:
|
|
5816
5545
|
productType: '{productType}'
|
|
5817
5546
|
download: !plugin
|
|
@@ -5935,6 +5664,10 @@
|
|
|
5935
5664
|
productType: PEPS_S2_L1C
|
|
5936
5665
|
S2_MSI_L2A_MAJA:
|
|
5937
5666
|
productType: MUSCATE_SENTINEL2_SENTINEL2_L2A
|
|
5667
|
+
S2_MSI_L2B_MAJA_SNOW:
|
|
5668
|
+
productType: MUSCATE_Snow_SENTINEL2_L2B-SNOW
|
|
5669
|
+
S2_MSI_L2B_MAJA_WATER:
|
|
5670
|
+
productType: MUSCATE_WaterQual_SENTINEL2_L2B-WATER
|
|
5938
5671
|
GENERIC_PRODUCT_TYPE:
|
|
5939
5672
|
productType: '{productType}'
|
|
5940
5673
|
download: !plugin
|
eodag/resources/stac.yml
CHANGED
|
@@ -195,8 +195,7 @@ item:
|
|
|
195
195
|
license: '{catalog[license]}'
|
|
196
196
|
constellation: '$.product.properties.platform'
|
|
197
197
|
platform: '$.product.properties.platformSerialIdentifier'
|
|
198
|
-
instruments:
|
|
199
|
-
- '$.product.properties.instrument'
|
|
198
|
+
instruments: '{$.product.properties.instrument#replace_str(r"^(.*)$",r"""["\1"]""")}'
|
|
200
199
|
gsd: '$.product.properties.resolution'
|
|
201
200
|
published: '$.product.properties.publicationDate'
|
|
202
201
|
eo:cloud_cover: '$.product.properties.cloudCover'
|
|
@@ -215,17 +215,6 @@ sara:
|
|
|
215
215
|
credentials:
|
|
216
216
|
username:
|
|
217
217
|
password:
|
|
218
|
-
theia:
|
|
219
|
-
priority: # Lower value means lower priority (Default: 0)
|
|
220
|
-
search: # Search parameters configuration
|
|
221
|
-
download:
|
|
222
|
-
extract:
|
|
223
|
-
output_dir:
|
|
224
|
-
dl_url_params:
|
|
225
|
-
auth:
|
|
226
|
-
credentials:
|
|
227
|
-
ident:
|
|
228
|
-
pass:
|
|
229
218
|
usgs:
|
|
230
219
|
priority: # Lower value means lower priority (Default: 0)
|
|
231
220
|
api:
|
eodag/rest/core.py
CHANGED
|
@@ -23,6 +23,7 @@ import os
|
|
|
23
23
|
import re
|
|
24
24
|
from typing import TYPE_CHECKING, cast
|
|
25
25
|
from unittest.mock import Mock
|
|
26
|
+
from urllib.parse import urlencode
|
|
26
27
|
|
|
27
28
|
import dateutil
|
|
28
29
|
from cachetools.func import lru_cache
|
|
@@ -68,7 +69,6 @@ from eodag.utils import (
|
|
|
68
69
|
dict_items_recursive_apply,
|
|
69
70
|
format_dict_items,
|
|
70
71
|
obj_md5sum,
|
|
71
|
-
urlencode,
|
|
72
72
|
)
|
|
73
73
|
from eodag.utils.exceptions import (
|
|
74
74
|
MisconfiguredError,
|
|
@@ -123,7 +123,7 @@ def format_product_types(product_types: list[dict[str, Any]]) -> str:
|
|
|
123
123
|
"""
|
|
124
124
|
result: list[str] = []
|
|
125
125
|
for pt in product_types:
|
|
126
|
-
result.append(f
|
|
126
|
+
result.append(f"* *__{pt['ID']}__*: {pt['abstract']}")
|
|
127
127
|
return "\n".join(sorted(result))
|
|
128
128
|
|
|
129
129
|
|
|
@@ -266,11 +266,7 @@ def download_stac_item(
|
|
|
266
266
|
_order_and_update(product, auth, kwargs)
|
|
267
267
|
|
|
268
268
|
download_stream = product.downloader._stream_download_dict(
|
|
269
|
-
product,
|
|
270
|
-
auth=auth,
|
|
271
|
-
asset=asset,
|
|
272
|
-
wait=-1,
|
|
273
|
-
timeout=-1,
|
|
269
|
+
product, auth=auth, asset=asset, wait=-1, timeout=-1
|
|
274
270
|
)
|
|
275
271
|
except NotImplementedError:
|
|
276
272
|
logger.warning(
|
|
@@ -686,7 +682,7 @@ def crunch_products(
|
|
|
686
682
|
cruncher = crunchers.get(cruncher_name)
|
|
687
683
|
if not cruncher:
|
|
688
684
|
raise ValidationError(
|
|
689
|
-
f
|
|
685
|
+
f"Unknown crunch name. Use one of: {', '.join(crunchers.keys())}"
|
|
690
686
|
)
|
|
691
687
|
|
|
692
688
|
cruncher_config: dict[str, Any] = {}
|
|
@@ -696,7 +692,7 @@ def crunch_products(
|
|
|
696
692
|
raise ValidationError(
|
|
697
693
|
(
|
|
698
694
|
f"cruncher {cruncher} require additional parameters:"
|
|
699
|
-
f
|
|
695
|
+
f" {', '.join(cruncher.config_params)}"
|
|
700
696
|
)
|
|
701
697
|
)
|
|
702
698
|
cruncher_config[config_param] = config_param_value
|