equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
109 stars 56 forks source link

FIX: Allow non-default XYZ names on roxar export for xyz #1182

Closed tnatt closed 4 months ago

tnatt commented 4 months ago

PR with bugfix to allow having other xyz column names than the xtgeo defaults for points and polygons. Also added a check that the xyz name attributes are present in the dataframe before trying to do the export in case users only updates the dataframe columns and forget to update the corresponding xyz name attributes.

codecov-commenter commented 4 months ago

Codecov Report

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

Comparison is base (0ec42fb) 80.02% compared to head (1ff1b60) 80.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1182 +/- ## ======================================= Coverage 80.02% 80.02% ======================================= Files 98 98 Lines 13680 13680 Branches 2197 2197 ======================================= Hits 10947 10947 Misses 2002 2002 Partials 731 731 ```

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