Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecmwf simplify config #1433

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Ecmwf simplify config #1433

wants to merge 1 commit into from

Conversation

alambare
Copy link
Collaborator

@alambare alambare commented Dec 9, 2024

No description provided.

@alambare alambare self-assigned this Dec 9, 2024
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Test Results

    3 files   -     1      3 suites   - 1   3m 18s ⏱️ - 3m 8s
  590 tests ±    0    576 ✅  -    11  3 💤 ± 0  11 ❌ +11 
1 180 runs   - 1 180  1 152 ✅  - 1 110  6 💤  - 92  22 ❌ +22 

For more details on these failures, see this check.

Results for commit 745353c. ± Comparison against base commit 8e47f11.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Dec 9, 2024

badge

Code Coverage (Ubuntu)

Filename                                     Stmts    Miss  Cover    Missing
-----------------------------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
__init__.py                                      8       0  100.00%
cli.py                                         323      64  80.19%   62-63, 87, 674-737, 839-890, 894
config.py                                      430      27  93.72%   83-85, 94, 102, 106-108, 179, 190, 695-697, 810-813, 856-857, 866-867, 972, 1035-1040, 1042
crunch.py                                        5       5  0.00%    20-24
api/__init__.py                                  0       0  100.00%
api/core.py                                    783      74  90.55%   317-318, 368, 658, 702-705, 743, 787, 821, 866-871, 897, 988, 1056, 1194, 1279-1291, 1327, 1329, 1357, 1361-1372, 1385-1391, 1474-1477, 1510-1530, 1582, 1599-1603, 1615-1618, 1954, 1978-1984, 2235, 2239-2243, 2252-2254, 2298-2299, 2328-2329
api/search_result.py                            58       4  93.10%   92, 101, 108, 122
api/product/__init__.py                          6       0  100.00%
api/product/_assets.py                          48       5  89.58%   75, 147, 155, 158-162
api/product/_product.py                        188      20  89.36%   70-72, 232-233, 308, 337, 394, 408-411, 424, 448-451, 494-500
api/product/metadata_mapping.py                695      77  88.92%   131-133, 230, 262-263, 309-310, 320-332, 334, 345, 351-363, 370, 410-411, 448, 469-472, 495, 503-504, 590-591, 615-616, 622-625, 640-641, 790, 836, 989, 998-1002, 1019-1024, 1151, 1165-1185, 1205, 1210, 1339, 1353, 1378, 1424, 1476, 1499-1500, 1516-1520, 1536, 1544
api/product/drivers/__init__.py                  6       0  100.00%
api/product/drivers/base.py                      6       1  83.33%   38
plugins/__init__.py                              0       0  100.00%
plugins/base.py                                 21       2  90.48%   48, 55
plugins/manager.py                             172      14  91.86%   116-121, 171, 209, 231, 235, 259, 399-402, 414-415
plugins/apis/__init__.py                         0       0  100.00%
plugins/apis/base.py                             4       0  100.00%
plugins/apis/ecmwf.py                           97      33  65.98%   166-168, 196-198, 212-259, 297-298
plugins/apis/usgs.py                           180      26  85.56%   155, 257, 291, 326-328, 333, 359-360, 365, 395-402, 413-418, 440-446, 477
plugins/authentication/__init__.py               6       1  83.33%   31
plugins/authentication/aws_auth.py              19       0  100.00%
plugins/authentication/base.py                  17       2  88.24%   43, 56
plugins/authentication/generic.py               14       2  85.71%   51, 61
plugins/authentication/header.py                19       0  100.00%
plugins/authentication/keycloak.py              46       7  84.78%   151-154, 175-180
plugins/authentication/oauth.py                 13       7  46.15%   42-44, 48-51
plugins/authentication/openid_connect.py       206      27  86.89%   80-81, 93-111, 149, 155-183, 191, 323-326, 352
plugins/authentication/qsauth.py                34       1  97.06%   91
plugins/authentication/sas_auth.py              47       1  97.87%   76
plugins/authentication/token.py                100      16  84.00%   141, 170, 172, 207-220, 276-280
plugins/authentication/token_exchange.py        36      14  61.11%   75, 92-120
plugins/crunch/__init__.py                       0       0  100.00%
plugins/crunch/base.py                          10       1  90.00%   43
plugins/crunch/filter_date.py                   59      14  76.27%   52-57, 69, 78, 87, 90, 102-104, 113-115, 122
plugins/crunch/filter_latest_intersect.py       47       8  82.98%   52-53, 69, 78-81, 83, 90-93
plugins/crunch/filter_latest_tpl_name.py        31       1  96.77%   83
plugins/crunch/filter_overlap.py                66      18  72.73%   28-30, 66-69, 76-79, 85, 93, 104-120
plugins/crunch/filter_property.py               30       5  83.33%   55-60, 63-64
plugins/download/__init__.py                     0       0  100.00%
plugins/download/aws.py                        491     163  66.80%   282, 295, 362-365, 379-383, 425-427, 431, 463-464, 470-474, 504, 536, 540, 547, 577-585, 589, 621-629, 640-642, 673-747, 765-823, 834-839, 851-864, 889, 904-906, 909, 919-927, 935-948, 958-989, 996-1008, 1046, 1072, 1117-1119, 1339
plugins/download/base.py                       253      42  83.40%   136, 164, 244-247, 300-301, 349-353, 359-360, 402, 405-419, 431, 435, 499-503, 533-534, 559-567, 569-573, 616, 638, 660, 668
plugins/download/creodias_s3.py                 25       9  64.00%   55-69
plugins/download/http.py                       528     104  80.30%   236, 332-335, 338, 345-350, 368-383, 400, 412, 460, 467-473, 491, 505, 519, 527-529, 545-550, 561, 579, 615-618, 647, 651, 671, 747-814, 832, 862-871, 907, 932-933, 952-957, 963, 966, 983, 986, 1001-1002, 1029-1030, 1037, 1099, 1114, 1173-1174, 1180, 1190, 1226, 1262, 1282, 1317-1319
plugins/download/s3rest.py                     116      24  79.31%   118, 152, 159, 194, 221-228, 231-233, 237, 248-254, 262-263, 266-270, 293, 314-317
plugins/search/__init__.py                      22       0  100.00%
plugins/search/base.py                         145      11  92.41%   100, 104, 128-134, 274, 294, 427
plugins/search/build_search_result.py          322     141  56.21%   227-283, 416-433, 457, 505, 507, 542, 551-647, 665-766, 783-844, 863-881, 948-949, 955, 966, 1020-1027, 1053
plugins/search/cop_marine.py                   244      47  80.74%   56, 64-66, 76-77, 82, 87-88, 104, 106, 109, 175-176, 228, 234, 238, 242, 255, 266-267, 275, 303, 307, 322, 326, 330, 334, 338-342, 348-351, 354-368, 385, 434-438, 443, 455
plugins/search/creodias_s3.py                   57       3  94.74%   59, 77, 116
plugins/search/csw.py                          105      81  22.86%   98-99, 103-104, 112-160, 166-179, 187-219, 237-278
plugins/search/data_request_search.py          202      69  65.84%   188-191, 207, 218, 222-223, 234, 239, 244, 251, 264-267, 321-322, 326, 336-342, 347, 373-376, 384-395, 412, 414, 421-424, 426-427, 445-449, 482, 492, 503, 516, 522-537, 542
plugins/search/qssearch.py                     733      89  87.86%   453, 511, 525, 529-535, 563-567, 680-692, 737-740, 811-812, 860, 879, 886, 898, 955, 976, 979-980, 989-990, 999-1000, 1009-1010, 1037, 1112-1117, 1121-1130, 1164, 1186, 1263, 1353, 1438-1439, 1449, 1526-1530, 1592, 1595, 1601-1602, 1623, 1651-1663, 1670, 1702-1704, 1714-1720, 1750, 1773, 1778-1779, 1794, 1810, 1895-1898, 1903-1906, 1915, 1945-1949, 1955
plugins/search/static_stac_search.py            75      13  82.67%   98-124, 140, 153
rest/__init__.py                                 4       2  50.00%   21-22
rest/cache.py                                   33       7  78.79%   35-37, 53-55, 59, 68
rest/config.py                                  25       0  100.00%
rest/constants.py                                6       0  100.00%
rest/core.py                                   260      66  74.62%   258, 266, 284-301, 316-352, 446, 483-522, 705, 712-765
rest/errors.py                                  69       5  92.75%   106, 116, 127, 143-144
rest/server.py                                 192      24  87.50%   94, 117-119, 293-298, 326, 522-524, 541-546, 575, 577, 581-582, 586-587
rest/stac.py                                   319      63  80.25%   309, 331, 383-386, 413-440, 471-473, 496, 528-529, 611-651, 673-689, 781-785, 792, 846-847, 908, 998-1000
rest/types/__init__.py                           0       0  100.00%
rest/types/collections_search.py                13      13  0.00%    18-44
rest/types/eodag_search.py                     180       6  96.67%   225-229, 282, 285, 353, 385
rest/types/queryables.py                        57       5  91.23%   93-98, 162
rest/types/stac_search.py                      125       7  94.40%   138, 184, 199-201, 209, 213
rest/utils/__init__.py                          94      12  87.23%   111-112, 131-133, 185, 195-209
rest/utils/cql_evaluate.py                      48       5  89.58%   69, 76, 90, 97, 105
rest/utils/rfc3339.py                           23       3  86.96%   48, 60, 62
types/__init__.py                              128      46  64.06%   66, 79-83, 94-106, 134-136, 143-148, 187-196, 208, 230, 240-256, 261, 263, 285, 290, 298, 308
types/bbox.py                                   43      19  55.81%   46-61, 72-74, 85-87, 99-101, 113-115, 123
types/download_args.py                           9       0  100.00%
types/queryables.py                            108       6  94.44%   60-65
types/search_args.py                            70      18  74.29%   60-64, 71-88, 103
types/whoosh.py                                 82      16  80.49%   131-134, 138-145, 157-163, 176-178
utils/__init__.py                              533      48  90.99%   85, 201-202, 211-238, 241, 256, 336-340, 413-417, 436-438, 451-465, 544, 559, 599-600, 629, 1004-1007, 1015-1016, 1054-1055, 1102-1103, 1237
utils/exceptions.py                             46       0  100.00%
utils/import_system.py                          28      19  32.14%   64-78, 89-99
utils/logging.py                                28       1  96.43%   41
utils/notebook.py                               44      23  47.73%   25-29, 36-41, 58-62, 72-78, 83-87
utils/repr.py                                   38       8  78.95%   51, 53, 57, 98, 122-129
utils/requests.py                               55      29  47.27%   51-52, 64, 85-96, 107-124, 128
utils/rest.py                                   36       1  97.22%   55
utils/stac_reader.py                           111      45  59.46%   56-57, 63-85, 95-97, 101, 137, 153-156, 203-212, 222-252
TOTAL                                         9955    1770  82.22%

