eodag 3.6.0__py3-none-any.whl → 3.8.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.
Files changed (35) hide show
  1. eodag/api/core.py +110 -189
  2. eodag/api/product/metadata_mapping.py +42 -3
  3. eodag/cli.py +6 -3
  4. eodag/config.py +7 -1
  5. eodag/plugins/authentication/openid_connect.py +1 -2
  6. eodag/plugins/download/aws.py +145 -178
  7. eodag/plugins/download/base.py +3 -2
  8. eodag/plugins/download/creodias_s3.py +10 -5
  9. eodag/plugins/download/http.py +14 -6
  10. eodag/plugins/download/s3rest.py +7 -3
  11. eodag/plugins/manager.py +1 -1
  12. eodag/plugins/search/base.py +34 -4
  13. eodag/plugins/search/build_search_result.py +3 -0
  14. eodag/plugins/search/cop_marine.py +2 -0
  15. eodag/plugins/search/data_request_search.py +6 -1
  16. eodag/plugins/search/qssearch.py +64 -25
  17. eodag/resources/ext_product_types.json +1 -1
  18. eodag/resources/product_types.yml +30 -171
  19. eodag/resources/providers.yml +87 -328
  20. eodag/resources/stac.yml +1 -2
  21. eodag/resources/stac_provider.yml +1 -1
  22. eodag/resources/user_conf_template.yml +0 -11
  23. eodag/rest/core.py +5 -16
  24. eodag/rest/stac.py +0 -4
  25. eodag/utils/__init__.py +41 -27
  26. eodag/utils/exceptions.py +4 -0
  27. eodag/utils/free_text_search.py +229 -0
  28. eodag/utils/s3.py +605 -65
  29. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/METADATA +7 -9
  30. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/RECORD +34 -34
  31. eodag/types/whoosh.py +0 -203
  32. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/WHEEL +0 -0
  33. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/entry_points.txt +0 -0
  34. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/licenses/LICENSE +0 -0
  35. {eodag-3.6.0.dist-info → eodag-3.8.0.dist-info}/top_level.txt +0 -0
@@ -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: latest
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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
- metadata_mapping:
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: '$.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
- metadata_mapping:
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
- metadata_mapping:
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: latest
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}"}}'
@@ -5489,6 +5200,10 @@
5489
5200
  parentIdentifier: EO:EUM:DAT:0302
5490
5201
  MSG_MFG_GSA_0:
5491
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
5492
5207
  HIRS_FDR_1_MULTI:
5493
5208
  parentIdentifier: EO:EUM:DAT:0647
5494
5209
  MSG_OCA_CDR:
@@ -5728,7 +5443,6 @@
5728
5443
  type: StacSearch
5729
5444
  api_endpoint: https://geodes-portal.cnes.fr/api/stac/search
5730
5445
  need_auth: false
5731
- ssl_verify: false
5732
5446
  asset_key_from_href: false
5733
5447
  discover_queryables:
5734
5448
  fetch_url: null
@@ -5822,11 +5536,14 @@
5822
5536
  productType: PEPS_S2_L1C
5823
5537
  S2_MSI_L2A_MAJA:
5824
5538
  productType: MUSCATE_SENTINEL2_SENTINEL2_L2A
5539
+ S2_MSI_L2B_MAJA_SNOW:
5540
+ productType: MUSCATE_Snow_SENTINEL2_L2B-SNOW
5541
+ S2_MSI_L2B_MAJA_WATER:
5542
+ productType: MUSCATE_WaterQual_SENTINEL2_L2B-WATER
5825
5543
  GENERIC_PRODUCT_TYPE:
5826
5544
  productType: '{productType}'
5827
5545
  download: !plugin
5828
5546
  type: HTTPDownload
5829
- ssl_verify: false
5830
5547
  ignore_assets: true
5831
5548
  archive_depth: 2
5832
5549
  auth_error_code:
