-
Notifications
You must be signed in to change notification settings - Fork 8
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
suppress progress status in esgfetchtables when output is not to a terminal #66
Comments
How did you redirect the output of the
It seems to be terminal-dependent. |
What do you see if you inspect your I didn't try |
Actually, using |
This issue is related to the untested pull request and part of the next release. To be close when release cut. |
When
esgfetchtables
output is redirected to a file, the file contains a mess such as:(etc...)
It would be better to clean that up by suppressing this and instead just report (for each branch) one line indicating the total files, after fetching is complete. For example:
Behaviour to be controlled by
sys.stdout.isatty()
.The text was updated successfully, but these errors were encountered: