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
onda: error with the geometry parameter #187
Comments
https://www.onda-dias.eu/cms/updates-on-major-incident-at-ovhcloud-infrastructure-12-march-2021/
Onda has been impacted by the incident on OVHcloud datacenter. We may wait that all catalog features are operational again |
Ok, I'll keep this issue open if someone else stumbles upon the same error, until the problem is fixed by onda, |
Would you happen to have the URL that returned this error? It's displayed in the logs when you set it ( It seems that onda hasn't yet completely recovered from the OVH issue. But we also fixed a bug in EODAG where the locations parameter was wrongly propagated as a special query kwarg (#186). |
|
@remi-braun you've got the error when searching using |
The usage of passing the locations query directly as kwargs, introduced in version 2.0, was still preserved for backwards compatibility, even if I think we'd like to remove it at some point and we have removed it from the docs. So until we release the next version, instead of: dag.search(locations=dict(s2_tiles_centroids="xxx")) you could use: dag.search(s2_tiles_centroids="xxx") |
Yes OK I will do that. |
I just tried the link in my original post and it still doesn't work. I also tried to to search for products on their catalog by drawing a polygon and got an "Invalid Search Text" . I guess they're still down |
The problem seems now to be related to products availability, and not a problem with geometry search: dags_L1C, _ = dag.search(productType="S2_MSI_L1C", start='2015-01-01', end='2021-02-26')
dags_L1C, _ = dag.search(productType="S2_MSI_L1C", start='2021-02-26', end='2021-02-27')
dags_L1C, _ = dag.search(productType="S2_MSI_L1C", start='2021-02-26', end='2021-02-27',
locations=dict(country="FRA"))
|
https://www.onda-dias.eu/cms/updates-on-major-incident-at-ovhcloud-infrastructure-12-march-2021/
Wait and see, then 😄 |
Onda search on old products works know well: dags_L1C, _ = dag.search(productType="S2_MSI_L1C", start='2015-01-01', end='2021-02-26')
And so does dags_L1C, _ = dag.search(productType="S2_MSI_L1C", start='2015-01-01', end='2021-02-26', geom="POINT(123.45 43.21)")
See https://www.onda-dias.eu/cms/updates-on-major-incident-at-ovhcloud-infrastructure/ |
The geometry passed to onda doesn't seem to work anymore, try for instance the following request (cuont request) made to onda in its end to end test:
https://catalogue.onda-dias.eu/dias-catalogue/Products?productType=S2MSI1C&$format=json&$search=%22footprint:%22Intersects%28POLYGON%20%28%280.2564%2043.1956%2C%200.2564%2043.9078%2C%202.3798%2043.9078%2C%202.3798%2043.1956%2C%200.2564%2043.1956%29%29%29%22%20AND%20productType:S2MSI1C%20AND%20beginPosition:[2021-03-12T00:00:00.000Z%20TO%20%2A]%20AND%20endPosition:[%2A%20TO%202021-03-19T00:00:00.000Z]%22
The returned error is:
The text was updated successfully, but these errors were encountered: