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

Reduce Logging of System Warning Messages #3

Open
Florian-Katerndahl opened this issue Jan 10, 2025 · 0 comments
Open

Reduce Logging of System Warning Messages #3

Florian-Katerndahl opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Florian-Katerndahl
Copy link
Owner

Currently, notifications from the USGS are reported three times. See below for an example.

report_usgs_messages(ee_session.notifications("EE").data)
report_usgs_messages(ee_session.notifications("M2M").data)
report_usgs_messages(
ee_session.dataset_messages("EE", dataset_name=args.product).data
)

This can become a bit excessive for longer messages, parttially because messages are duplicated. It's probably fine/better to remove the non-dataset specific call to the notifications endpoint, when system parameter is "EE".

@Florian-Katerndahl Florian-Katerndahl added the enhancement New feature or request label Jan 10, 2025
@Florian-Katerndahl Florian-Katerndahl self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant