Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem you would like to solve.
The earth2studio run APIs are quite nice, but a bit too noisy for use in pipelines since they have progress bars and their own colorized logging. A couple of suggestions.
- Add option to turn off the progress bar
- If stdout is not a TTY (
os.isatty) then disable the progress bar by default.
- I would also consider deferring to the users
logging settings. It seems like loguru is basically a frontend to standard python logging. I think it would be familiar to users to just use python logging, and let them control the appearance.
Overall, I think the current output looks nice, but since earth2studio is a library, I think it should be less opinionated about what gets printed to console, since application developers may want control over that.
Thanks for considering.
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem you would like to solve.
The earth2studio run APIs are quite nice, but a bit too noisy for use in pipelines since they have progress bars and their own colorized logging. A couple of suggestions.
os.isatty) then disable the progress bar by default.loggingsettings. It seems like loguru is basically a frontend to standard pythonlogging. I think it would be familiar to users to just use python logging, and let them control the appearance.Overall, I think the current output looks nice, but since earth2studio is a library, I think it should be less opinionated about what gets printed to console, since application developers may want control over that.
Thanks for considering.