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
110 stars 56 forks source link

Support BytesIO/StringIO for `ijxyz` formatted RegularSurface() files #1081

Closed jcrivenaes closed 8 months ago

jcrivenaes commented 9 months ago

Seem that the fformat="ijxyz" format does not support bytestream objects, e.g. see current tests https://github.com/equinor/xtgeo/blob/main/tests/test_surface/test_file_io.py

This format is important for Auto4D when reading data from OSDU servers