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

Fix issues with numpy integration by replacing np.math.atan2 with np.… #520

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

thekester
Copy link
Contributor

Description

This pull request fixes the issue with numpy integration by replacing np.math.atan2 with np.arctan2.

Changes Made

  • Replaced np.math.atan2 with np.arctan2 in SDS_preprocess.py.
  • Addressed the DeprecationWarning: np.math is a deprecated alias for the standard library math module (Deprecated in Numpy 1.25).

Related Issue

Closes #515

@kvos
Copy link
Owner

kvos commented Jul 26, 2024

great, thanks @thekester for another fix.

@kvos kvos merged commit a0311b7 into kvos:master Jul 26, 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

Successfully merging this pull request may close these issues.

SDS_preprocess reference shoreline numpy error
2 participants