Closed jcrivenaes closed 7 months ago
>>> import xtgeo >>> s = xtgeo.gridproperty_from_file("reek_sim_facies2.roff") >>> s GridProperty (id=140359173716816) ncol=40, nrow=64, nlay=14, filesrc=PosixPath('reek_sim_facies2.roff') >>> s.to_file("xxx.roffasc", fformat="roff_ascii") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/jan/work/git/xtg/xtgeo/src/xtgeo/grid3d/grid_property.py", line 1067, in to_file _gridprop_export.to_file( File "/home/jan/work/git/xtg/xtgeo/src/xtgeo/grid3d/_gridprop_export.py", line 54, in to_file _export_roff(gridprop, xtg_file.name, name, binary, append=append) File "/home/jan/work/git/xtg/xtgeo/src/xtgeo/grid3d/_gridprop_export.py", line 95, in _export_roff roff.to_file(pfile, roffio.Format.BINARY if binary else roffio.format.ASCII)