Diff against develop

Filename                                 Stmts    Miss  Cover
-------------------------------------  -------  ------  -------
api/product/metadata_mapping.py              0      +1  -0.14%
plugins/apis/ecmwf.py                        0     +23  -23.71%
plugins/search/build_search_result.py      -35     +92  -30.06%
types/__init__.py                            0      +4  -3.13%
types/queryables.py                          0      +5  -4.63%
TOTAL                                      -35    +125  -1.31%

Results for commit: 745353c

Minimum allowed coverage is 70%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Dec 9, 2024

badge

Code Coverage (Windows)

Filename                                     Stmts    Miss  Cover    Missing
-----------------------------------------  -------  ------  -------  ---------
__init__.py                                      8       8  0.00%    25-38
cli.py                                         323     323  0.00%    43-894
config.py                                      430     430  0.00%    18-1053
crunch.py                                        5       5  0.00%    20-24
api/__init__.py                                  0       0  100.00%
api/core.py                                    783     783  0.00%    18-2414
api/search_result.py                            58      58  0.00%    18-238
api/product/__init__.py                          6       6  0.00%    20-32
api/product/_assets.py                          48      48  0.00%    18-162
api/product/_product.py                        188     188  0.00%    18-515
api/product/metadata_mapping.py                695     695  0.00%    18-1628
api/product/drivers/__init__.py                  6       6  0.00%    19-29
api/product/drivers/base.py                      6       6  0.00%    18-41
plugins/__init__.py                              0       0  100.00%
plugins/base.py                                 21      21  0.00%    18-68
plugins/manager.py                             172     172  0.00%    18-485
plugins/apis/__init__.py                         0       0  100.00%
plugins/apis/base.py                             4       4  0.00%    18-24
plugins/apis/ecmwf.py                           97      97  0.00%    18-298
plugins/apis/usgs.py                           180     180  0.00%    18-477
plugins/authentication/__init__.py               6       6  0.00%    19-31
plugins/authentication/aws_auth.py              19      19  0.00%    18-84
plugins/authentication/base.py                  17      17  0.00%    18-66
plugins/authentication/generic.py               14      14  0.00%    18-61
plugins/authentication/header.py                19      19  0.00%    18-115
plugins/authentication/keycloak.py              46      46  0.00%    18-181
plugins/authentication/oauth.py                 13      13  0.00%    18-51
plugins/authentication/openid_connect.py       206     206  0.00%    18-547
plugins/authentication/qsauth.py                34      34  0.00%    18-112
plugins/authentication/sas_auth.py              47      47  0.00%    18-125
plugins/authentication/token.py                100     100  0.00%    18-294
plugins/authentication/token_exchange.py        36      36  0.00%    18-120
plugins/crunch/__init__.py                       0       0  100.00%
plugins/crunch/base.py                          10      10  0.00%    18-43
plugins/crunch/filter_date.py                   59      59  0.00%    18-126
plugins/crunch/filter_latest_intersect.py       47      47  0.00%    18-112
plugins/crunch/filter_latest_tpl_name.py        31      31  0.00%    18-95
plugins/crunch/filter_overlap.py                66      66  0.00%    18-167
plugins/crunch/filter_property.py               30      30  0.00%    18-88
plugins/download/__init__.py                     0       0  100.00%
plugins/download/aws.py                        491     491  0.00%    18-1339
plugins/download/base.py                       253     253  0.00%    18-681
plugins/download/creodias_s3.py                 25      25  0.00%    18-96
plugins/download/http.py                       528     528  0.00%    18-1380
plugins/download/s3rest.py                     116     116  0.00%    18-334
plugins/search/__init__.py                      22      22  0.00%    19-54
plugins/search/base.py                         145     145  0.00%    18-432
plugins/search/build_search_result.py          322     322  0.00%    18-1185
plugins/search/cop_marine.py                   244     244  0.00%    18-469
plugins/search/creodias_s3.py                   57      57  0.00%    18-155
plugins/search/csw.py                          105     105  0.00%    18-278
plugins/search/data_request_search.py          202     202  0.00%    18-544
plugins/search/qssearch.py                     733     733  0.00%    18-2003
plugins/search/static_stac_search.py            75      75  0.00%    18-218
rest/__init__.py                                 4       4  0.00%    19-22
rest/cache.py                                   33      33  0.00%    18-70
rest/config.py                                  25      25  0.00%    18-67
rest/constants.py                                6       6  0.00%    19-26
rest/core.py                                   260     260  0.00%    18-765
rest/errors.py                                  69      69  0.00%    18-181
rest/server.py                                 192     192  0.00%    18-600
rest/stac.py                                   319     319  0.00%    18-1007
rest/types/__init__.py                           0       0  100.00%
rest/types/collections_search.py                13      13  0.00%    18-44
rest/types/eodag_search.py                     180     180  0.00%    18-386
rest/types/queryables.py                        57      57  0.00%    18-162
rest/types/stac_search.py                      125     125  0.00%    20-282
rest/utils/__init__.py                          94      94  0.00%    19-214
rest/utils/cql_evaluate.py                      48      48  0.00%    18-119
rest/utils/rfc3339.py                           23      23  0.00%    18-64
types/__init__.py                              128     128  0.00%    20-368
types/bbox.py                                   43      43  0.00%    18-123
types/download_args.py                           9       9  0.00%    18-40
types/queryables.py                            108     108  0.00%    18-234
types/search_args.py                            70      70  0.00%    18-133
types/whoosh.py                                 82      82  0.00%    18-205
utils/__init__.py                              533     533  0.00%    24-1536
utils/exceptions.py                             46      46  0.00%    18-138
utils/import_system.py                          28      28  0.00%    18-99
utils/logging.py                                28      28  0.00%    18-120
utils/notebook.py                               44      44  0.00%    18-87
utils/repr.py                                   38      38  0.00%    18-172
utils/requests.py                               55      55  0.00%    18-128
utils/rest.py                                   36      36  0.00%    20-100
utils/stac_reader.py                           111     111  0.00%    18-252
TOTAL                                         9955    9955  0.00%

