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

wekeo_ecmwf issue with SATELLITE_SEA_ICE_EDGE_TYPE #1422

Open
sbrunato opened this issue Dec 2, 2024 · 0 comments
Open

wekeo_ecmwf issue with SATELLITE_SEA_ICE_EDGE_TYPE #1422

sbrunato opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sbrunato
Copy link
Collaborator

sbrunato commented Dec 2, 2024

There is an issue when mapping region parameter during a search for SATELLITE_SEA_ICE_EDGE_TYPE on wekeo_ecmwf:

dag.search(
    provider="wekeo_ecmwf", 
    productType="SATELLITE_FIRE_BURNED_AREA", 
    start="2024-01-01", end="2024-01-02",
    raise_errors=True
)
  File "/home/sylvain/workspace/eodag/eodag/api/core.py", line 1218, in search
    search_results = self._do_search(
                     ^^^^^^^^^^^^^^^^
  File "/home/sylvain/workspace/eodag/eodag/api/core.py", line 1882, in _do_search
    res, nb_res = search_plugin.query(prep, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sylvain/workspace/eodag/eodag/plugins/search/qssearch.py", line 1654, in query
    qp, _ = self.build_query_string(product_type, **keywords)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sylvain/workspace/eodag/eodag/plugins/search/qssearch.py", line 916, in build_query_string
    query_params = format_query_params(product_type, self.config, kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sylvain/workspace/eodag/eodag/api/product/metadata_mapping.py", line 1306, in format_query_params
    orjson.loads(formatted_query_param),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
orjson.JSONDecodeError: unexpected character: line 1 column 15 (char 14)
@sbrunato sbrunato added the bug Something isn't working label Dec 2, 2024
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

1 participant