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

Don't warn when overriding environment variable with identical value #14

Open
gerritholl opened this issue Jan 21, 2021 · 0 comments
Open

Comments

@gerritholl
Copy link
Collaborator

In my ATOVS_ENV8 I have DIR_DATA_TLE set to /data/pytroll/IN/TLE. In aapp-processing.yaml I have in_tle set to the same. Yet there is a warning logged to stderr:

[WARNING: 2021-01-21 08:44:42 : aapp_runner.tle_satpos_prepare] Override the env variable set in AAPP_ENV DIR_DATA_TLE from /data/pytroll/IN/TLE to /data/pytroll/IN/TLE.

This warning is not useful. Although the warning doesn't harm further processing, warnings that aren't useful are still noise that makes other warnings less prominently visible. It would be better if aapp-runner did not warn that it is changing the value of an environment variable when it's not true.

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

No branches or pull requests

1 participant