Numpy extension for finding the first element in an 1D array fullfilling a given condition
copied from cf-staging / py-find-1stpyfind1st is a numpy extension that allows to find the first index into an 1D-array that validates a boolean condition that can consist of a comparison operator and a limit value.