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

Resolve Warnings about intialization of xcube plugin #1000

Open
TejasMorbagal opened this issue Jun 5, 2024 · 2 comments
Open

Resolve Warnings about intialization of xcube plugin #1000

TejasMorbagal opened this issue Jun 5, 2024 · 2 comments
Assignees

Comments

@TejasMorbagal
Copy link
Contributor

TejasMorbagal commented Jun 5, 2024

Describe the bug

Warnings about intialization of xcube plugin

To Reproduce
Steps to reproduce the behavior:

from xcube.core.store import new_data_store
store = new_data_store("ccizarr")

Expected behavior
No ugly warning when new_data_store is called.

Additional context

UserWarning: Initializing xcube plugin 'xcube_cmems' took 116 ms, consider code optimization.
 (For example, avoid eager import of packages, consider lazy loading of resources, etc.)
  warnings.warn(
@forman
Copy link
Member

forman commented Jun 5, 2024

And have you considered code optimization? ;-)

@TejasMorbagal
Copy link
Contributor Author

No not yet. I can take up this task next week.

@TejasMorbagal TejasMorbagal self-assigned this Jun 5, 2024
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

2 participants