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

Missing get_sweep_keys from xradar #1553

Open
waarmond opened this issue Apr 10, 2024 · 6 comments
Open

Missing get_sweep_keys from xradar #1553

waarmond opened this issue Apr 10, 2024 · 6 comments

Comments

@waarmond
Copy link

waarmond commented Apr 10, 2024

  • Py-ART version: git master
  • Python version: 3.10
  • Operating System: Linux from scratch
  • xradar: 0.53.0

Description

ImportError: cannot import name 'get_sweep_keys' from 'xradar.util' (/usr/lib/python3.10/site-packages/xradar/util.py)

What I Did

import pyart

Introduced by openradar/xradar#164 ?

@zssherman
Copy link
Collaborator

@waarmond get_sweep_keys was added fairly recently to xradar. Your xradar is 0.5.0 on your system? My guess was maybe an outdated xradar.

Wait I see you mention 0.5.0 above.

Hmm, will have to look into it

@waarmond
Copy link
Author

waarmond commented Apr 10, 2024

@zssherman My error. I've had started the python instance before updating xradar.

@mgrover1
Copy link
Collaborator

@waarmond - is it working with the updated version?

@mgrover1
Copy link
Collaborator

@zssherman - I noticed in the pyart feedstock, the xradar version was out of sync with the requirements file - I just put in a PR to release a new build with the updated spec

conda-forge/arm_pyart-feedstock#91

this should resolve related issues to versions being out of sync

@zssherman
Copy link
Collaborator

@mgrover1 Sounds good, thanks!

@mgrover1
Copy link
Collaborator

@waarmond - following up here, is it working?

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

3 participants