Skip to content

Conversation

@HamedElgizery
Copy link
Contributor

As of the i.sentinel.download migration to the EODAG API, multiple changes are needed to make i.sentinel.coverage compatible. The main problem was because the key referring to the scenes' files names are changed from identifier to title

This PR will also fix the example of using the name option, by omitting the clouds option, and by removing the exclusivity relation between the names and the producttype options.

@HamedElgizery HamedElgizery force-pushed the sentinel_coverage_download_comp branch from d81fe50 to 838fd92 Compare August 27, 2024 23:29
for col in columns_dict
if col.split("|")[1] not in ["cat", "identifier"]
if col.split("|")[1]
not in ["cat", "title"] # What does cat refer to here?
Copy link
Contributor

Choose a reason for hiding this comment

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

cat is the geometry identifier in GRASS vector maps, so, like the id in other formats

@HamedElgizery HamedElgizery marked this pull request as ready for review October 12, 2024 14:50
@HamedElgizery HamedElgizery force-pushed the sentinel_coverage_download_comp branch from 008ac5b to 75e0f92 Compare October 12, 2024 14:53
@HamedElgizery
Copy link
Contributor Author

Hello @veroandreo, sorry for the late follow up here.
I have updated the manual page and the i.sentinel.coverage and it works fine as far as I have tested.

There have been a problem with EODAG < 3.0.0... The results of searching wasn't consistent, as if you were to do the same searching query twice, the resulting scenes could vary, and that was causing troubles with i.sentinel.coverage. But, it is fixed now with EODAG 3, and the module works fine now.

I will add a check to make sure that the version of EODAG installed is > 3.0.0 here. (and within i.sentinel.download in another PR)

@veroandreo veroandreo requested a review from griembauer October 15, 2024 14:48
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.

2 participants