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.coverage: update module to be compatible with the i.sentinel.download EODAG migration #1192

Draft
wants to merge 2 commits into
base: grass8
Choose a base branch
from

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
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?
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

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