-
Notifications
You must be signed in to change notification settings - Fork 76
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
Fix problems associated with np.complex_
removal at numpy 2.0
#1342
Comments
With the merging of #1315,
I'll take a quick look at this tomorrow. |
This is curious. This is tengentially related to #1343. |
Ok, it seems to be a problem with the |
Ok so the problem happens here:
When printing out the ping time indices for And when printing out the original ping time indices for That being the case, the reindex errors out since there's a comparison between integers and datetime objects being doing within that function. The reason that the remove background noise test passes is because the ping time index for the mock Sv DataArray is consisting of integers and not datetime objects:
|
Problem described above is #1332 |
Related to #1353, we should only be using |
This was fixed via merging of #1350. No other calls of |
I am still getting this problem on open_raw: AttributeError: ed = ep.open_raw( |
The latest branch of Echopype on Github doesn't have this np.complex_ check anymore. I think pip installing from the latest branch should work. Pip installing from 0.8.4 which is the default distribution on PyPi will not work since it still has this np.complex_ check. We're also planning on releasing 0.9.0 to PyPi soon with this fix (and a lot of other changes). |
comment for pip installing from main github branch: #1370 (comment) the echopype conda-forge distribution will also be updated soon to have this fix |
Error when checking subdtype at parse_base
Here's is one instance of the error message:
https://github.com/OSOceanAcoustics/echopype/actions/runs/9558726670/job/26347885285#step:12:17945
The text was updated successfully, but these errors were encountered: