-
Notifications
You must be signed in to change notification settings - Fork 152
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.coverage: update module to be compatible with the i.sentinel.download EODAG migration #1192
base: grass8
Are you sure you want to change the base?
i.sentinel.coverage: update module to be compatible with the i.sentinel.download EODAG migration #1192
Conversation
d81fe50
to
838fd92
Compare
quiet=True, | ||
) | ||
columns_dict = grass.parse_command("v.info", map=temp_overlay, flags="c") | ||
drop_columns = [ | ||
col.split("|")[1] | ||
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? |
There was a problem hiding this comment.
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
008ac5b
to
75e0f92
Compare
Hello @veroandreo, sorry for the late follow up here. 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) |
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.