Unable to use metpy.io.Level2File #3289
-
This single line produces the error "TypeError: Struct() takes at most 1 argument (3 given)":
I am running MetPy 1.5.2. I also cannot get the Unidata radar code samples or the MetPy Mondays 140 to work because they halt on this line as well. I am not fully up to speed on Python and am working strictly with examples, but when the examples fail it gets pretty confusing. I have searched around for this error but I can't figure it out. Complete code sample and error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is an issue with MetPy + Python 3.12, and will be fixed in our imminent 1.6 release in the next week or two. In the mean time, running MetPy in an environment with |
Beta Was this translation helpful? Give feedback.
This is an issue with MetPy + Python 3.12, and will be fixed in our imminent 1.6 release in the next week or two. In the mean time, running MetPy in an environment with
"python<3.12"
should work fine! Let us know if that's not the case.