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

Oldest products of CAMS_EU_AIR_QUALITY_FORECAST are removed each day #1463

Open
anesson-cs opened this issue Jan 9, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@anesson-cs
Copy link
Collaborator

Describe the bug
While listing queryables of CAMS_EU_AIR_QUALITY_FORECAST, an error is raised if the missionStartDate of the product type is not updated each day in the configuration

Code To Reproduce

    try:
        dag.list_queryables(productType="CAMS_EU_AIR_QUALITY_FORECAST", provider="cop_ads")
    except Exception as exc:
        print(f"Error when calling list_queryables with {product_type_id}: {exc}")

Output
Error when calling list_queryables with CAMS_EU_AIR_QUALITY_FORECAST: ecmwf:date=['2022-01-03/2022-01-04'] is not available with ecmwf:variable=ammonia, ecmwf:model=ensemble, ecmwf:level=0. Allowed values are 2023-07-14, 2023-10-23/2023-10-25, 2024-11-13/2024-11-17, 2022-03-02, 2023-03-03, 2023-10-26/2023-10-29, 2023-10-21, 2025-01-09, 2023-07-16/2023-08-31, 2023-08-16/2023-10-22, 2023-03-06/2023-03-07, 2023-07-11, 2022-12-14, 2023-07-19, 2022-12-15/2022-12-21, 2023-10-06, 2022-11-13/2022-11-21, 2022-11-01, 2022-11-10, 2024-04-22/2024-10-27, 2023-04-14/2023-06-08, 2022-11-22/2022-11-30, 2022-02-22, 2022-03-23/2022-05-22, 2022-11-03/2022-11-10, 2024-11-29/2024-12-02, 2022-03-23, 2022-10-26, 2023-06-14, 2022-12-06/2022-12-13, 2022-08-22/2022-10-25, 2023-09-29, 2023-07-15, 2023-07-20/2023-08-14, 2022-01-04/2022-01-12, 2022-11-11/2022-11-12, 2023-10-07/2023-10-20, 2023-04-05, 2022-10-27/2022-10-31, 2022-01-04/2022-02-21, 2022-03-24/2022-05-14, 2022-03-22, 2023-11-17, 2023-09-30/2023-10-05, 2023-12-03/2024-04-08, 2022-02-23/2022-03-01, 2022-11-21, 2023-10-30, 2022-11-02/2022-11-05, 2023-03-04/2023-03-05, 2023-10-31/2023-11-02, 2023-11-23/2023-11-29, 2023-06-15/2023-07-13, 2024-10-28, 2023-06-09, 2022-10-27, 2023-02-07/2023-04-04, 2024-01-18, 2023-06-16, 2024-12-03/2025-01-08, 2022-10-28/2022-11-01, 2022-06-15/2022-10-26, 2023-11-27, 2023-02-01/2023-02-18, 2023-11-22, 2022-11-11/2022-11-20, 2022-12-24/2023-01-20, 2023-01-20/2023-01-31, 2023-02-06, 2023-11-28/2023-12-01, 2023-10-22/2023-11-16, 2022-08-18/2022-08-21, 2022-02-24, 2022-05-24/2022-06-13, 2023-11-11/2023-11-19, 2022-11-02, 2023-03-26, 2022-12-21/2023-01-19, 2023-11-20/2023-11-21, 2023-12-01/2024-01-17, 2023-07-14/2023-07-18, 2023-04-12/2023-04-13, 2023-06-17/2023-07-10, 2022-12-01/2022-12-05, 2022-06-14/2022-08-17, 2023-01-21, 2023-02-19, 2022-12-22/2022-12-23, 2023-09-02/2023-09-20, 2022-02-25/2022-03-21, 2022-12-20, 2023-11-18/2023-11-20, 2022-05-16/2022-06-14, 2022-11-07/2022-11-09, 2024-12-02/2025-01-07, 2023-01-26/2023-02-05, 2023-06-10/2023-06-11, 2023-09-01, 2023-04-06/2023-06-13, 2023-11-04/2023-11-09, 2023-03-08/2023-03-25, 2023-07-12, 2023-01-22/2023-01-24, 2023-11-30, 2023-11-22/2023-11-26, 2024-11-18/2024-11-28, 2022-01-14/2022-01-20, 2023-02-20/2023-03-02, 2023-09-22/2023-09-28, 2023-11-03, 2022-11-22/2022-12-08, 2023-01-25, 2022-11-06, 2023-03-27/2023-04-11, 2023-06-13/2023-06-15, 2022-12-09, 2023-08-15, 2024-08-12/2024-11-12, 2024-11-29/2024-12-01, 2023-09-21, 2022-01-22/2022-02-23, 2024-08-11, 2023-07-13, 2024-04-09/2024-04-11, 2023-06-12, 2024-10-29/2024-11-28, 2022-03-03/2022-03-22, 2024-04-12/2024-04-20, 2023-11-21, 2022-01-13, 2022-01-21, 2023-11-10, 2022-05-15, 2024-01-19/2024-08-10, 2022-12-10/2022-12-19, 2023-12-02, 2024-04-21, 2022-05-23

Environment:

  • Python version: 3.12.3
  • EODAG version: 3.0.0b4.dev121+g7c92c3a7
@anesson-cs anesson-cs added the bug Something isn't working label Jan 9, 2025
@alambare
Copy link
Collaborator

We could use the today's date for this specific dataset. It always has data for the current day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants