bp / resqpy

Python API for working with RESQML models
https://resqpy.readthedocs.io/en/latest/
MIT License
51 stars 14 forks source link

adding optional filtering out of NaN points in Surface.from_tri_mesh() #776

Closed andy-beer closed 5 months ago

andy-beer commented 5 months ago

This patch adds an optional argument, _excludenans (default False), to the Surface.from_tri_mesh() class method. When True, any NaN points in the tri mesh will be filtered out, along with any triangles using those points.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ef1d5d7) 81.62% compared to head (d99d0ed) 81.63%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #776 +/- ## ========================================== + Coverage 81.62% 81.63% +0.01% ========================================== Files 190 190 Lines 32886 32906 +20 ========================================== + Hits 26842 26862 +20 Misses 6044 6044 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.