def _markitzero(recarray, inds):
    lnames = [n.lower() for n in recarray.dtype.names]
    for idx in inds:
        if (idx in lnames):
            recarray[idx] -= 1
subtracts 1 from columns specified in inds argument, to convert from 1 to 0-based indexing
dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfsfr2.py/_markitzero