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.eodag: remove experimental tool warning #1245

Open
wants to merge 1 commit into
base: grass8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/imagery/i.eodag/i.eodag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1323,13 +1323,6 @@ def main():


if __name__ == "__main__":
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can add this after the try except block to force the usage of EODAG 3:

if int(eodag.__version__.split(".")[0]) < 3:
    gs.fatal(
        _(
            "eodag 3.0.0 or higher is required. eodag {} was found.".format(
                eodag.__version__
            )
        )
    )

Not sure if there is a different format for these type of error messages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ninsbl what do you think?

gs.warning(_("Experimental Version..."))
gs.warning(
_(
"This module is still under development, \
and its behaviour is not guaranteed to be reliable"
)
)
options, flags = gs.parser()

try:
Expand Down