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

i.sentinel.download: use EODAG as a unified API for downloading sentinel products #1150

Merged
merged 31 commits into from
Aug 21, 2024

Conversation

HamedElgizery
Copy link
Contributor

@HamedElgizery HamedElgizery commented Jul 31, 2024

This PR will reimplement i.sentinel.download making use of the i.eodag module to use the EODAG API as the main source of Sentinel products.

@HamedElgizery HamedElgizery marked this pull request as draft July 31, 2024 16:30
@lucadelu
Copy link
Contributor

It seems a big simplification, as soon it will be ready to test let us know.

@HamedElgizery
Copy link
Contributor Author

@neteler @ninsbl
I was looking for these two products S3OL1RAC & S3OL1SAC on EODAG but they don't exist on Copernicus.
I did find the first one, S3OL1RAC, on two other providers (WEKEO & SARA), but for the second product, S3OL1SAC, I don't seem to find it anywhere. Do you have any suggestion about them and if they are necessary to have?

Copy link
Contributor

@veroandreo veroandreo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a couple of comments. Would you mind updating the manual page too, so it's easier to test?

@HamedElgizery
Copy link
Contributor Author

I left a couple of comments. Would you mind updating the manual page too, so it's easier to test?

Thanks @veroandreo, I will update the manual ASAP.

@ninsbl
Copy link
Member

ninsbl commented Aug 3, 2024

Do you have any suggestion about them and if they are necessary to have?

S3 OL 1 RAC is an internal product. Perfectly fine to drop it... Not sure what the background of the SAC product has been. But I did not find documentation either. So fine to drop as well...

Copy link
Member

@ninsbl ninsbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A general question is how backwards-compatibility is handled or if we should put a lot of effort into it?

Some features will disappear in this PR (e.g. possibility to download from DHUS portals = sentinelsat).

Personally, I would give priority to basic tests in i.eodag...

@HamedElgizery
Copy link
Contributor Author

HamedElgizery commented Aug 4, 2024

Thanks for the review, @ninsbl.

Personally, I would give priority to basic tests in i.eodag...

I will be working on that in parallel with this PR now.
This PR should be ready soon, as I think what is remaining for the most part is:

  1. Updating the manual.
  2. Emulate the -p flag to give a similar output as the previous implementation.

Is there any points that I might have not recognized?

@ninsbl
Copy link
Member

ninsbl commented Aug 6, 2024

I will be working on that in parallel with this PR now. This PR should be ready soon, as I think what is remaining for the most part is: (...)
2. Emulate the -p flag to give a similar output as the previous implementation.

For me it is no problem if the format of printed info changes a bit after switching to eodag... Not an issue I would invest a lot of time in. As mentioned, I think there will be breaking changes anyway...

@HamedElgizery HamedElgizery marked this pull request as ready for review August 9, 2024 17:58
@veroandreo
Copy link
Contributor

There are unresolved conversations here, a merging conflict and then we need an approval to merge. Can you please check the unresolved conversations and merge conflict @HamedElgizery ? After that I'd merge and do a second round of review once all is in

@ninsbl
Copy link
Member

ninsbl commented Aug 19, 2024

As @veroandreo mentioned, backwards compatibility is not that a hard requirement for addons, But I think users should get a heads-up (GRASS-dev / GRASS-users ML) before breaking changes are submittet.

@veroandreo
Copy link
Contributor

As @veroandreo mentioned, backwards compatibility is not that a hard requirement for addons, But I think users should get a heads-up (GRASS-dev / GRASS-users ML) before breaking changes are submittet.

I agree we can do a courtesy heads up, but that's not common practice for addons really. COAH and sentinelsat stopped working almost one year ago, so users of i.sentinel should already know, I suppose.

I am moreover for merging this, update the manual with a notice about COAH and sentinelsat not working anymore, and sending an email afterwards.

@ninsbl
Copy link
Member

ninsbl commented Aug 21, 2024

I am moreover for merging this, update the manual with a notice about COAH and sentinelsat not working anymore, and sending an email afterwards.

No objections from my side...

@wenzeslaus
Copy link
Member

Please wait for OSGeo/grass#4205 to be merged, then restart the failing job.

@veroandreo veroandreo merged commit 8f99872 into OSGeo:grass8 Aug 21, 2024
7 checks passed
@HamedElgizery HamedElgizery deleted the i_sentinel_download branch August 21, 2024 16:24
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.

7 participants