resqpy.olio.box_utilities.string_iijjkk1_for_box_kji0

resqpy.olio.box_utilities.string_iijjkk1_for_box_kji0(box_kji0)[source]

Returns a string representing the box space in simulator protocol, eg. ‘[1:5, 3:20, 100:103]’.

input argument (unmodified):
box_kji0: numpy int array of shape (2, 3)

lower & upper indices in 3 dimensions defining a logical cuboid subset of a 3D cartesian grid with python kji ordering and zero start for indices

returns: string

human readable representation of box in Fortran/simulator ijk protocol starting 1