resqpy.olio.simple_lines.read_lines¶
- resqpy.olio.simple_lines.read_lines(filename)[source]¶
Returns a list of line arrays, read from ascii file.
- argument:
filename (string): the path of the ascii file holding a set of poly-lines
- Returns
list of numpy arrays, each array representing one poly-line
Notes
each line in the file must contain 3 floating point numbers: x, y, z; each poly-line must be terminated with a null marker line: 999.0 999.0 999.0 there is no handling of units; elsewhere they will implicitly be assumed to be those of a crs for a grid object