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 57 forks source link

ENH: Give more informative file format errors #1165

Closed mferrera closed 7 months ago

mferrera commented 7 months ago

Resolves #706

This will list some potential file formats, which are not complete in their file extensions permutations but should be sufficient enough to give a hint as to what kind of required.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (33652a2) 80.08% compared to head (b51d79e) 80.06%.

Files Patch % Lines
src/xtgeo/well/_well_aux.py 25.00% 2 Missing and 1 partial :warning:
src/xtgeo/grid3d/_grid_import.py 60.00% 2 Missing :warning:
src/xtgeo/grid3d/grid_property.py 33.33% 2 Missing :warning:
src/xtgeo/surface/regular_surface.py 33.33% 2 Missing :warning:
src/xtgeo/xyz/points.py 33.33% 2 Missing :warning:
src/xtgeo/xyz/polygons.py 33.33% 2 Missing :warning:
src/xtgeo/io/_file.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1165 +/- ## ========================================== - Coverage 80.08% 80.06% -0.02% ========================================== Files 97 97 Lines 13612 13634 +22 Branches 2186 2187 +1 ========================================== + Hits 10901 10916 +15 - Misses 1981 1988 +7 Partials 730 730 ```

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