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

DeprecationWarning in analyze.py #310

Open
douglatornell opened this issue Dec 8, 2024 · 0 comments
Open

DeprecationWarning in analyze.py #310

douglatornell opened this issue Dec 8, 2024 · 0 comments
Assignees
Labels
maintenance Codebase maintenance
Milestone

Comments

@douglatornell
Copy link
Member

Log message:

tests/test_analyze.py: 17 warnings
  /media/doug/warehouse/MEOPAR/SalishSeaNowcast/nowcast/analyze.py:452: 
  DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions 
  in `scipy.integrate`.
    integral = np.trapz(var, x=de, axis=depth_axis)
@douglatornell douglatornell added the maintenance Codebase maintenance label Dec 8, 2024
@douglatornell douglatornell added this to the v24.2 milestone Dec 8, 2024
@douglatornell douglatornell modified the milestones: v24.2, v25.1 Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Codebase maintenance
Projects
None yet
Development

No branches or pull requests

1 participant