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

Tri to quads 02 #161

Merged
merged 22 commits into from
Jun 28, 2024
Merged

Tri to quads 02 #161

merged 22 commits into from
Jun 28, 2024

Conversation

felicio93
Copy link
Collaborator

functions added:
calc_el_angles(msht), for calculating the internal angles of each element (tri and quads)
order_mesh(msht_: returns the reordered mesh (counterclockwise)
quads_from_tri(msht): creates quads from triangular mesh

The tests for these new functions are under the new class: TritoQuad

The Functional errors were coming from the new geopandas: https://geopandas.org/en/stable/docs/changelog.html
that does not support shapely<2.0.0. Thus, the unary_union method is no longer supported (if I understood it correctly).
I changed the .toml to "geopandas<=0.14.4"
we might have to come up with a better solution later

@felicio93
Copy link
Collaborator Author

@SorooshMani-NOAA,

Finally passed all tests. Merging...

@felicio93 felicio93 merged commit 20a27cd into noaa-ocs-modeling:main Jun 28, 2024
9 of 10 checks passed
@felicio93 felicio93 deleted the tri_to_quads_01 branch July 1, 2024 17:26
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