@@ -5851,7 +5568,6 @@
5851
5568
  api_endpoint: https://geodes-portal.cnes.fr/api/stac/search
5852
5569
  s3_endpoint: https://s3.datalake.cnes.fr
5853
5570
  need_auth: true
5854
- ssl_verify: false
5855
5571
  asset_key_from_href: false
5856
5572
  discover_queryables:
5857
5573
  fetch_url: null
@@ -5945,6 +5661,10 @@
5945
5661
  productType: PEPS_S2_L1C
5946
5662
  S2_MSI_L2A_MAJA:
5947
5663
  productType: MUSCATE_SENTINEL2_SENTINEL2_L2A
5664
+ S2_MSI_L2B_MAJA_SNOW:
5665
+ productType: MUSCATE_Snow_SENTINEL2_L2B-SNOW
5666
+ S2_MSI_L2B_MAJA_WATER:
5667
+ productType: MUSCATE_WaterQual_SENTINEL2_L2B-WATER
5948
5668
  GENERIC_PRODUCT_TYPE:
5949
5669
  productType: '{productType}'
5950
5670
  download: !plugin
@@ -6208,3 +5928,42 @@
6208
5928
  <<: *day_month_year
6209
5929
  GENERIC_PRODUCT_TYPE:
6210
5930
  dataset: '{productType}'
5931
+ ---
5932
+ !provider # MARK: fedeo_ceda
5933
+ name: fedeo_ceda
5934
+ priority: 0
5935
+ description: CEDA datasets through FedEO Catalog
5936
+ roles:
5937
+ - host
5938
+ url: https://fedeo.ceos.org/
5939
+ search: !plugin
5940
+ type: StacSearch
5941
+ api_endpoint: 'https://fedeo.ceos.org/search'
5942
+ ssl_verify: false
5943
+ timeout: 20
5944
+ discover_product_types:
5945
+ fetch_url: 'https://fedeo.ceos.org/series/eo:organisationName/CEDA/'
5946
+ result_type: json
5947
+ results_entry: '$.links[?(@.rel=="child")]'
5948
+ generic_product_type_id: '{$.href#replace_str(r".*/", "")}'
5949
+ generic_product_type_parsable_properties:
5950
+ productType: '{$.href#replace_str(r".*/", "")}'
5951
+ title: '$.title'
5952
+ single_collection_fetch_url: 'https://fedeo.ceos.org/series/eo:organisationName/CEDA/{productType}'
5953
+ single_product_type_parsable_metadata:
5954
+ ID: '{$.assets.enclosure.href#ceda_collection_name}'
5955
+ abstract: '$.description'
5956
+ instrument: '{$.summaries.instruments#csv_list}'
5957
+ keywords: '{$.keywords#csv_list}'
5958
+ license: '$.license'
5959
+ platform: '{$.summaries.platform#csv_list}'
5960
+ title: '$.title'
5961
+ metadata_mapping:
5962
+ title: '{$.properties.title#remove_extension}'
5963
+ geometry: '$.geometry'
5964
+ assets: '{$.assets#dict_filter($[?(@.href =~ ".*\/thredds\/fileServer\/.*")])}'
5965
+ products:
5966
+ GENERIC_PRODUCT_TYPE:
5967
+ productType: '{productType}'
5968
+ download: !plugin
5969
+ type: HTTPDownload
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'
@@ -46,7 +46,7 @@ search:
46
46
  instrument: '{$.summaries.instruments#csv_list}'
47
47
  platform: '{$.summaries.constellation#csv_list}'
48
48
  platformSerialIdentifier: '{$.summaries.platform#csv_list}'
49
- processingLevel: '$.summaries."processing:level"'
49
+ processingLevel: '{$.summaries."processing:level"#csv_list}'
50
50
  keywords: '{$.keywords#csv_list}'
51
51
  license: '$.license'
52
52
  title: '$.title'
@@ -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: