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

added functions for cleaning RiverMapper invalid geoms #177

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

felicio93
Copy link
Collaborator

The problem and solution are explained here

The following functions are added:
validate_poly
find_polyneighbors
validate_RMmesh
triangulate_rivermapper_poly

the previous triangulate_rivermapper_poly function was renamed to triangulate_poly

@felicio93
Copy link
Collaborator Author

felicio93 commented Dec 19, 2024

@SorooshMani-NOAA, this PR took a few attempts because as you might remember the GitHub Actions workflows using v3 were deprecated earlier this month. So, I had to update all the workflows to use v4.

The Pylint check also seem to have been updated. Our Pylint score went down (failed), apparently because now ourtoo-many-positional-arguments functions are being flagged. It will require a lot of work to refactor all the OCSMesh functions flagged. For now I just updated the pylint run to be: pylint --disable=too-many-positional-arguments ocsmesh

@felicio93 felicio93 merged commit 695aefd into noaa-ocs-modeling:main Dec 19, 2024
9 checks passed
@felicio93 felicio93 deleted the RiverMapper_Fix branch December 19, 2024 21:58
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.

1 participant