Diff against develop

Filename                                     Stmts    Miss  Cover
-----------------------------------------  -------  ------  --------
__init__.py                                      0      +8  -100.00%
cli.py                                           0    +259  -80.19%
config.py                                        0    +402  -93.49%
api/core.py                                      0    +709  -90.55%
api/search_result.py                             0     +54  -93.10%
api/product/__init__.py                          0      +6  -100.00%
api/product/_assets.py                           0     +43  -89.58%
api/product/_product.py                          0    +168  -89.36%
api/product/metadata_mapping.py                  0    +618  -88.92%
api/product/drivers/__init__.py                  0      +6  -100.00%
api/product/drivers/base.py                      0      +5  -83.33%
plugins/base.py                                  0     +18  -85.71%
plugins/manager.py                               0    +158  -91.86%
plugins/apis/base.py                             0      +4  -100.00%
plugins/apis/ecmwf.py                            0     +87  -89.69%
plugins/apis/usgs.py                             0    +154  -85.56%
plugins/authentication/__init__.py               0      +5  -83.33%
plugins/authentication/aws_auth.py               0     +19  -100.00%
plugins/authentication/base.py                   0     +15  -88.24%
plugins/authentication/generic.py                0     +12  -85.71%
plugins/authentication/header.py                 0     +19  -100.00%
plugins/authentication/keycloak.py               0     +39  -84.78%
plugins/authentication/oauth.py                  0      +6  -46.15%
plugins/authentication/openid_connect.py         0    +179  -86.89%
plugins/authentication/qsauth.py                 0     +33  -97.06%
plugins/authentication/sas_auth.py               0     +46  -97.87%
plugins/authentication/token.py                  0     +84  -84.00%
plugins/authentication/token_exchange.py         0     +22  -61.11%
plugins/crunch/base.py                           0      +9  -90.00%
plugins/crunch/filter_date.py                    0     +45  -76.27%
plugins/crunch/filter_latest_intersect.py        0     +14  -29.79%
plugins/crunch/filter_latest_tpl_name.py         0     +30  -96.77%
plugins/crunch/filter_overlap.py                 0     +48  -72.73%
plugins/crunch/filter_property.py                0     +25  -83.33%
plugins/download/aws.py                          0    +328  -66.80%
plugins/download/base.py                         0    +209  -82.61%
plugins/download/creodias_s3.py                  0     +16  -64.00%
plugins/download/http.py                         0    +424  -80.30%
plugins/download/s3rest.py                       0     +92  -79.31%
plugins/search/__init__.py                       0     +22  -100.00%
plugins/search/base.py                           0    +134  -92.41%
plugins/search/build_search_result.py          -35    +272  -85.99%
plugins/search/cop_marine.py                     0    +197  -80.74%
plugins/search/creodias_s3.py                    0     +54  -94.74%
plugins/search/csw.py                            0     +24  -22.86%
plugins/search/data_request_search.py            0    +133  -65.84%
plugins/search/qssearch.py                       0    +608  -82.95%
plugins/search/static_stac_search.py             0     +62  -82.67%
rest/__init__.py                                 0      +2  -50.00%
rest/cache.py                                    0     +11  -33.33%
rest/config.py                                   0     +24  -96.00%
rest/constants.py                                0      +6  -100.00%
rest/core.py                                     0    +107  -41.15%
rest/errors.py                                   0     +20  -28.99%
rest/stac.py                                     0    +251  -78.68%
rest/types/eodag_search.py                       0    +160  -88.89%
rest/types/queryables.py                         0     +44  -77.19%
rest/types/stac_search.py                        0    +114  -91.20%
rest/utils/__init__.py                           0     +64  -68.09%
rest/utils/cql_evaluate.py                       0     +43  -89.58%
rest/utils/rfc3339.py                            0     +18  -78.26%
types/__init__.py                                0     +84  -65.62%
types/bbox.py                                    0     +24  -55.81%
types/download_args.py                           0      +9  -100.00%
types/queryables.py                              0    +107  -99.07%
types/search_args.py                             0     +52  -74.29%
types/whoosh.py                                  0     +66  -80.49%
utils/__init__.py                                0    +485  -90.99%
utils/exceptions.py                              0     +46  -100.00%
utils/import_system.py                           0      +9  -32.14%
utils/logging.py                                 0     +27  -96.43%
utils/notebook.py                                0     +21  -47.73%
utils/repr.py                                    0     +30  -78.95%
utils/requests.py                                0     +26  -47.27%
utils/rest.py                                    0     +35  -97.22%
utils/stac_reader.py                             0     +66  -59.46%
TOTAL                                          -35   +7875  -79.18%

Results for commit: 745353c

Minimum allowed coverage is 70%

♻️ This comment has been updated with latest results

@alambare alambare force-pushed the ecmwf-simplify-config branch 3 times, most recently from 25619b9 to a40013f Compare January 16, 2025 09:56
@alambare alambare force-pushed the ecmwf-simplify-config branch from a40013f to 745353c Compare January 17, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant