ResInsight icon indicating copy to clipboard operation
ResInsight copied to clipboard

Allow for comma separated data in surface .dat files

Open lasserenli opened this issue 1 year ago • 2 comments

Resinsight is currently crashing when trying to import surface .dat files with comma separated data whereas it works fine when replacing the commas with space. Would be beneficial if both options are supported

lasserenli avatar Mar 05 '24 07:03 lasserenli

Do you have a sample file that crashes?

jonjenssen avatar Mar 05 '24 10:03 jonjenssen

The .dat (OpenWorks XYZ file format) file importer only supports space separated values in the current implementation. Adding support for other separators will require some refactoring of the current code.

A fix for resinsight crashing has been added. Now, an error message will be given if resinsight is unable to read any valid points from the surface file.

jonjenssen avatar Mar 12 '24 11:03 jonjenssen